78 $title = Title::makeTitleSafe( $result->namespace, $result->title );
79 if ( $title instanceof
Title ) {
82 ?
'<del>' . $linkRenderer->makeLink( $title ) .
'</del>'
83 : $linkRenderer->makeLink( $title );
85 $pageLink = $linkRenderer->makeBrokenLink( $title );
89 return $this->
msg(
'wantedpages-badtitle', $result->title )->escaped();
124 $label = $this->
msg(
'nlinks' )->numParams( $result->value )->text();
136 return [
'value DESC',
'namespace',
'title' ];
166class_alias( WantedQueryPage::class,
'WantedQueryPage' );
This is a class for doing query pages; since they're almost all the same, we factor out some of the f...
isCached()
Whether or not the output of the page in question is retrieved from the database cache.
executeLBFromResultWrapper(IResultWrapper $res, $ns=null)
Creates a new LinkBatch object, adds all pages from the passed result wrapper (MUST include title and...
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,...
msg( $key,... $params)
Wrapper around wfMessage that sets the current context.
getLanguage()
Shortcut to get user's language.
Base class for a "wanted" query page like WantedPages, WantedTemplates, etc.
forceExistenceCheck()
Should formatResult() always check page existence, even if the results are fresh? This is a (hopefull...
existenceCheck(Title $title)
Does the Title currently exists.
isExpensive()
Should this query page only be updated offline on large wikis?
getOrderFields()
Order by title for pages with the same number of links to them.
preprocessResults( $db, $res)
Cache page existence for performance.
getCacheOrderFields()
Also use the order fields returned by getOrderFields when fetching from the cache.
isSyndicated()
Sometimes we don't want to build rss / atom feeds.
formatResult( $skin, $result)
Format an individual result.
sortDescending()
Do not order descending for all order fields.
makeWlhLink( $title, $result)
Make a "what links here" link for a given title.
The base class for all skins.