50 parent::__construct(
'Deadendpages' );
51 $this->namespaceInfo = $namespaceInfo;
58 return $this->
msg(
'deadendpagestext' )->parseAsBlock();
83 'tables' => [
'page',
'pagelinks' ],
85 'namespace' =>
'page_namespace',
86 'title' =>
'page_title',
90 'page_namespace' => $this->namespaceInfo->getContentNamespaces(),
91 'page_is_redirect' => 0
105 if ( count( $this->namespaceInfo->getContentNamespaces() ) > 1 ) {
106 return [
'page_namespace',
'page_title' ];
108 return [
'page_title' ];
113 return 'maintenance';
118class_alias( SpecialDeadendPages::class,
'SpecialDeadendPages' );
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.
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.
getPageHeader()
The content returned by this function will be output before any result.
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.
__construct(NamespaceInfo $namespaceInfo, IConnectionProvider $dbProvider, LinkBatchFactory $linkBatchFactory, LanguageConverterFactory $languageConverterFactory)