public function __construct()
 {
     global $wgMaxUploadSize;
     UnlistedSpecialPage::UnlistedSpecialPage('ImageUploadHandler');
     $this->executeAsSpecialPage = false;
     $this->maxFilesize = $wgMaxUploadSize;
 }
 public function __construct()
 {
     global $wgTitle;
     $this->specialPage = $wgTitle->getPartialUrl();
     $this->editDescs = $this->specialPage == 'AdminEditMetaInfo';
     UnlistedSpecialPage::UnlistedSpecialPage($this->specialPage);
 }
 function __construct()
 {
     UnlistedSpecialPage::UnlistedSpecialPage('TitusQueryTool');
     $this->language = "";
     $this->languageInfo = Misc::getActiveLanguageNames();
     $GLOBALS['wgHooks']['ShowSideBar'][] = array('TitusQueryTool::removeSideBarCallback');
 }
 public function __construct()
 {
     UnlistedSpecialPage::UnlistedSpecialPage('BounceTimeLogger');
     //this page gets requested onUnload. set ignore_user_abort()
     //to make sure this script finishes executing even if the
     //client disconnects mid-way.
     ignore_user_abort(true);
 }
Exemple #5
0
 function __construct()
 {
     UnlistedSpecialPage::UnlistedSpecialPage('Html5editor');
     $this->mInterwiki = array();
     $dbr = wfGetDB(DB_SLAVE);
     $res = $dbr->select('interwiki', array('iw_prefix', 'iw_url'));
     while ($row = $dbr->fetchObject($res)) {
         $this->mInterwiki[$row->iw_prefix] = $row->iw_url;
     }
 }
Exemple #6
0
 function __construct()
 {
     global $wgMessageCache, $wgLogTypes, $wgLogNames, $wgLogHeaders, $wgHooks;
     UnlistedSpecialPage::UnlistedSpecialPage('RateArticle');
     $wgHooks['AfterArticleDisplayed'][] = array("RateArticle::showForm");
     $wgHooks['ArticleDelete'][] = array("RateArticle::clearRatingsOnDelete");
     $wgLogTypes[] = 'accuracy';
     $wgLogNames['accuracy'] = 'accuracylogpage';
     $wgLogHeaders['accuracy'] = 'accuracylogtext';
 }
Exemple #7
0
 public function __construct()
 {
     global $wgHooks;
     UnlistedSpecialPage::UnlistedSpecialPage('WelcomeWagon');
     $wgHooks['getToolStatus'][] = array('Misc::defineAsTool');
     $this->maxMessagesPerUser = 2;
     $this->maxSkipsPerUser = 3;
     //set up the cache variables
     $this->userIdsKey = wfMemcKey("welcomewagon_userids");
     $this->userMessagesKey = wfMemcKey("welcomewagon_usermessages");
     $this->userSkipsKey = wfMemcKey("welcomewagon_userskips");
     $this->cacheOk = wfMemcKey("welcomewagon_cacheok");
 }
Exemple #8
0
 function __construct()
 {
     global $wgUser, $wgHooks;
     UnlistedSpecialPage::UnlistedSpecialPage('Categorizer');
     $wgHooks['getToolStatus'][] = array('Misc::defineAsTool');
     $userId = $wgUser->getId();
     $this->pageIdsKey = wfMemcKey("cattool_pageids1");
     $this->inUseKey = wfMemcKey("cattool_inuse");
     $this->skippedKey = wfMemcKey("cattool_{$userId}_skipped");
     $this->noMoreArticlesKey = wfMemcKey("cattool_nomore1");
     $this->halfHour = 60 * 30;
     $this->oneHour = 60 * 60;
     $this->oneWeek = 60 * 60 * 24 * 7;
 }
 function __construct()
 {
     UnlistedSpecialPage::UnlistedSpecialPage('NewHowtoArticles');
 }
Exemple #10
0
 function __construct()
 {
     UnlistedSpecialPage::UnlistedSpecialPage('Babelfish');
 }
 function ViewManagerLogo()
 {
     UnlistedSpecialPage::UnlistedSpecialPage("ViewManagerLogo");
 }
Exemple #12
0
 function __construct()
 {
     UnlistedSpecialPage::UnlistedSpecialPage('StatsList');
 }
Exemple #13
0
 function __construct()
 {
     UnlistedSpecialPage::UnlistedSpecialPage('UserTalkTool');
 }
Exemple #14
0
 function __construct()
 {
     UnlistedSpecialPage::UnlistedSpecialPage('Standings');
 }
Exemple #15
0
 function __construct()
 {
     UnlistedSpecialPage::UnlistedSpecialPage('Points');
 }
Exemple #16
0
 function FeedAction()
 {
     UnlistedSpecialPage::UnlistedSpecialPage("FeedAction");
 }
Exemple #17
0
 function __construct()
 {
     global $wgHooks;
     UnlistedSpecialPage::UnlistedSpecialPage('EditFinder');
     $wgHooks['getToolStatus'][] = array('Misc::defineAsTool');
 }
 function __construct()
 {
     UnlistedSpecialPage::UnlistedSpecialPage('ConciergeAdmin');
 }
 function __construct()
 {
     UnlistedSpecialPage::UnlistedSpecialPage('ThumbsEmailNotifications');
 }
 public function __construct()
 {
     $this->specialPage = 'AdminConfigEditor';
     UnlistedSpecialPage::UnlistedSpecialPage($this->specialPage);
 }
 public function __construct()
 {
     global $wgTitle;
     $this->specialPage = $wgTitle->getPartialUrl();
     UnlistedSpecialPage::UnlistedSpecialPage($this->specialPage);
 }
Exemple #22
0
 public function __construct()
 {
     UnlistedSpecialPage::UnlistedSpecialPage('PageStatCheck');
 }
Exemple #23
0
 function __construct()
 {
     UnlistedSpecialPage::UnlistedSpecialPage('Unguard');
 }
 public function __construct()
 {
     UnlistedSpecialPage::UnlistedSpecialPage('Findimages');
 }
 function PocketDiff()
 {
     UnlistedSpecialPage::UnlistedSpecialPage('PocketDiff');
 }
Exemple #26
0
 function __construct()
 {
     UnlistedSpecialPage::UnlistedSpecialPage('ImageFeedback');
 }
Exemple #27
0
 public function __construct()
 {
     $this->startTime = microtime(true);
     UnlistedSpecialPage::UnlistedSpecialPage('Alien');
 }
Exemple #28
0
 function __construct()
 {
     UnlistedSpecialPage::UnlistedSpecialPage('ProxyConnect');
 }
Exemple #29
0
 function __construct($source = null)
 {
     UnlistedSpecialPage::UnlistedSpecialPage('GPlusLogin');
 }
Exemple #30
0
 function __construct()
 {
     UnlistedSpecialPage::UnlistedSpecialPage('TPCoachAdmin');
 }