hashar added a comment.

I fixed the Docker jobs so they capture LocalSettings.php AFTER build/jenkins/mw-apply-wb-settings.sh has been run. For the repo variant the tail of the file looks like:

...
wfLoadExtension( 'Elastica' );
wfLoadExtension( 'GeoData' );
require_once "$IP/extensions/Wikibase/Wikibase.php";


# End of automatically generated settings.
# Add more configuration options below.

$wgEnableWikibaseRepo = true;
$wgEnableWikibaseClient = true;
$wgWikimediaJenkinsCI = true;
$wmgUseWikibaseRepo = true;
$wmgUseWikibaseClient = true;
require_once __DIR__ . "/extensions/Wikibase/Wikibase.php";

The first require_once "$IP/extensions/Wikibase/Wikibase.php"; is done by the MediaWiki installer which is autodetecting extensions (via install.php --with-extensions).

There is no good way to inject configuration files before extensions get loaded. The way I have solved that in Quibble is to inject custom settings at the top of the file, instead of at the tail of it.


TASK DETAIL
https://phabricator.wikimedia.org/T188717

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: hashar
Cc: Agabi10, gerritbot, hashar, Pablo-WMDE, Addshore, WMDE-leszek, Legoktm, Aklapper, CucyNoiD, Nandana, NebulousIris, Gaboe420, A.S.Kochergin, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, God, Cpaulf30, Lahi, Gq86, Baloch007, Darkminds3113, Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, LawExplorer, Lewizho99, Maathavan, Liudvikas, Luke081515, Wikidata-bugs, aude, Mbch331, greg
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to