MediaWiki REL1_41
SpecialMostRevisions.php
Go to the documentation of this file.
1<?php
27namespace MediaWiki\Specials;
28
33
35
42 public function __construct(
43 NamespaceInfo $namespaceInfo,
44 IConnectionProvider $dbProvider,
45 LinkBatchFactory $linkBatchFactory,
46 LanguageConverterFactory $languageConverterFactory
47 ) {
48 parent::__construct(
49 $namespaceInfo,
50 $dbProvider,
51 $linkBatchFactory,
52 $languageConverterFactory
53 );
54 $this->mName = 'Mostrevisions';
55 }
56
57 protected function sortDescending() {
58 return true;
59 }
60
61 protected function getGroupName() {
62 return 'highuse';
63 }
64}
65
70class_alias( SpecialMostRevisions::class, 'SpecialMostRevisions' );
An interface for creating language converters.
Special page for listing the articles with the fewest revisions.
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.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU Ge...