Go to the documentation of this file.
38 parent::__construct( $name );
51 'tables' => [
'pagelinks',
'page' ],
53 'namespace' =>
'pl_namespace',
54 'title' =>
'pl_title',
55 'value' =>
'COUNT(*)',
59 'HAVING' =>
'COUNT(*) > 1',
61 'pl_namespace',
'pl_title',
69 'page_namespace = pl_namespace',
70 'page_title = pl_title'
114 [
'class' =>
'mw-invalidtitle' ],
126 $this->
msg(
'nlinks' )->numParams( $result->value )->text()
129 return $this->
getLanguage()->specialList( $link, $wlh );
preprocessResults( $db, $res)
Pre-fill the link cache.
msg( $key,... $params)
Wrapper around wfMessage that sets the current context.
getQueryInfo()
Subclasses return an SQL query here, formatted as an array with the following keys: tables => Table(s...
static getTitleFor( $name, $subpage=false, $fragment='')
Get a localised Title object for a specified special page name If you don't need a full Title object,...
getLanguage()
Shortcut to get user's language.
static getInvalidTitleDescription(IContextSource $context, $namespace, $title)
Get a message saying that an invalid title was encountered.
This is a class for doing query pages; since they're almost all the same, we factor out some of the f...
executeLBFromResultWrapper(IResultWrapper $res, $ns=null)
Creates a new LinkBatch object, adds all pages from the passed result wrapper (MUST include title and...
formatResult( $skin, $result)
Make links to the page corresponding to the item, and the "what links here" page for it.
getContext()
Gets the context this SpecialPage is executed in.
A special page to show pages ordered by the number of pages linking to them.
static makeTitleSafe( $ns, $title, $fragment='', $interwiki='')
Create a new Title from a namespace index and a DB key.
getGroupName()
Under which header this special page is listed in Special:SpecialPages See messages 'specialpages-gro...
isSyndicated()
Sometime we don't want to build rss / atom feeds.
isExpensive()
Is this query expensive (for some definition of expensive)? Then we don't let it run in miser mode.
__construct( $name='Mostlinked')
MediaWiki Linker LinkRenderer null $linkRenderer
static element( $element, $attribs=[], $contents='')
Identical to rawElement(), but HTML-escapes $contents (like Xml::element()).
makeWlhLink( $title, $caption)
Make a link to "what links here" for the specified title.