Topic on Talk:Wikibase

Article is still linked to a deleted item

Till Kraemer (talkcontribs)

Hello, I have a weird issue on my wikibase repository where some old items are suddenly wikitext, so trying to edit them gives me errors like '"wikitext" content is not allowed on page Q18155 in slot "Main"'.

I'm too scared to alter the database by hand so I just wanted to delete these faulty items. However, the associated link to the item doesn't go away in the language versions, so I can't link to those articles in a new item, resulting in errors like "The link... is already used by Item Q18155.", even though that item has been already deleted.

Is there by any chance a script available that deattaches the link from an article to a deleted wikibase item? Thanks, cheers and all the best!

Till Kraemer (talkcontribs)

Redirecting the old item to the new item via Special:RedirectEntity and then deleting the old item seems to solve this issue. Cheers and all the best!