Last modified: 2014-05-21 20:44:08 UTC
vendor/data-values/data-types/js/resources.php on line 19 vendor/data-values/javascript/lib/resources.php on line 16 vendor/data-values/javascript/src/resources.php on line 16 vendor/data-values/javascript/src/valueFormatters/resources.php on line 15 vendor/data-values/javascript/src/valueParsers/resources.php on line 16 This is the result of duplicate code in these 5 files that explodes a path assuming a delimiter that contains "extensions". Since composer, the install path is no longer in the extensions directory, but in $vendorDir. Problem code: return call_user_func( function() { $remoteExtPathParts = explode( DIRECTORY_SEPARATOR . 'extensions' . DIRECTORY_SEPARATOR, __DIR__, 2 ); $moduleTemplate = array( 'localBasePath' => __DIR__, 'remoteExtPath' => $remoteExtPathParts[1], );
Note that this occurs only if Wikibase is installed with composer from the root dir composer.json. Then, Datavalues is installed in MW_INSTALL_PATH/vendor/... rather than MW_INSTALL_PATH/extensions/Wikibase/vendor/...