Go to the documentation of this file.
34 parent::__construct(
$name );
46 # Do not show useless input form if special page is cached
59 $this->
msg(
'allpagesprefix' )->text(),
75 return array(
'page_namespace',
'page_title' );
88 'tables' =>
array(
'page',
'langlinks' ),
90 'namespace' =>
'page_namespace',
91 'title' =>
'page_title',
92 'value' =>
'page_title'
97 'page_is_redirect' => 0
99 'join_conds' =>
array(
'langlinks' =>
array(
'LEFT JOIN',
'll_from = page_id' ) )
101 if ( $this->prefix ) {
103 $query[
'conds'][] =
'page_title ' .
$dbr->buildLike( $this->prefix,
$dbr->anyString() );
110 return 'maintenance';
getPageTitle( $subpage=false)
Get a self-referential title object.
skin txt MediaWiki includes four core it has been set as the default in MediaWiki since the replacing Monobook it had been been the default skin since before being replaced by Vector largely rewritten in while keeping its appearance Several legacy skins were removed in the as the burden of supporting them became too heavy to bear Those in etc for skin dependent CSS etc for skin dependent JavaScript These can also be customised on a per user by etc This feature has led to a wide variety of user styles becoming that gallery is a good place to ending in php
& wfGetDB( $db, $groups=array(), $wiki=false)
Get a Database object.
design txt This is a brief overview of the new design More thorough and up to date information is available on the documentation wiki at etc Handles the details of getting and saving to the user table of the and dealing with sessions and cookies OutputPage Encapsulates the entire HTML page that will be sent in response to any server request It is used by calling its functions to add text
getOrderFields()
Subclasses return an array of fields to order by here.
static hidden( $name, $value, $attribs=array())
Convenience function to produce an input element with type=hidden.
static getContentNamespaces()
Get a list of all namespace indices which are considered to contain content.
sortDescending()
Override to sort by increasing values.
Variant of QueryPage which formats the result as a simple link to the page.
static closeElement( $element)
Returns "</$element>", except if $wgWellFormedXml is off, in which case it returns the empty string w...
static openElement( $element, $attribs=array())
Identical to rawElement(), but has no third parameter and omits the end tag (and the self-closing '/'...
getQueryInfo()
Subclasses return an SQL query here, formatted as an array with the following keys: tables => Table(s...
static element( $element, $attribs=array(), $contents='')
Identical to rawElement(), but HTML-escapes $contents (like Xml::element()).
isCached()
Whether or not the output of the page in question is retrieved from the database cache.
the array() calling protocol came about after MediaWiki 1.4rc1.
List of Api Query prop modules.
isSyndicated()
Sometime we don't want to build rss / atom feeds.
static inputLabel( $label, $name, $id, $size=false, $value=false, $attribs=array())
Convenience function to build an HTML text input field with a label.
when a variable name is used in a it is silently declared as a new masking the global
getPageHeader()
The content returned by this function will be output before any result.
Allows to change the fields on the form that will be generated $name
msg()
Wrapper around wfMessage that sets the current context.
Special page lists pages without language links.
getRequest()
Get the WebRequest being used for this instance.
static capitalize( $text, $ns=NS_MAIN)
Capitalize a text string for a title if it belongs to a namespace that capitalizes.
static submitButton( $value, $attribs=array())
Convenience function to build an HTML submit button.
execute( $par)
This is the actual workhorse.
getGroupName()
Under which header this special page is listed in Special:SpecialPages See messages 'specialpages-gro...
return true to allow those checks to and false if checking is done use this to change the tables headers temp or archived zone change it to an object instance and return false override the list derivative used the name of the old file when set the default code will be skipped add a value to it if you want to add a cookie that have to vary cache options can modify $query
__construct( $name='Withoutinterwiki')
isExpensive()
Is this query expensive (for some definition of expensive)? Then we don't let it run in miser mode.