wiki.techinc.nl/includes/ResourceLoader
Jon Robson 15622ea09a resourceloader: Modern ES6 code should be forced to target mobile
First step towards constraining how the targets system can be used
with the eventual goal of dismantling target system altogether.

As part of the many modernization efforts in place, we should
be targeting mobile experiences by default. For now I am
targeting only modules that are writing ES6 code for desktop
only. In future this should be expanded to modules using
packageFiles and modules targetting mobile only.

The implication of this change is that any ES6 module that has
not specified targets, will now automatically load on mobile site.

In the case of the 3 depends-on there doesn't seem to be any
problem with targeting mobile as the way these modules are
loaded is restricted based on context.

We will log warnings to inform us where modules disobey this
rule.

Bug: T323542
Depends-On: I2e31ba2bd2aea192f428531f6c92afa551448fef
Change-Id: Iff6bfbba406dec5b8c8be644dbf21ee3b3879fda
2022-11-30 20:34:49 +00:00
..
dependencystore Use short array destructuring instead of list() 2022-10-21 15:33:37 +11:00
Hook tests: Remove intermediary suites concept from /tests/qunit 2022-07-13 01:52:57 +00:00
CircularDependencyError.php
ClientHtml.php Merge "Use short array destructuring instead of list()" 2022-10-21 11:11:06 +00:00
CodexModule.php resourceloader: Minor doc changes following PSR-4 namepace change 2022-05-29 16:41:19 +00:00
Context.php Various doc fixes about false and null on method arguments/return types 2022-11-03 18:55:47 +01:00
DerivativeContext.php Revert "Reorg: Move some of request related classes to MediaWiki/Request" 2022-10-27 13:14:16 +00:00
FileModule.php resourceloader: Modern ES6 code should be forced to target mobile 2022-11-30 20:34:49 +00:00
FilePath.php resourceloader: Improve internal type hints in FileModule class 2022-05-29 16:41:09 +00:00
ForeignApiModule.php
ForeignResourceManager.php Reorg: Move ForeignResourceManager to ResourceLoader directory 2022-11-08 10:54:17 +01:00
HookRunner.php
Image.php Respond to some messages from Phan on PHP 8.1 2022-11-03 16:25:43 +11:00
ImageModule.php Remove unused key variable from foreach loops 2022-09-21 21:18:43 +02:00
LanguageDataModule.php
LessVarFileModule.php Migrate use of ${var}-style string interpolation 2022-07-29 02:45:09 +02:00
MessageBlobStore.php ResourceLoader: Clean up PHP 7.2 hacks 2022-11-17 09:51:33 +00:00
Module.php Don’t track build statistics for unnamed modules 2022-11-02 13:45:10 +01:00
MwUrlModule.php
OOUIFileModule.php
OOUIIconPackModule.php
OOUIImageModule.php
OOUIModule.php Use short array destructuring instead of list() 2022-10-21 15:33:37 +11:00
ResourceLoader.php ResourceLoader: Clean up PHP 7.2 hacks 2022-11-17 09:51:33 +00:00
SiteModule.php
SiteStylesModule.php
SkinModule.php Use short array destructuring instead of list() 2022-10-21 15:33:37 +11:00
StartUpModule.php Revert "Reorg: Move some of request related classes to MediaWiki/Request" 2022-10-27 13:14:16 +00:00
UserModule.php ResourceLoader: Remove support for UserModule "excludepage" parameter 2022-06-26 22:58:13 +00:00
UserOptionsModule.php
UserStylesModule.php ResourceLoader: Remove support for UserModule "excludepage" parameter 2022-06-26 22:58:13 +00:00
VueComponentParser.php Respond to some messages from Phan on PHP 8.1 2022-11-03 16:25:43 +11:00
WikiModule.php WikiModule::getStyles() - simplify foreach loop 2022-06-22 01:26:45 +00:00