Page MenuHomePhabricator

WikibaseClient resources are broken in WMF
Closed, ResolvedPublic

Description

on hewiki for example

Execute on console:

mw.loader.load('wikibase.client.getMwApiForRepo')

Result:

columnNumber: 205
fileName: "https://he.wikipedia.org/w/load.php?debug=false&lang=he&modules=jquery%2Cmediawiki%7Cmediawiki.legacy.wikibits&only=scripts&skin=vector&version=1b46sjy"
lineNumber: 159
message: "Unknown dependency: wikibase.api.getLocationAgnosticMwApi"
stack: "sortDependencies@https://he.wikipedia.org/w/load.php?debug=false&lang=he&modules=jquery%2Cmediawiki%7Cmediawiki.legacy.wikibits&only=scripts&skin=vector&version=1b46sjy:159:205\nsortDependencies@https://he.wikipedia.org/w/load.php?debug=false&lang=he&modules=jquery%2Cmediawiki%7Cmediawiki.legacy.wikibits&only=scripts&skin=vector&version=1b46sjy:160:35\nresolveStubbornly@https://he.wikipedia.org/w/load.php?debug=false&lang=he&modules=jquery%2Cmediawiki%7Cmediawiki.legacy.wikibits&only=scripts&skin=vector&version=1b46sjy:160:353\nload@https://he.wikipedia.org/w/load.php?debug=false&lang=he&modules=jquery%2Cmediawiki%7Cmediawiki.legacy.wikibits&only=scripts&skin=vector&version=1b46sjy:170:963\n@debugger eval code:1:1\n"

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
eranroz triaged this task as Unbreak Now! priority.Nov 16 2017, 6:55 PM
eranroz updated the task description. (Show Details)

Change 391883 had a related patch set uploaded (by Hoo man; owner: Hoo man):
[mediawiki/extensions/Wikibase@master] Load Wikibase API JavaScript on clients as well

https://gerrit.wikimedia.org/r/391883

This at least breaks the client link item widget, also probably user scripts.

Due to other problems right now, we can't backport the fix now… but we can probably do that tomorrow or early next week.

Change 391883 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Load Wikibase view on clients as well

https://gerrit.wikimedia.org/r/391883

@hoo does thisneed to be backported to .7 or .8?

This needs to be backported to .8 for the Wikidata build and Wikibase extension.

Change 392015 had a related patch set uploaded (by Addshore; owner: Hoo man):
[mediawiki/extensions/Wikibase@wmf/1.31.0-wmf.8] Load Wikibase view on clients as well

https://gerrit.wikimedia.org/r/392015

Change 392016 had a related patch set uploaded (by Addshore; owner: Addshore):
[mediawiki/extensions/Wikidata@wmf/1.31.0-wmf.8] Manually applied: Load Wikibase view on clients as well

https://gerrit.wikimedia.org/r/392016

So, the required backports are:

These should block further rollout of .8 to all wikis.

Change 392015 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@wmf/1.31.0-wmf.8] Load Wikibase view on clients as well

https://gerrit.wikimedia.org/r/392015

Change 392016 merged by jenkins-bot:
[mediawiki/extensions/Wikidata@wmf/1.31.0-wmf.8] Manually applied: Load Wikibase view on clients as well

https://gerrit.wikimedia.org/r/392016

Addshore claimed this task.

Backported to both Wikidata and Wikibase