I recieve the following error on my browser's console when opening https://wikidata.beta.wmflabs.org/wiki/Q371142 and most interactive components on beta cluster's Wikidata are broken.
Description
Details
- Request URL
- https://test.wikidata.org/w/load.php?debug=true&lang=en-gb&modules=mw.config.values.wbRepo&only=scripts&skin=vector&version=3vboq
OutOfBoundsException from line 60 of /srv/mediawiki/php-1.35.0-wmf.40/extensions/Wikibase/lib/includes/SettingsArray.php: Attempt to get non-existing setting "repoScriptPath"
Backtrace:
#0 /srv/mediawiki/php-1.35.0-wmf.40/extensions/Wikibase/lib/includes/Modules/RepoAccessModule.php(39): Wikibase\Lib\SettingsArray->getSetting(string)
#1 /srv/mediawiki/php-1.35.0-wmf.40/includes/resourceloader/ResourceLoaderModule.php(717): Wikibase\Lib\Modules\RepoAccessModule->getScript(ResourceLoaderContext)
#2 /srv/mediawiki/php-1.35.0-wmf.40/includes/resourceloader/ResourceLoaderModule.php(685): ResourceLoaderModule->buildContent(ResourceLoaderContext)
#3 /srv/mediawiki/php-1.35.0-wmf.40/includes/resourceloader/ResourceLoader.php(1191): ResourceLoaderModule->getModuleContent(ResourceLoaderContext)
#4 /srv/mediawiki/php-1.35.0-wmf.40/includes/resourceloader/ResourceLoader.php(899): ResourceLoader->makeModuleResponse(ResourceLoaderContext, array, array)
#5 /srv/mediawiki/php-1.35.0-wmf.40/load.php(51): ResourceLoader->respond(ResourceLoaderContext)
#6 /srv/mediawiki/php-1.35.0-wmf.40/load.php(38): wfLoadMain()
#7 /srv/mediawiki/w/load.php(3): require(string)
#8 {main}
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | Release | • mmodell | T256668 1.35.0-wmf.40 deployment blockers | ||
| Resolved | PRODUCTION ERROR | Lucas_Werkmeister_WMDE | T257296 Beta cluster wikidata fails to load scripts with "OutOfBoundsException from line 60 of /srv/mediawiki/php-master/extensions/Wikibase/lib/includes/SettingsArray.php: Attempt to get non-existing setting "repoScriptPath" | ||
| Resolved | Lucas_Werkmeister_WMDE | T257334 Remove \Wikibase\Lib\Settings |
Event Timeline
@Majavah could not reproduce - is there something specific that should be done to trigger the error?
For unblocking wmf.40, I believe the best option is to revert I193008a732, though I hope we’ll find a proper fix for the master branch (and wmf.41 – or will that be wmf.1 of the next release?).
Change 610005 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: Lucas Werkmeister (WMDE)):
[mediawiki/extensions/Wikibase@master] Revert "Don’t load $wgWBClientSettings in WikibaseClient.php"
Change 610086 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: Lucas Werkmeister (WMDE)):
[mediawiki/extensions/Wikibase@wmf/1.35.0-wmf.40] Revert "Don’t load $wgWBClientSettings in WikibaseClient.php"
Change 610005 abandoned by Lucas Werkmeister (WMDE):
[mediawiki/extensions/Wikibase@master] Revert "Don’t load $wgWBClientSettings in WikibaseClient.php"
Reason:
We’d like to revert this only on wmf.40, and find a better fix for the master branch. (But if we don’t manage to do that, this revert can be unabandoned and merged for wmf.41.)
Change 610086 merged by Lucas Werkmeister (WMDE):
[mediawiki/extensions/Wikibase@wmf/1.35.0-wmf.40] Revert "Don’t load $wgWBClientSettings in WikibaseClient.php"
Mentioned in SAL (#wikimedia-operations) [2020-07-07T16:40:43Z] <lucaswerkmeister-wmde@deploy1001> Synchronized php-1.35.0-wmf.40/extensions/Wikibase: Backport: [[gerrit:610086|Revert "Don’t load $wgWBClientSettings in WikibaseClient.php" (T257296)]] (duration: 01m 10s)
Should be fixed now, though the broken module may linger in caches for a little bit (I’m not sure how long).
Moving as a blocker for next week since the issue has been fixed on wmf.40 but not on wmf.41