Getting this warning 3 times, each time page loads. That because $wgScriptPath = ""; but this setting is recommended by Manual:Short_URL and http://shorturls.redwerks.org/
public static function transformResourcePath( Config $config, $path ) {
global $IP;
$remotePath = $config->get( 'ResourceBasePath' );
if ( strpos( $path, $remotePath ) !== 0 ) {
// Path is outside wgResourceBasePath, ignore.
return $path;
}
$path = RelPath\getRelativePath( $path, $remotePath );
return self::transformFilePath( $remotePath, $IP, $path );
}Link to exact string https://phabricator.wikimedia.org/diffusion/MW/browse/master/includes/OutputPage.php;41a15e0df33c404fd738c2dd39bb921d0a033a95$3874
$wgResourceBasePath is equal to $wgScriptPath
The only usage of transformResourcePath https://phabricator.wikimedia.org/diffusion/MW/browse/master/includes/resourceloader/ResourceLoaderSkinModule.php;41a15e0df33c404fd738c2dd39bb921d0a033a95$37