MediaWiki master
SpecialMostRevisions.php
Go to the documentation of this file.
1<?php
23namespace MediaWiki\Specials;
24
29
37
38 public function __construct(
39 NamespaceInfo $namespaceInfo,
40 IConnectionProvider $dbProvider,
41 LinkBatchFactory $linkBatchFactory,
42 LanguageConverterFactory $languageConverterFactory
43 ) {
44 parent::__construct(
45 $namespaceInfo,
46 $dbProvider,
47 $linkBatchFactory,
48 $languageConverterFactory
49 );
50 $this->mName = 'Mostrevisions';
51 }
52
53 protected function sortDescending() {
54 return true;
55 }
56
57 protected function getGroupName() {
58 return 'highuse';
59 }
60}
61
66class_alias( SpecialMostRevisions::class, 'SpecialMostRevisions' );
An interface for creating language converters.
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.
This is a utility class for dealing with namespaces that encodes all the "magic" behaviors of them ba...
Provide primary and replica IDatabase connections.