function __construct() { global $wgHooks; SpecialPage::SpecialPage('RCPatrol'); $wgHooks['OutputPageBeforeHTML'][] = array('RCPatrol::postParserCallback'); $wgHooks['getToolStatus'][] = array('Misc::defineAsTool'); }
function __construct() { global $wgMessageCache; SpecialPage::SpecialPage(self::specialPageName, '', false); $this->title = Title::makeTitle(NS_SPECIAL, self::specialPageName); $wgMessageCache->addMessages(self::$messages); }
function DSMWGeneralExhibits() { if (defined('SRF_VERSION')) { SpecialPage::SpecialPage('DSMWGeneralExhibits'); } wfLoadExtensionMessages('DSMW'); }
function __construct() { global $wgHooks, $wgParser, $egSuperGalleryTag; SpecialPage::SpecialPage('SuperGallery', 'sysop', true, false, false, false); # Add the tagHook $wgParser->setHook($egSuperGalleryTag, array($this, 'tagSupergallery')); }
public function __construct() { // Initialize special page SpecialPage::SpecialPage('Drafts'); // Internationalization wfLoadExtensionMessages('Drafts'); }
function __construct() { global $wgIFI_ValidDomains, $wgIFI_UseAjax, $wgIFI_AjaxDomain; SpecialPage::SpecialPage('ImportFreeImages'); if ($wgIFI_UseAjax) { $wgIFI_ValidDomains[$wgIFI_AjaxDomain] = 1; } }
function EmailMe() { global $wgEmailMeAddress; SpecialPage::SpecialPage("EmailMe", '', true, 'efRunEmailMe'); wfLoadExtensionMessages('EmailMe'); $this->mAddress = $wgEmailMeAddress; return true; }
public function __construct() { SpecialPage::SpecialPage(TWITTER_REPLIER_NAME); $this->TweetModel = new TweetModel(); $this->TwitterAuthModel = new TwitterAuthModel(); $this->SearchCategoryModel = new SearchCategoryModel(); TwitterReplierTemplate::set_path(dirname(__FILE__) . '/templates'); }
function DSMWAdmin() { global $wgHooks, $wgSpecialPages, $wgWatchingMessages; # Add all our needed hooks $wgHooks["SkinTemplateTabs"][] = $this; SpecialPage::SpecialPage('DSMWAdmin'); // avec block => pages speciales restreintes wfLoadExtensionMessages('DSMW'); }
function MV_SpecialSearch() { global $wgOut, $wgRequest; mvfAddHTMLHeader('search'); $MvSpecialSearch = new MV_SpecialMediaSearch(); $MvSpecialSearch->doSearch($wgRequest->getVal('search')); $wgOut->addHTML($MvSpecialSearch->getResultsHTML()); SpecialPage::SpecialPage('Search'); }
function SpecialPagesManagerUpdater() { SpecialPage::SpecialPage("SpecialPagesManagerUpdater", 'siteupdate'); self::loadMessages(); if (self::$instance === null) { self::$instance = $this; } return self::$instance; }
function AnyWikiDraw() { SpecialPage::SpecialPage("AnyWikiDraw"); self::loadMessages(); $this->mUploadDescription = ''; $this->mLicense = ''; $this->mUploadCopyStatus = ''; $this->mUploadSource = ''; $this->mWatchthis = false; }
function AnyWikiDraw() { SpecialPage::SpecialPage("AnyWikiDraw"); wfLoadExtensionMessages('AnyWikiDraw'); $this->mUploadDescription = ''; $this->mLicense = ''; $this->mUploadCopyStatus = ''; $this->mUploadSource = ''; $this->mWatchthis = false; }
public function __construct() { global $wgWikiFeedsSettings; $this->_settings = $wgWikiFeedsSettings; SpecialPage::SpecialPage('WikiFeeds'); //we automatically prune the cache randomly if ($this->_settings['cacheEnable']) { if (rand(1, $this->_settings['cachePruneFactor']) === 1) { $this->_cachePrune(); } } }
function ManualSitemapPage() { SpecialPage::SpecialPage('ManualSitemap', 'ManualSitemap'); //$wgGroupPermissions['sysop']['DeleteOldRevisions'] = true; global $wgRequest; $request =& $wgRequest; $file_name = $request->getText('wpFileName'); if ($file_name) { $this->file_name = $file_name; } $change_freq = $request->getCheck('wpChangeFreq'); if ($change_freq) { $this->estimate_change_freq = $change_freq; } $priority = $request->getText('wpPriorityType'); if ($priority) { $this->article_priorities = $priority; } $sorting_criterion = $request->getText('wpSortCriterion'); if ($sorting_criterion) { $this->sorting_criterion = $sorting_criterion; } }
function WikidAdmin() { SpecialPage::SpecialPage('WikidAdmin', 'sysop', true, false, false, false); }
function __construct() { SpecialPage::SpecialPage('Sitemap'); }
function SpecialReview() { SpecialPage::SpecialPage('Review'); $this->includable(true); wfReviewExtensionInitMessages(); }
function IncludableSpecialPage($name, $restriction = '', $listed = true, $function = false, $file = 'default') { SpecialPage::SpecialPage($name, $restriction, $listed, $function, $file, true); }
function AuthFacebook() { SpecialPage::SpecialPage("AuthFacebook"); }
function UserMerge() { SpecialPage::SpecialPage("UserMerge", "usermerge"); }
function __construct() { self::loadMessages(); SpecialPage::SpecialPage('WhiteList', 'restricttowhitelist'); }
function __construct() { SpecialPage::SpecialPage('Recentchangeslinked'); $this->includable(true); }
/** * Constructor */ function __construct() { global $wgOut; SpecialPage::SpecialPage('CategoryTree', '', true); wfLoadExtensionMessages('CategoryTree'); }
function Wikify() { SpecialPage::SpecialPage("Wikify"); }
function __construct() { SpecialPage::SpecialPage('AuthorEmailNotification'); }
function __construct() { SpecialPage::SpecialPage('ProfileBadges'); }
function __construct() { SpecialPage::SpecialPage('Republish'); }
function __construct() { global $wgHooks; SpecialPage::SpecialPage("MethodEditor"); $wgHooks['getToolStatus'][] = array('Misc::defineAsTool'); }
function __construct() { SpecialPage::SpecialPage('EmailLink'); }