Jdlrobson has uploaded a new change for review.
https://gerrit.wikimedia.org/r/73879
Change subject: Avoid adding duplicate styles on watchlist and nearby
......................................................................
Avoid adding duplicate styles on watchlist and nearby
Make pagelist css a global style
Change-Id: If51e36286b0a650eed2988e0911fb0224c5c47e9
---
M includes/Resources.php
1 file changed, 1 insertion(+), 12 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend
refs/changes/79/73879/1
diff --git a/includes/Resources.php b/includes/Resources.php
index 69cbe47..3994163 100644
--- a/includes/Resources.php
+++ b/includes/Resources.php
@@ -107,6 +107,7 @@
'stylesheets/common/mf-typography.css',
'stylesheets/common/mf-footer.css',
'stylesheets/modules/mf-toggle.css',
+ 'stylesheets/common/pagelist.css',
// FIXME: move to module mobile.stable.styles for some
reason it breaks RTL when in that module
'stylesheets/common/mf-navigation.css',
'stylesheets/common/overlays.css',
@@ -367,9 +368,6 @@
),
'mobile.stable.styles' => $wgMFMobileResourceBoilerplate + array(
- 'dependencies' => array(
- 'mobile.pagelist.styles',
- ),
'styles' => array(
'stylesheets/common/common-js.css',
'stylesheets/modules/languages.css',
@@ -454,12 +452,6 @@
'mobile-frontend-language-header',
'mobile-frontend-language-site-choose',
'mobile-frontend-language-footer',
- ),
- ),
-
- 'mobile.pagelist.styles' => $wgMFMobileResourceBoilerplate + array(
- 'styles' => array(
- 'stylesheets/common/pagelist.css',
),
),
@@ -593,7 +585,6 @@
'mobile.nearby.styles' => $wgMFMobileResourceBoilerplate + array(
'styles' => array(
- 'stylesheets/specials/watchlist.css',
'stylesheets/specials/nearby.css',
),
),
@@ -604,7 +595,6 @@
'mobile.nearby.styles',
'mobile.nearby.plumbing',
'jquery.json',
- 'mobile.pagelist.styles',
),
'messages' => array(
// NearbyApi.js
@@ -660,7 +650,6 @@
),
'mobile.watchlist.styles' => $wgMFMobileSpecialPageResourceBoilerplate
+ array(
'styles' => array(
- 'stylesheets/common/pagelist.css',
'stylesheets/specials/watchlist.css',
),
),
--
To view, visit https://gerrit.wikimedia.org/r/73879
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: If51e36286b0a650eed2988e0911fb0224c5c47e9
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits