MediaWiki master
SpecialMostRevisions.php
Go to the documentation of this file.
1<?php
9namespace MediaWiki\Specials;
10
15
23
24 public function __construct(
25 NamespaceInfo $namespaceInfo,
26 IConnectionProvider $dbProvider,
27 LinkBatchFactory $linkBatchFactory,
28 LanguageConverterFactory $languageConverterFactory
29 ) {
30 parent::__construct(
31 $namespaceInfo,
32 $dbProvider,
33 $linkBatchFactory,
34 $languageConverterFactory
35 );
36 $this->mName = 'Mostrevisions';
37 }
38
40 protected function sortDescending() {
41 return true;
42 }
43
45 protected function getGroupName() {
46 return 'highuse';
47 }
48}
49
54class_alias( SpecialMostRevisions::class, 'SpecialMostRevisions' );
An interface for creating language converters.
Factory for LinkBatch objects to batch query page metadata.
List articles with the fewest revisions.
Implements Special:Mostrevisions.
getGroupName()
Under which header this special page is listed in Special:SpecialPages See messages 'specialpages-gro...
__construct(NamespaceInfo $namespaceInfo, IConnectionProvider $dbProvider, LinkBatchFactory $linkBatchFactory, LanguageConverterFactory $languageConverterFactory)
sortDescending()
Override to sort by increasing values.to override bool
This is a utility class for dealing with namespaces that encodes all the "magic" behaviors of them ba...
Provide primary and replica IDatabase connections.