Page MenuHomePhabricator

Cannot add a Wikidata sitelink [2019-03-27]
Closed, ResolvedPublicBUG REPORT


The Wikidata site opens, but I'm not able to add a sitelink.

And there's another Hebrew Wikipedia user who complained about it.

I click the "Edit" button in the sitelinks list at , and the line for typing the language code doesn't appear.

I don't see any JavaScript errors.

And if I try to use the "Add link" tool on the Wikipedia article, then nothing happens when I type a language code.

On the Telegram channel several people think it's an "Unbreak now" issue.

Event Timeline

While testing for this I noticed that when I click "edit" and then "cancel" twice on the sitelinks for any item with existing sitelinks (like Q42), all language codes displayed turn into aa, and all links point to (even though the links are in the Wikipedia section). No idea if it's related or not though.

Same problem. A couple of users reported the same issues at IRC.

Addition of links not possible. Reproducible. Screenshot:

Sin título.png (454×563 px, 14 KB)

Problem reported by @jhsoby at T219452#5063851. Reproducible as well. All links turn to display aa after hitting Cancel (on Wikibooks links, that is; I cannot get Wikidata to let me add any link to any other project).

MarcoAurelio triaged this task as Unbreak Now! priority.Mar 27 2019, 9:55 PM
MarcoAurelio changed the subtype of this task from "Task" to "Bug Report".

Same problem here. At - try to add a sitelink, and you're not given the boxes to add the link to

It still seems to be possible to add a sitelink through pywikibot (e.g., ) - so this seems to be an interface issue.

It sounds like this started happening after today’s 1.33.0-wmf.23 deployment, so added to T206677: 1.33.0-wmf.23 deployment blockers (though I’m not sure if that makes sense – it’s not like there’s a larger Wikidata in group2 that we need to prevent this being rolled out to). But there were also some Wikidata changes by @Smalyshev, so CCing him just in case, though they look unrelated to this.

Also adding to the campsite board for them to look at tomorrow (UBN tasks are critical enough to bypass Wikidata-Campsite, I assume).

Since this seems to be an interface issue, users familiar with QuickStatements could try using that tool to work around the issue for now.

I don't think I did any changes to Wikidata related to sitelinks in any way... Could be wrong of course but nothing comes to mind.

Problem on Wikidata started at or before 22:01, 27 March 2019. When did the 1.33.0-wmf.23 deployment begin?

wikidata got its version bump at roughly:

19:18 dduvall@deploy1001: Synchronized php: group1 wikis to 1.33.0-wmf.23 (duration: 01m 45s)
19:27 marxarelli: (resent; originally @ 1916) dduvall@deploy1001 rebuilt and synchronized wikiversions files: group1 wikis to 1.33.0-wmf.23

This ticket was reported in the next few hours: Wed, Mar 27, 21:13

So there is a high chance of them being related

Change 499732 had a related patch set uploaded (by Addshore; owner: Addshore):
[mediawiki/extensions/Wikibase@master] Revert "Use enableModuleContentVersion() for Wikibase\lib\SitesModule"

Change 499738 had a related patch set uploaded (by Addshore; owner: Addshore):
[mediawiki/extensions/Wikibase@wmf/1.33.0-wmf.23] Revert "Use enableModuleContentVersion() for Wikibase\lib\SitesModule"

Change 499738 merged by Addshore:
[mediawiki/extensions/Wikibase@wmf/1.33.0-wmf.23] Revert "Use enableModuleContentVersion() for Wikibase\lib\SitesModule"

Mentioned in SAL (#wikimedia-operations) [2019-03-28T10:15:46Z] <addshore@deploy1001> Synchronized php-1.33.0-wmf.23/extensions/Wikibase/lib: T219452 [[gerrit:499738|Revert: Use enableModuleContentVersion() for Wikibase\lib\SitesModule]] (duration: 01m 06s)

I would imediatly suspect of the things that have changed in the past week

ended up being that change .. resolved by reverting it on wmf/1.33.0-wmf.23

The issue should now be solved. Feel free to try again adding sitelinks and let us know if you encounter further problems.
Thanks Adam and Alaa for fixing it quickly!

Change 499732 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Revert "Use enableModuleContentVersion() for Wikibase\lib\SitesModule"