Last modified: 2014-06-29 20:46:53 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 T66649, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 64649 - 'Add link' function in Wikipedia creates items with wrong language code
'Add link' function in Wikipedia creates items with wrong language code
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
WikidataClient (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Wikidata bugs
u=dev c=frontend p=0
: need-volunteer
Depends on: 41723
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-30 09:48 UTC by pascal.leimer
Modified: 2014-06-29 20:46 UTC (History)
9 users (show)

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


Attachments

Description pascal.leimer 2014-04-30 09:48:19 UTC
If a new item is created with the 'Add links' function in Wikipedia, labels are set with language codes equal project prefix.
e.g. item is created with sitelink to simple.wikipedia.org -> label is set for language 'simple'.
Comment 1 Nemo 2014-05-01 08:20:59 UTC
WikidataClient should not *try* to add such a label, but WikidataRepo should reject them anyway (bug 37459); marking as dependent.
Comment 2 Marius Hoch 2014-05-03 22:43:11 UTC
A site's real language (eg. simple isn't a language) should be added to the sites table and then be propagated to JS (via PHP). With that information, this bug could be fixed.

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


Navigation
Links