46 parent::__construct(
'Mostlinkedtemplates' );
80 'tables' => [
'templatelinks' ],
82 'namespace' =>
'tl_namespace',
83 'title' =>
'tl_title',
86 'options' => [
'GROUP BY' => [
'tl_namespace',
'tl_title' ] ]
108 $title = Title::makeTitleSafe( $result->namespace, $result->title );
110 return Html::element(
112 [
'class' =>
'mw-invalidtitle' ],
136 $label = $this->
msg(
'ntransclusions' )->numParams( $result->value )->text();
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...
setDBLoadBalancer(ILoadBalancer $loadBalancer)
LinkBatchFactory null $linkBatchFactory
setLinkBatchFactory(LinkBatchFactory $linkBatchFactory)
ILoadBalancer null $loadBalancer
Special page lists templates with a large number of transclusion links, i.e.
sortDescending()
Sort the results in descending order?
preprocessResults( $db, $res)
Pre-cache page existence to speed up link generation.
makeWlhLink( $title, $result)
Make a "what links here" link for a given title.
getQueryInfo()
Subclasses return an SQL query here, formatted as an array with the following keys: tables => Table(s...
isSyndicated()
Is there a feed available?
isExpensive()
Is this report expensive, i.e should it be cached?
__construct(ILoadBalancer $loadBalancer, LinkBatchFactory $linkBatchFactory)
formatResult( $skin, $result)
Format a result row.
getGroupName()
Under which header this special page is listed in Special:SpecialPages See messages 'specialpages-gro...
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,...
getContext()
Gets the context this SpecialPage is executed in.
msg( $key,... $params)
Wrapper around wfMessage that sets the current context.
getLanguage()
Shortcut to get user's language.