hashar added subscribers: Addshore, aude.
hashar added a comment.

The mediawiki/extensions/Wikidata PHP entry point has:

  // Jenkins stuff part1
  if ( PHP_SAPI === 'cli' && strpos( getenv( 'JOB_NAME' ), 
'mwext-Wikidata-testextension' ) !== false ) { 
      // in future, run as non-experimental
      if ( !defined( 'WB_EXPERIMENTAL_FEATURES' ) || !WB_EXPERIMENTAL_FEATURES 
) {
          define( 'WB_EXPERIMENTAL_FEATURES', true );
      }
  
      $wmgUseWikibaseRepo = true;
      $wmgUseWikibaseClient = true;
  }

So that is only run when the Jenkins job is `mwext-Wikidata-testextension`.  
Changes for ContentTranslation triggers `mwext-testextension-zend` hence the 
Wikidata loader code is skipped.   I suspect that skips the Wikidata client 
resource loader registration leading to the failure.

I do not understand why it pass on the `master` branch though :-(


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

Reply via email to