jenkins-bot has submitted this change and it was merged.
Change subject: Re-enable mobile.site module
......................................................................
Re-enable mobile.site module
Stop mobile.stable being dependent on it
Change-Id: I4cc415bb0ca45a9c3d86a19dd727a6fc9cef96f2
---
M includes/MobileFrontend.hooks.php
M includes/skins/SkinMobile.php
2 files changed, 1 insertion(+), 1 deletion(-)
Approvals:
awjrichards: Verified; Looks good to me, approved
jenkins-bot: Verified
diff --git a/includes/MobileFrontend.hooks.php
b/includes/MobileFrontend.hooks.php
index a91b770..61937a7 100644
--- a/includes/MobileFrontend.hooks.php
+++ b/includes/MobileFrontend.hooks.php
@@ -29,7 +29,6 @@
)
);
}
- $wgResourceModules['mobile.stable']['dependencies'][] =
'mobile.site';
return true;
}
diff --git a/includes/skins/SkinMobile.php b/includes/skins/SkinMobile.php
index 5e5c97d..f4c95ba 100644
--- a/includes/skins/SkinMobile.php
+++ b/includes/skins/SkinMobile.php
@@ -306,6 +306,7 @@
$out = $this->getOutput();
$title = $this->getTitle();
+ $out->addModules( 'mobile.site' );
$out->addModules( 'mobile.stable' );
$mode = 'stable';
if ( $inBeta ) {
--
To view, visit https://gerrit.wikimedia.org/r/63714
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I4cc415bb0ca45a9c3d86a19dd727a6fc9cef96f2
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>
Gerrit-Reviewer: MaxSem <[email protected]>
Gerrit-Reviewer: awjrichards <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits