Hashar has uploaded a new change for review. https://gerrit.wikimedia.org/r/248894
Change subject: QUnit job autodetect wgResourceBasePath again ...................................................................... QUnit job autodetect wgResourceBasePath again With MediaWiki core https://gerrit.wikimedia.org/r/248321/ the installer now sets: $wgResourceBasePath = $wgScriptPath; The qunit jobs do not override that variable and it thus remains set to '/wiki' which causes some resources to not be reacheable when running the qunit jobs: 404: /wiki/extensions/Thanks/WhiteSmiley.png Update the prepare-localhost macro to reset $wgResourceBasePath = null; which causes MediaWiki to detect it. Update jobs: mediawiki-core-qunit mediawiki-extensions-qunit mwext-ContentTranslation-qunit mwext-MobileFrontend-qunit mwext-Thanks-qunit mwext-VisualEditor-qunit mwext-Wikibase-qunit mwext-WikibaseJavaScriptApi-qunit mwext-WikibaseQuality-qunit mwext-WikibaseQualityConstraints-qunit mwext-WikibaseQualityExternalValidation-qunit mwext-qunit mwext-qunit-composer mediawiki-selenium-integration mwext-mw-selenium Change-Id: I65049638e5845dc2409551d01b4dc8aff37a48fc --- M jjb/macro.yaml 1 file changed, 1 insertion(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/integration/config refs/changes/94/248894/1 diff --git a/jjb/macro.yaml b/jjb/macro.yaml index 2732f7c..85a416e 100644 --- a/jjb/macro.yaml +++ b/jjb/macro.yaml @@ -299,6 +299,7 @@ "<?php\n\$wgServer = '${MW_SERVER}';\n"\ "\$wgScriptPath = '${MW_SCRIPT_PATH}';\n"\ "\$wgScript = \$wgStylePath = \$wgLogo = false;\n"\ + "\$wgResourceBasePath = null;\n"\ "\$wgEnableJavaScriptTest = true;\n?>\n" >> "$MW_INSTALL_PATH/LocalSettings.php" # The location is free or we make it free -- To view, visit https://gerrit.wikimedia.org/r/248894 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I65049638e5845dc2409551d01b4dc8aff37a48fc Gerrit-PatchSet: 1 Gerrit-Project: integration/config Gerrit-Branch: master Gerrit-Owner: Hashar <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
