53 parent::__construct(
'Uncategorizedpages' );
74 parent::execute( $par );
79 'tables' => [
'page',
'categorylinks' ],
81 'namespace' =>
'page_namespace',
82 'title' =>
'page_title',
88 'page_namespace' => $this->requestedNamespace !==
false
89 ? $this->requestedNamespace
90 : $this->namespaceInfo->getContentNamespaces(),
91 'page_is_redirect' => 0
94 'categorylinks' => [
'LEFT JOIN',
'cl_from = page_id' ]
102 if ( $this->requestedNamespace ===
false &&
103 count( $this->namespaceInfo->getContentNamespaces() ) > 1
105 return [
'page_namespace',
'page_title' ];
108 return [
'page_title' ];
112 return 'maintenance';
This is a utility class for dealing with namespaces that encodes all the "magic" behaviors of them ba...
Variant of QueryPage which formats the result as a simple link to the page.
setLanguageConverter(ILanguageConverter $languageConverter)
setDBLoadBalancer(ILoadBalancer $loadBalancer)
LinkBatchFactory null $linkBatchFactory
setLinkBatchFactory(LinkBatchFactory $linkBatchFactory)
ILoadBalancer null $loadBalancer
addHelpLink( $to, $overrideBaseUrl=false)
Adds help link with an icon via page indicators.
A special page looking for page without any category.
getQueryInfo()
Subclasses return an SQL query here, formatted as an array with the following keys: tables => Table(s...
execute( $par)
This is the actual workhorse.
NamespaceInfo $namespaceInfo
isExpensive()
Is this query expensive (for some definition of expensive)? Then we don't let it run in miser mode.
__construct(NamespaceInfo $namespaceInfo, ILoadBalancer $loadBalancer, LinkBatchFactory $linkBatchFactory, LanguageConverterFactory $languageConverterFactory)
int false $requestedNamespace
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.
isSyndicated()
Sometimes we don't want to build rss / atom feeds.
sortDescending()
Override to sort by increasing values.