Page MenuHomePhabricator

Nonexistent Special:ItemByTitle links with slwiki as the site leads to another non-Wikimedia wiki
Closed, ResolvedPublic

Description

Author: the.anonymouse.wikimedia

Description:
If the following conditions are met on the Special:ItemByTitle:
*select slwiki as the selected site
*type the name of a page on slwiki that does not have an item on Wikidata
*click Search
The second link to slwiki will link to another random non-Wikimedia site.
For example, try https://www.wikidata.org/wiki/Special:ItemByTitle?site=slwiki&page=Srce+%28razločitev%29&submit=Search and click on the slwiki:Srce+(razločitev) link.

I'm assuming that slwiki is the interwiki code for that wiki.

This bug was first reported on the project chat [https://www.wikidata.org/w/index.php?title=Wikidata:Project_chat&oldid=67960663#Bug_on_Special:ItemByTitle.3F]


Version: unspecified
Severity: normal

Details

Reference
bz53666

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:12 AM
bzimport set Reference to bz53666.
bzimport added a subscriber: Unknown Object (MLST).

This is because the English version of the MediaWiki message "wikibase-itembytitle-create" shows a link based on the sitelink's dbName: it is not always registered as interwiki prefix, and it often doesn't have any relation with the actual sitelink.

E.g. the Italian version doesn't have it: https://www.wikidata.org/wiki/Special:ItemByTitle?site=slwiki&page=Srce+%28razlo%C4%8Ditev%29&uselang=it.

However, https://translatewiki.net/wiki/MediaWiki:Wikibase-itembytitle-create/en seems to be up-to-date/fixed, so let's wait for some l10n updates on Gerrit.

For another example, see https://www.wikidata.org/wiki/Special:ItemByTitle?site=itwiki&page=Srce+%28razlo%C4%8Ditev%29&uselang=en: "itwiki" is not a valid interwiki prefix at all, so the link is shown as red.

!!!!!!!!!!!!!!!!!!!!!!!!!!

Edit: I've deleted https://www.wikidata.org/wiki/MediaWiki:Wikibase-itembytitle-create, so the default version of the message appears: this bug is FIXED now.