33 parent::__construct(
'Uncategorizedpages' );
57 parent::execute( $par );
63 'tables' => [
'page',
'categorylinks' ],
65 'namespace' =>
'page_namespace',
66 'title' =>
'page_title',
72 'page_namespace' => $this->requestedNamespace !==
false
73 ? $this->requestedNamespace
74 : $this->namespaceInfo->getContentNamespaces(),
75 'page_is_redirect' => 0
78 'categorylinks' => [
'LEFT JOIN',
'cl_from = page_id' ]
86 CategoryLinksTable::VIRTUAL_DOMAIN,
95 if ( $this->requestedNamespace ===
false &&
96 count( $this->namespaceInfo->getContentNamespaces() ) > 1
98 return [
'page_namespace',
'page_title' ];
101 return [
'page_title' ];
106 return 'maintenance';
114class_alias( SpecialUncategorizedPages::class,
'SpecialUncategorizedPages' );
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)
addHelpLink( $to, $overrideBaseUrl=false)
Adds help link with an icon via page indicators.
List of pages without any category.
getOrderFields()
Subclasses return an array of fields to order by here.Don't append DESC to the field names,...
execute( $par)
This is the actual workhorse.It does everything needed to make a real, honest-to-gosh query page....
getGroupName()
Under which header this special page is listed in Special:SpecialPages See messages 'specialpages-gro...
int false $requestedNamespace
sortDescending()
Override to sort by increasing values.to override bool
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)
isExpensive()
Should this query page only be updated offline on large wikis?If the query for this page is considere...