29 parent::__construct(
'Deadendpages' );
37 return $this->
msg(
'deadendpagestext' )->parseAsBlock();
64 'tables' => [
'page',
'pagelinks' ],
66 'namespace' =>
'page_namespace',
67 'title' =>
'page_title',
71 'page_namespace' => $this->namespaceInfo->getContentNamespaces(),
72 'page_is_redirect' => 0
86 PageLinksTable::VIRTUAL_DOMAIN,
95 if ( count( $this->namespaceInfo->getContentNamespaces() ) > 1 ) {
96 return [
'page_namespace',
'page_title' ];
98 return [
'page_title' ];
104 return 'maintenance';
109class_alias( SpecialDeadendPages::class,
'SpecialDeadendPages' );
Factory for LinkBatch objects to batch query page metadata.
Variant of QueryPage which formats the result as a simple link to the page.
setLanguageConverter(ILanguageConverter $languageConverter)
setDatabaseProvider(IConnectionProvider $databaseProvider)
setLinkBatchFactory(LinkBatchFactory $linkBatchFactory)
msg( $key,... $params)
Wrapper around wfMessage that sets the current context.
List of pages that contain no links to other pages.
isExpensive()
LEFT JOIN is expensive.
getRecacheDB()
Get a DB connection to be used for slow recache queries.to override IReadableDatabase
getQueryInfo()
Subclasses return an SQL query here, formatted as an array with the following keys: tables => Table(s...
isSyndicated()
Sometimes we don't want to build rss / atom feeds.to override bool
__construct(private readonly NamespaceInfo $namespaceInfo, IConnectionProvider $dbProvider, LinkBatchFactory $linkBatchFactory, LanguageConverterFactory $languageConverterFactory)
getPageHeader()
The content returned by this function will be output before any result.to override string
getGroupName()
Under which header this special page is listed in Special:SpecialPages See messages 'specialpages-gro...
getOrderFields()
Subclasses return an array of fields to order by here.Don't append DESC to the field names,...