/** * Show notification on Wall in Monobook * * @author grunny */ function SiteWideMessagesWallMessage(&$greetingText) { global $wgTitle, $wgUser; if ($wgTitle->getNamespace() == NS_USER_WALL && $wgUser->getTitleKey() == $wgTitle->getPartialURL() && !$wgUser->isAllowed('bot') && !F::app()->checkSkin('oasis')) { $greetingText = SiteWideMessagesGetUserMessagesContent() . $greetingText; } return true; }
/** * Show notification (in Monobook) * * @author grunny */ function SiteWideMessagesSiteNoticeAfter(&$siteNotice) { global $wgUser; wfProfileIn(__METHOD__); if (!F::app()->checkSkin('oasis') && !$wgUser->isAnon() && !$wgUser->isAllowed('bot')) { $siteNotice .= SiteWideMessagesGetUserMessagesContent(); } wfProfileOut(__METHOD__); return true; }