diff --git a/includes/skins/SkinMinerva.php b/includes/skins/SkinMinerva.php index dc456a5b3..b320f6bc5 100644 --- a/includes/skins/SkinMinerva.php +++ b/includes/skins/SkinMinerva.php @@ -1332,12 +1332,15 @@ class SkinMinerva extends SkinTemplate { $req = $this->getRequest(); $title = $this->getTitle(); + $isMFMobile = class_exists( 'MobileContext' ) && + MobileContext::singleton()->shouldDisplayMobileView(); + if ( !$title->isSpecialPage() ) { if ( $this->isAllowedPageAction( 'watch' ) ) { // Explicitly add the mobile watchstar code. $modules[] = 'skins.minerva.watchstar'; } - if ( $this->isCurrentPageContentModelEditable() ) { + if ( $isMFMobile && $this->isCurrentPageContentModelEditable() ) { $modules[] = 'skins.minerva.editor'; } }