hashar added a comment. That fix need to be backported to wmf branches:
commit 62b9e9a64f6bdf75b12f0332109f2585c1e97702 Author: WikidataBuilder <[email protected]> Date: Tue Aug 18 15:11:33 2015 +0000 New Wikidata Build - 2015-08-18T15:11:20+0000 Change-Id: I554e48f10216deb673596089d6cf66640e63339e diff --git a/Wikidata.php b/Wikidata.php index 1179742..7aede33 100644 --- a/Wikidata.php +++ b/Wikidata.php @@ -4,7 +4,7 @@ } // Jenkins stuff part1 -if ( PHP_SAPI === 'cli' && strpos( getenv( 'JOB_NAME' ), 'mwext-Wikidata-testextension' ) !== false ) { +if ( isset( $wgWikimediaJenkinsCI ) && $wgWikimediaJenkinsCI == true ) { // in future, run as non-experimental if ( !defined( 'WB_EXPERIMENTAL_FEATURES' ) || !WB_EXPERIMENTAL_FEATURES ) { define( 'WB_EXPERIMENTAL_FEATURES', true ); @@ -72,7 +72,7 @@ ); // Jenkins stuff part2 -if ( PHP_SAPI === 'cli' && strpos( getenv( 'JOB_NAME' ), 'mwext-Wikidata-testextension' ) !== false ) { +if ( isset( $wgWikimediaJenkinsCI ) && $wgWikimediaJenkinsCI == true ) { //Jenkins always loads both so no need to check if they are loaded before getting settings require_once __DIR__ . '/extensions/Wikibase/repo/ExampleSettings.php'; require_once __DIR__ . '/extensions/Wikibase/client/ExampleSettings.php'; TASK DETAIL https://phabricator.wikimedia.org/T110518 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: hashar Cc: aude, Addshore, JanZerebecki, Legoktm, Amire80, hashar, Nikerabbit, Aklapper, KartikMistry, Ixocactus, Wikidata-bugs, Ricordisamoa, Jsahleen, Arrbee, greg, Malyacko _______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
