jenkins-bot has submitted this change and it was merged.

Change subject: Hygiene: Kill no longer cached ResourceLoader modules
......................................................................


Hygiene: Kill no longer cached ResourceLoader modules

Change-Id: I2eb53d8c99119a16a27e777f33a6967039f43c37
---
M includes/Resources.php
1 file changed, 4 insertions(+), 51 deletions(-)

Approvals:
  Florianschmidtwelzow: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/Resources.php b/includes/Resources.php
index 2d870ad..dad4e7b 100644
--- a/includes/Resources.php
+++ b/includes/Resources.php
@@ -357,7 +357,7 @@
                'dependencies' => array(
                        'mobile.startup',
                        'mobile.loggingSchemas',
-                       'mobile.toggling',
+                       'mobile.toggle',
                ),
                'scripts' => array(
                        'resources/mobile.toc/TableOfContents.js',
@@ -398,7 +398,7 @@
        'mobile.backtotop' => $wgMFResourceFileModuleBoilerplate + array(
                'dependencies' => array(
                        'mobile.startup',
-                       'mobile.toggling',
+                       'mobile.toggle',
                ),
                'scripts' => array(
                        'resources/mobile.backtotop/BackToTopOverlay.js',
@@ -482,25 +482,6 @@
                ),
                'scripts' => array(
                        'resources/mobile.user/user.js',
-               ),
-       ),
-
-       // FIXME: Remove when cache clears (1.26wmf23)
-       'mobile.editor' => $wgMFResourceFileModuleBoilerplate + array(
-               'dependencies' => array(
-                       'skins.minerva.editor',
-               ),
-       ),
-       // FIXME: Remove when cache clears (1.26wmf23)
-       'mobile.browse' => array(
-               'dependencies' => array(
-                       'skins.minerva.browse',
-               ),
-       ),
-       // FIXME: Remove when cache clears (1.26wmf23)
-       'mobile.toggling' => $wgMFResourceFileModuleBoilerplate + array(
-               'dependencies' => array(
-                       'skins.minerva.toggling',
                ),
        ),
 
@@ -1009,13 +990,6 @@
                        'mobile-frontend-watchlist-removed',
                        'mobile-frontend-watchlist-cta',
                        'mobile-frontend-watchlist-please-wait',
-               ),
-       ),
-
-       // FIXME: Remove when cache clears. (1.26wmf23)
-       'mobile.watchstar.init' => array(
-               'dependencies' => array(
-                       'skins.minerva.watchstar',
                ),
        ),
 
@@ -1553,7 +1527,7 @@
        'skins.minerva.browse' => array(),
        'skins.minerva.newusers' => $wgMFResourceFileModuleBoilerplate + array(
                'dependencies' => array(
-                       'mobile.editor',
+                       'skins.minerva.editor',
                        'mobile.contentOverlays',
                        'mobile.loggingSchemas',
                ),
@@ -1627,8 +1601,6 @@
                        'mobile-frontend-talk-add-overlay-submit',
                        'mobile-frontend-editor-licensing',
                        'mobile-frontend-editor-licensing-with-terms',
-                       // FIXME: Remove after cache is cleared (1.26wmf23)
-                       'talk',
                ),
        ),
 
@@ -1700,12 +1672,6 @@
                        'resources/skins.minerva.tablet.scripts/toc.js',
                ),
        ),
-       // Remove when cache clears
-       'tablet.scripts' => array(
-               'dependencies' => array(
-                       'skins.minerva.tablet.scripts',
-               ),
-       ),
 );
 
 $wgResourceModules = array_merge( $wgResourceModules,
@@ -1722,17 +1688,4 @@
        ),
 );
 
-$wgResourceModuleSkinStyles['minerva'] = $wgMFResourceBoilerplate + array(
-       'mediawiki.notification' => '',
-       'mediawiki.page.gallery.styles' => array(
-               'resources/skins.minerva.content.styles/galleries.less',
-       ),
-       'mediawiki.sectionAnchor' => array(
-               'resources/skins.minerva.content.styles/sectionAnchor.less',
-       ),
-       'mediawiki.skinning.content.parsoid' => array(),
-       'mobile.special.userprofile.styles' => array(
-               'resources/mobile.special.userprofile.styles/minerva.less',
-       ),
-       'mobile.special.history.styles' => array(),
-);
+

-- 
To view, visit https://gerrit.wikimedia.org/r/244828
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I2eb53d8c99119a16a27e777f33a6967039f43c37
Gerrit-PatchSet: 6
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>
Gerrit-Reviewer: Florianschmidtwelzow <[email protected]>
Gerrit-Reviewer: Phuedx <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to