MediaWiki REL1_40
SpecialLongPages.php
Go to the documentation of this file.
1<?php
26
31
37 public function __construct(
38 NamespaceInfo $namespaceInfo,
39 ILoadBalancer $loadBalancer,
40 LinkBatchFactory $linkBatchFactory
41 ) {
42 parent::__construct(
43 $namespaceInfo,
44 $loadBalancer,
45 $linkBatchFactory
46 );
47 $this->mName = 'Longpages';
48 }
49
50 protected function sortDescending() {
51 return true;
52 }
53
54 protected function getGroupName() {
55 return 'maintenance';
56 }
57}
This is a utility class for dealing with namespaces that encodes all the "magic" behaviors of them ba...
sortDescending()
Override to sort by increasing values.
__construct(NamespaceInfo $namespaceInfo, ILoadBalancer $loadBalancer, LinkBatchFactory $linkBatchFactory)
getGroupName()
Under which header this special page is listed in Special:SpecialPages See messages 'specialpages-gro...
SpecialShortpages extends QueryPage.
This class is a delegate to ILBFactory for a given database cluster.