当前位置: 首页>>代码示例>>PHP>>正文


PHP UnlistedSpecialPage::UnlistedSpecialPage方法代码示例

本文整理汇总了PHP中UnlistedSpecialPage::UnlistedSpecialPage方法的典型用法代码示例。如果您正苦于以下问题:PHP UnlistedSpecialPage::UnlistedSpecialPage方法的具体用法?PHP UnlistedSpecialPage::UnlistedSpecialPage怎么用?PHP UnlistedSpecialPage::UnlistedSpecialPage使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在UnlistedSpecialPage的用法示例。


在下文中一共展示了UnlistedSpecialPage::UnlistedSpecialPage方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: __construct

 public function __construct()
 {
     global $wgMaxUploadSize;
     UnlistedSpecialPage::UnlistedSpecialPage('ImageUploadHandler');
     $this->executeAsSpecialPage = false;
     $this->maxFilesize = $wgMaxUploadSize;
 }
开发者ID:ErdemA,项目名称:wikihow,代码行数:7,代码来源:ImageUploadHandler.class.php

示例2: __construct

 public function __construct()
 {
     global $wgTitle;
     $this->specialPage = $wgTitle->getPartialUrl();
     $this->editDescs = $this->specialPage == 'AdminEditMetaInfo';
     UnlistedSpecialPage::UnlistedSpecialPage($this->specialPage);
 }
开发者ID:ErdemA,项目名称:wikihow,代码行数:7,代码来源:AdminEditInfo.body.php

示例3: __construct

 function __construct()
 {
     UnlistedSpecialPage::UnlistedSpecialPage('TitusQueryTool');
     $this->language = "";
     $this->languageInfo = Misc::getActiveLanguageNames();
     $GLOBALS['wgHooks']['ShowSideBar'][] = array('TitusQueryTool::removeSideBarCallback');
 }
开发者ID:ErdemA,项目名称:wikihow,代码行数:7,代码来源:TitusQueryTool.body.php

示例4: __construct

 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);
 }
开发者ID:ErdemA,项目名称:wikihow,代码行数:8,代码来源:BounceTimeLogger.body.php

示例5: __construct

 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;
     }
 }
开发者ID:ErdemA,项目名称:wikihow,代码行数:10,代码来源:Html5editor.body.php

示例6: __construct

 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';
 }
开发者ID:ErdemA,项目名称:wikihow,代码行数:10,代码来源:RateArticle.body.php

示例7: __construct

 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");
 }
开发者ID:ErdemA,项目名称:wikihow,代码行数:13,代码来源:WelcomeWagon.body.php

示例8: __construct

 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;
 }
开发者ID:ErdemA,项目名称:wikihow,代码行数:14,代码来源:Categorizer.body.php

示例9: __construct

 function __construct()
 {
     UnlistedSpecialPage::UnlistedSpecialPage('NewHowtoArticles');
 }
开发者ID:ErdemA,项目名称:wikihow,代码行数:4,代码来源:NewHowtoArticles.body.php

示例10: ViewManagerLogo

 function ViewManagerLogo()
 {
     UnlistedSpecialPage::UnlistedSpecialPage("ViewManagerLogo");
 }
开发者ID:schwarer2006,项目名称:wikia,代码行数:4,代码来源:viewManagerLogo.php

示例11: FeedAction

 function FeedAction()
 {
     UnlistedSpecialPage::UnlistedSpecialPage("FeedAction");
 }
开发者ID:schwarer2006,项目名称:wikia,代码行数:4,代码来源:feedAction.php

示例12: __construct

 function __construct()
 {
     global $wgHooks;
     UnlistedSpecialPage::UnlistedSpecialPage('EditFinder');
     $wgHooks['getToolStatus'][] = array('Misc::defineAsTool');
 }
开发者ID:ErdemA,项目名称:wikihow,代码行数:6,代码来源:EditFinder.body.php

示例13: __construct

 public function __construct()
 {
     $this->specialPage = 'AdminConfigEditor';
     UnlistedSpecialPage::UnlistedSpecialPage($this->specialPage);
 }
开发者ID:ErdemA,项目名称:wikihow,代码行数:5,代码来源:AdminConfigEditor.body.php

示例14: __construct

 public function __construct()
 {
     global $wgTitle;
     $this->specialPage = $wgTitle->getPartialUrl();
     UnlistedSpecialPage::UnlistedSpecialPage($this->specialPage);
 }
开发者ID:ErdemA,项目名称:wikihow,代码行数:6,代码来源:AdminUserCompletedImages.body.php

示例15: __construct

 public function __construct()
 {
     UnlistedSpecialPage::UnlistedSpecialPage('PageStatCheck');
 }
开发者ID:ErdemA,项目名称:wikihow,代码行数:4,代码来源:PageStatCheck.body.php


注:本文中的UnlistedSpecialPage::UnlistedSpecialPage方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。