wiki.techinc.nl/includes/resourceloader
Timo Tijhof 526c6a4172 resourceloader: Fix remote bash path at document root passed into SkinModule
For any other module, the document root would get processed only
once, but for SkinModule the internal paths would be for the skin
directory, and the path for core ends up processed once.

Once in SkinModule::getStyleFiles via extractBasePaths(), which turns
a document root (wgScript=wgResourceBasePath="") empty string into
a slash (as it should). And then again later by FilePath::getRemotePath
when it is time to perform background image remapping.

The hybrid approach of SkinModule hasn't really been supported or
tested for in this case, but it hasn't been an issue for most installs
because the paths naturally don't end up ambiguous, except for
document root installs. This is likely not the last we've seen of
this, but for now it seems feasible to try to make FilePath
responsible for handling this when it is encountered .

Bug: T284391
Change-Id: I6f5f232bd6da6c655246a5e678a5600889cd78aa
2021-06-08 23:18:22 -07:00
..
dependencystore resourceloader: Avoid primary connection in SqlModuleDependencyStore (2) 2021-05-26 22:41:16 +00:00
Hook
DerivativeResourceLoaderContext.php resourceloader: Add internal handling for debug=2 2021-01-29 01:09:35 +00:00
HookRunner.php
MessageBlobStore.php resourceloader: Fail gracefully if a LESS message is not found 2021-01-07 15:41:02 -08:00
ResourceLoader.php Use ::class for class name 2021-04-08 21:17:42 +02:00
ResourceLoaderCircularDependencyError.php
ResourceLoaderClientHtml.php
ResourceLoaderContext.php resourceloader: Mark ResourceLoaderContext::encodeJson() as stable 2021-02-19 03:37:53 +00:00
ResourceLoaderFileModule.php Installer: Do not use mediawiki.skinning.interface module 2021-04-15 11:11:32 -07:00
ResourceLoaderFilePath.php resourceloader: Fix remote bash path at document root passed into SkinModule 2021-06-08 23:18:22 -07:00
ResourceLoaderForeignApiModule.php Add baseline MW REST API client for frontend 2020-12-09 23:05:15 +00:00
ResourceLoaderImage.php resourceloader: Add wikimedia/minify package and remove local copies 2021-02-24 21:03:02 +00:00
ResourceLoaderImageModule.php resourceloader: Add wikimedia/minify package and remove local copies 2021-02-24 21:03:02 +00:00
ResourceLoaderLanguageDataModule.php
ResourceLoaderLessVarFileModule.php resourceloader: Correctly handle a null getMessageBlob() in SkinModule 2021-04-15 01:55:05 +01:00
ResourceLoaderModule.php resourceloader: Allow modules to mark themselves as ES6-only 2021-03-04 14:53:36 -05:00
ResourceLoaderMwUrlModule.php
ResourceLoaderOOUIFileModule.php
ResourceLoaderOOUIIconPackModule.php
ResourceLoaderOOUIImageModule.php Use static closures where safe to use 2021-02-11 00:13:52 +00:00
ResourceLoaderOOUIModule.php
ResourceLoaderSiteModule.php
ResourceLoaderSiteStylesModule.php
ResourceLoaderSkinModule.php ResourceLoaderSkinModule: Deprecated feature keys should be mapped 2021-06-02 17:37:49 +00:00
ResourceLoaderStartUpModule.php resourceloader: Replace mw.log debug monkey-patch with code subst 2021-04-20 02:13:00 +01:00
ResourceLoaderUserDefaultsModule.php resourceloader: Avoid User::getDefaultOptions in UserDefaultsModule 2021-01-30 01:15:28 +00:00
ResourceLoaderUserModule.php Merge "Update a lot of unspecific "array" types in PHPDocs" 2020-11-13 21:48:24 +00:00
ResourceLoaderUserOptionsModule.php Hard deprecate User ::isIP, ::getOptions 2021-04-26 16:10:24 +00:00
ResourceLoaderUserStylesModule.php Merge "Update a lot of unspecific "array" types in PHPDocs" 2020-11-13 21:48:24 +00:00
ResourceLoaderWikiModule.php resourceloader: Remove Title from public interfaces 2021-05-13 10:06:30 +02:00
VueComponentParser.php