/** * Returns an array of modules related to the current context of the page. * @return array */ public function getContextSpecificModules() { $modules = parent::getContextSpecificModules(); if ($this->getCategoryLinks(false)) { $modules[] = 'mobile.categories'; } return $modules; }
/** * Returns an array of modules related to the current context of the page. * @return array */ public function getContextSpecificModules() { $modules = parent::getContextSpecificModules(); $title = $this->getTitle(); if (($this->isTalkAllowed() || $title->isTalkPage()) && $this->isWikiTextTalkPage()) { $modules[] = 'mobile.talk'; } return $modules; }
/** * Returns an array of modules related to the current context of the page. * @return array */ public function getContextSpecificModules() { $modules = parent::getContextSpecificModules(); if ($this->getCategoryLinks(false)) { $modules[] = 'skins.minerva.categories'; } // TalkOverlay feature if ($this->isUserPage) { $modules[] = 'skins.minerva.talk'; } return $modules; }