コード例 #1
0
 public function __construct()
 {
     global $wgMaxUploadSize;
     UnlistedSpecialPage::UnlistedSpecialPage('ImageUploadHandler');
     $this->executeAsSpecialPage = false;
     $this->maxFilesize = $wgMaxUploadSize;
 }
コード例 #2
0
ファイル: AdminEditInfo.body.php プロジェクト: ErdemA/wikihow
 public function __construct()
 {
     global $wgTitle;
     $this->specialPage = $wgTitle->getPartialUrl();
     $this->editDescs = $this->specialPage == 'AdminEditMetaInfo';
     UnlistedSpecialPage::UnlistedSpecialPage($this->specialPage);
 }
コード例 #3
0
 function __construct()
 {
     UnlistedSpecialPage::UnlistedSpecialPage('TitusQueryTool');
     $this->language = "";
     $this->languageInfo = Misc::getActiveLanguageNames();
     $GLOBALS['wgHooks']['ShowSideBar'][] = array('TitusQueryTool::removeSideBarCallback');
 }
コード例 #4
0
 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);
 }
コード例 #5
0
ファイル: Html5editor.body.php プロジェクト: ErdemA/wikihow
 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;
     }
 }
コード例 #6
0
ファイル: RateArticle.body.php プロジェクト: ErdemA/wikihow
 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';
 }
コード例 #7
0
ファイル: WelcomeWagon.body.php プロジェクト: ErdemA/wikihow
 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");
 }
コード例 #8
0
ファイル: Categorizer.body.php プロジェクト: ErdemA/wikihow
 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;
 }
コード例 #9
0
 function __construct()
 {
     UnlistedSpecialPage::UnlistedSpecialPage('NewHowtoArticles');
 }
コード例 #10
0
ファイル: Babelfish.body.php プロジェクト: ErdemA/wikihow
 function __construct()
 {
     UnlistedSpecialPage::UnlistedSpecialPage('Babelfish');
 }
コード例 #11
0
 function ViewManagerLogo()
 {
     UnlistedSpecialPage::UnlistedSpecialPage("ViewManagerLogo");
 }
コード例 #12
0
ファイル: StatsList.body.php プロジェクト: ErdemA/wikihow
 function __construct()
 {
     UnlistedSpecialPage::UnlistedSpecialPage('StatsList');
 }
コード例 #13
0
ファイル: UserTalkTool.body.php プロジェクト: ErdemA/wikihow
 function __construct()
 {
     UnlistedSpecialPage::UnlistedSpecialPage('UserTalkTool');
 }
コード例 #14
0
ファイル: Standings.body.php プロジェクト: ErdemA/wikihow
 function __construct()
 {
     UnlistedSpecialPage::UnlistedSpecialPage('Standings');
 }
コード例 #15
0
ファイル: Points.body.php プロジェクト: ErdemA/wikihow
 function __construct()
 {
     UnlistedSpecialPage::UnlistedSpecialPage('Points');
 }
コード例 #16
0
ファイル: feedAction.php プロジェクト: schwarer2006/wikia
 function FeedAction()
 {
     UnlistedSpecialPage::UnlistedSpecialPage("FeedAction");
 }
コード例 #17
0
ファイル: EditFinder.body.php プロジェクト: ErdemA/wikihow
 function __construct()
 {
     global $wgHooks;
     UnlistedSpecialPage::UnlistedSpecialPage('EditFinder');
     $wgHooks['getToolStatus'][] = array('Misc::defineAsTool');
 }
コード例 #18
0
 function __construct()
 {
     UnlistedSpecialPage::UnlistedSpecialPage('ConciergeAdmin');
 }
コード例 #19
0
 function __construct()
 {
     UnlistedSpecialPage::UnlistedSpecialPage('ThumbsEmailNotifications');
 }
コード例 #20
0
 public function __construct()
 {
     $this->specialPage = 'AdminConfigEditor';
     UnlistedSpecialPage::UnlistedSpecialPage($this->specialPage);
 }
コード例 #21
0
 public function __construct()
 {
     global $wgTitle;
     $this->specialPage = $wgTitle->getPartialUrl();
     UnlistedSpecialPage::UnlistedSpecialPage($this->specialPage);
 }
コード例 #22
0
ファイル: PageStatCheck.body.php プロジェクト: ErdemA/wikihow
 public function __construct()
 {
     UnlistedSpecialPage::UnlistedSpecialPage('PageStatCheck');
 }
コード例 #23
0
ファイル: Unguard.body.php プロジェクト: ErdemA/wikihow
 function __construct()
 {
     UnlistedSpecialPage::UnlistedSpecialPage('Unguard');
 }
コード例 #24
0
 public function __construct()
 {
     UnlistedSpecialPage::UnlistedSpecialPage('Findimages');
 }
コード例 #25
0
 function PocketDiff()
 {
     UnlistedSpecialPage::UnlistedSpecialPage('PocketDiff');
 }
コード例 #26
0
ファイル: ImageFeedback.body.php プロジェクト: ErdemA/wikihow
 function __construct()
 {
     UnlistedSpecialPage::UnlistedSpecialPage('ImageFeedback');
 }
コード例 #27
0
ファイル: Alien.body.php プロジェクト: ErdemA/wikihow
 public function __construct()
 {
     $this->startTime = microtime(true);
     UnlistedSpecialPage::UnlistedSpecialPage('Alien');
 }
コード例 #28
0
ファイル: ProxyConnect.body.php プロジェクト: ErdemA/wikihow
 function __construct()
 {
     UnlistedSpecialPage::UnlistedSpecialPage('ProxyConnect');
 }
コード例 #29
0
ファイル: GPlusLogin.body.php プロジェクト: ErdemA/wikihow
 function __construct($source = null)
 {
     UnlistedSpecialPage::UnlistedSpecialPage('GPlusLogin');
 }
コード例 #30
0
ファイル: TPCoachAdmin.body.php プロジェクト: ErdemA/wikihow
 function __construct()
 {
     UnlistedSpecialPage::UnlistedSpecialPage('TPCoachAdmin');
 }