MediaWiki master
SpecialMostRevisions.php
Go to the documentation of this file.
1<?php
23namespace MediaWiki\Specials;
24
29
37
44 public function __construct(
45 NamespaceInfo $namespaceInfo,
46 IConnectionProvider $dbProvider,
47 LinkBatchFactory $linkBatchFactory,
48 LanguageConverterFactory $languageConverterFactory
49 ) {
50 parent::__construct(
51 $namespaceInfo,
52 $dbProvider,
53 $linkBatchFactory,
54 $languageConverterFactory
55 );
56 $this->mName = 'Mostrevisions';
57 }
58
59 protected function sortDescending() {
60 return true;
61 }
62
63 protected function getGroupName() {
64 return 'highuse';
65 }
66}
67
72class_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.