https://bugzilla.wikimedia.org/show_bug.cgi?id=57760
MWJames <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #21 from MWJames <[email protected]> --- (In reply to comment #17) > The problem for MW 1.22 is that in previous versions $wgScriptPath was > already > set with the customized path which allowed [1] to be set correctly. > Apparently > in 1.22 this not the case $wgScriptPath contains the standard "/wiki" at the > time [0] is loaded resulting $smwgScriptPath containing "/wiki" rather than > the > expected path from $wgScriptPath. > > [0] SemanticMediaWiki.settings.php > > [1] $GLOBALS['smwgScriptPath'] = ( $GLOBALS['wgExtensionAssetsPath'] === > false > ? $GLOBALS['wgScriptPath'] . '/extensions' : > $GLOBALS['wgExtensionAssetsPath'] > ) . '/SemanticMediaWiki'; Travis-CI [1] shows a failing unit test [2] only when MW (master/1.23) is installed via Composer. testSemanticMediaWikiScriptPath tests above smwgScriptPath/wgScriptPath setting which is causing [3] due to wrongful assignment of /wiki as part of the $smwgScriptPath. [1] https://github.com/SemanticMediaWiki/SemanticMediaWiki/pull/39 [2] https://github.com/SemanticMediaWiki/SemanticMediaWiki/blob/42d45ed81f3c554740124b6be5dd7cc488e55e3d/tests/phpunit/system/InstallationSettingsTest.php [3] http://localhost/wiki/extensions/SemanticMediaWiki/resources/images/smw_button.png -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
