本文整理汇总了PHP中IncludableSpecialPage类的典型用法代码示例。如果您正苦于以下问题:PHP IncludableSpecialPage类的具体用法?PHP IncludableSpecialPage怎么用?PHP IncludableSpecialPage使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了IncludableSpecialPage类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __construct
public function __construct()
{
IncludableSpecialPage::SpecialPage('Newestpages', '', true, false, 'default', true);
}
示例2: __construct
/**
* Constructor
*/
public function __construct()
{
parent::__construct('BrowseData');
// Backwards compatibility for MediaWiki < 1.16
if (version_compare($GLOBALS['wgVersion'], '1.16', '<')) {
wfLoadExtensionMessages('SemanticDrilldown');
}
}
示例3: __construct
public function __construct()
{
parent::__construct('NewestPages', '', true, false, 'default', true);
}
示例4:
function __construct()
{
parent::__construct('EditSchema', 'edit');
}
示例5: __construct
public function __construct($name = 'Recentchanges')
{
parent::__construct($name);
}
示例6: __construct
/**
* Constructor -- set up the new special page
*/
public function __construct()
{
parent::__construct('ArticleLists');
}
示例7: __construct
/**
* Constructor
*/
public function __construct() {
parent::__construct( 'AdminLog' );
}
示例8: __construct
/**
* Constructor
*/
public function __construct()
{
parent::__construct('Listusers');
}
示例9: __construct
public function __construct()
{
parent::__construct('Contributions');
}
示例10: __construct
public function __construct() {
parent::__construct( 'TranslationStats' );
}
示例11: makeForm
/**
* Make a nice little form so the user can enter a title and so forth
* in normal output mode
*
* @return string
*/
private function makeForm()
{
global $wgScript;
$self = parent::getTitleFor('Contributors');
$target = is_object($this->target) ? $this->target->getPrefixedText() : '';
$form = '<form method="get" action="' . htmlspecialchars($wgScript) . '">';
$form .= Html::Hidden('title', $self->getPrefixedText());
$form .= '<fieldset><legend>' . wfMsgHtml('contributors-legend') . '</legend>';
$form .= '<table><tr>';
$form .= '<td><label for="target">' . wfMsgHtml('contributors-target') . '</label></td>';
$form .= '<td>' . Xml::input('target', 40, $target, array('id' => 'target')) . '</td>';
$form .= '</tr><tr>';
$form .= '<td> </td>';
$form .= '<td>' . Xml::submitButton(wfMsg('contributors-submit')) . '</td>';
$form .= '</tr></table>';
$form .= '</fieldset>';
$form .= '</form>';
return $form;
}
示例12:
/**
* Constructor
*/
function __construct() { # Checked for HTML and MySQL insertion attacks
parent::__construct( 'Tasks' );
$this->update_types();
}
示例13:
/**
* Constructor.
*/
function __construct( ) {
parent::__construct( 'Wikilog' );
}
示例14:
/**
* Constructor
*/
function __construct()
{
parent::__construct('Includable');
}
示例15: __construct
public function __construct() {
parent::__construct( 'LanguageStats' );
global $wgLang;
$this->target = $wgLang->getCode();
}