Last modified: 2014-10-15 12:24:37 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T46945, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 44945 - Database name vs. language code when undeleting items
Database name vs. language code when undeleting items
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
master
All All
: Low normal (vote)
: ---
Assigned To: Wikidata bugs
: need-volunteer, testme
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-13 11:18 UTC by Lydia Pintscher
Modified: 2014-10-15 12:24 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Lydia Pintscher 2013-02-13 11:18:41 UTC
"While attempting to undelete a page I deleted earlier as a duplicate, I returned an error, listing the links which were duplicated. However, they were in the form [[Enwiki:Page]] rather than [[En:Page]], resulting in the links being broken."

(Reported at http://www.wikidata.org/wiki/Wikidata:Contact_the_development_team#Database_name_vs._language_code initially)
Comment 1 jeblad 2013-02-13 12:21:54 UTC
This needs clearification; exactly which page was undeleted?
Comment 2 Daniel Kinzler 2013-02-15 09:57:52 UTC
I suppose whenever we try to put a sitelink into a wikitext message, we are using the global ID as a prefix, which currently doesn't work.

I think we should simply define the global IDs as valid interwiki prefixes on wikidata.
Comment 3 Krinkle 2013-02-15 10:03:17 UTC
(In reply to comment #2)
> I think we should simply define the global IDs as valid interwiki prefixes on
> wikidata.

That doesn't sound like a maintainable method (unless WikidataRepo will create new interwikis if it needs to).

Afaik wikiids can be mapped to sites and to interwiki prefixes, but it isn't guaranteed that every wikiid has an interwiki prefix (maybe indirectly, but certainly not directly, e.g. wikt:de).

It probably makes sense to simply output external links instead, afaik the wikiids can come up with the url pattern of the site in question, right?
Comment 4 Hazard-SJ 2013-02-16 19:34:46 UTC
One example is [[d:Q574288]], but it works for basically any item which has a sitelink used on an existing item.

See also: https://translatewiki.net/wiki/Thread:Support/MediaWiki:Wikibase-error-sitelink-already-used/en

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links