Thiemo Mättig (WMDE) has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/366822 )

Change subject: Remove auto-generated "Constructor" documentation on 
constructors
......................................................................

Remove auto-generated "Constructor" documentation on constructors

Having such comments is worse than not having them. They add zero
information. But you must read the text to understand there is
nothing you don't already know from the class and the method name.

This is similar to I994d11e. Even more trivial, because this here is
about comments that don't say anything but "constructor".

Change-Id: I474dcdb5997bea3aafd11c0760ee072dfaff124c
---
M includes/Feed.php
M includes/FileDeleteForm.php
M includes/HistoryBlob.php
M includes/Revision.php
M includes/SiteStats.php
M includes/StubObject.php
M includes/actions/Action.php
M includes/cache/localisation/LocalisationCache.php
M includes/changes/ChangesFeed.php
M includes/collation/NumericUppercaseCollation.php
M includes/context/DerivativeContext.php
M includes/db/CloneDatabase.php
M includes/deferred/LinksUpdate.php
M includes/deferred/SearchUpdate.php
M includes/diff/DairikiDiff.php
M includes/diff/DifferenceEngine.php
M includes/exception/HttpError.php
M includes/filerepo/file/LocalFile.php
M includes/installer/CliInstaller.php
M includes/installer/DatabaseUpdater.php
M includes/installer/LocalSettingsGenerator.php
M includes/installer/WebInstaller.php
M includes/libs/GenericArrayObject.php
M includes/libs/MemoizedCallable.php
M includes/libs/objectcache/APCBagOStuff.php
M includes/libs/objectcache/APCUBagOStuff.php
M includes/libs/objectcache/MemcachedPeclBagOStuff.php
M includes/libs/xmp/XMP.php
M includes/logging/LogEntry.php
M includes/logging/LogEventsList.php
M includes/logging/LogPage.php
M includes/logging/LogPager.php
M includes/media/DjVuImage.php
M includes/media/Exif.php
M includes/media/SVGMetadataExtractor.php
M includes/parser/ParserOptions.php
M includes/profiler/output/ProfilerOutput.php
M includes/search/SearchDatabase.php
M includes/site/MediaWikiSite.php
M includes/site/Site.php
M includes/specials/SpecialActiveusers.php
M includes/specials/SpecialAllMessages.php
M includes/specials/SpecialAllPages.php
M includes/specials/SpecialImport.php
M includes/specials/SpecialListusers.php
M includes/specials/SpecialUpload.php
M includes/tidy/RemexCompatMunger.php
M includes/user/UserRightsProxy.php
M includes/utils/FileContentsHasher.php
M languages/ConverterRule.php
M maintenance/generateSitemap.php
M maintenance/language/checkLanguage.inc
52 files changed, 1 insertion(+), 99 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/22/366822/1

diff --git a/includes/Feed.php b/includes/Feed.php
index 189fd9f..f76a634 100644
--- a/includes/Feed.php
+++ b/includes/Feed.php
@@ -54,8 +54,6 @@
        public $rssIsPermalink = false;
 
        /**
-        * Constructor
-        *
         * @param string|Title $title Item's title
         * @param string $description
         * @param string $url URL uniquely designating the item.
diff --git a/includes/FileDeleteForm.php b/includes/FileDeleteForm.php
index e7b4a1f..8a1cd35 100644
--- a/includes/FileDeleteForm.php
+++ b/includes/FileDeleteForm.php
@@ -47,8 +47,6 @@
        private $oldimage = '';
 
        /**
-        * Constructor
-        *
         * @param File $file File object we're deleting
         */
        public function __construct( $file ) {
diff --git a/includes/HistoryBlob.php b/includes/HistoryBlob.php
index 56cf815..51bd7a9 100644
--- a/includes/HistoryBlob.php
+++ b/includes/HistoryBlob.php
@@ -76,9 +76,6 @@
        public $mMaxSize = 10000000;
        public $mMaxCount = 100;
 
-       /**
-        * Constructor
-        */
        public function __construct() {
                if ( !function_exists( 'gzdeflate' ) ) {
                        throw new MWException( "Need zlib support to read or 
write this "
diff --git a/includes/Revision.php b/includes/Revision.php
index c3782ba..c6b50f4 100644
--- a/includes/Revision.php
+++ b/includes/Revision.php
@@ -559,8 +559,6 @@
        }
 
        /**
-        * Constructor
-        *
         * @param object|array $row Either a database row or an array
         * @throws MWException
         * @access private
diff --git a/includes/SiteStats.php b/includes/SiteStats.php
index 6ce1aed..5a0947d 100644
--- a/includes/SiteStats.php
+++ b/includes/SiteStats.php
@@ -296,7 +296,6 @@
        private $mUsers = null, $mFiles = null;
 
        /**
-        * Constructor
         * @param bool|IDatabase $database
         * - boolean: Whether to use the master DB
         * - IDatabase: Database connection to use
diff --git a/includes/StubObject.php b/includes/StubObject.php
index 0210ed9..5208b8f 100644
--- a/includes/StubObject.php
+++ b/includes/StubObject.php
@@ -55,8 +55,6 @@
        protected $params;
 
        /**
-        * Constructor.
-        *
         * @param string $global Name of the global variable.
         * @param string|callable $class Name of the class of the real object
         *                               or a factory function to call
diff --git a/includes/actions/Action.php b/includes/actions/Action.php
index 844a0d6..88382b6 100644
--- a/includes/actions/Action.php
+++ b/includes/actions/Action.php
@@ -259,8 +259,6 @@
        }
 
        /**
-        * Constructor.
-        *
         * Only public since 1.21
         *
         * @param Page $page
diff --git a/includes/cache/localisation/LocalisationCache.php 
b/includes/cache/localisation/LocalisationCache.php
index d499340..58a67ad 100644
--- a/includes/cache/localisation/LocalisationCache.php
+++ b/includes/cache/localisation/LocalisationCache.php
@@ -183,7 +183,6 @@
        private $mergeableKeys = null;
 
        /**
-        * Constructor.
         * For constructor parameters, see the documentation in 
DefaultSettings.php
         * for $wgLocalisationCacheConf.
         *
diff --git a/includes/changes/ChangesFeed.php b/includes/changes/ChangesFeed.php
index cffb59a..99dc899 100644
--- a/includes/changes/ChangesFeed.php
+++ b/includes/changes/ChangesFeed.php
@@ -31,8 +31,6 @@
        public $format, $type, $titleMsg, $descMsg;
 
        /**
-        * Constructor
-        *
         * @param string $format Feed's format (either 'rss' or 'atom')
         * @param string $type Type of feed (for cache keys)
         */
diff --git a/includes/collation/NumericUppercaseCollation.php 
b/includes/collation/NumericUppercaseCollation.php
index 2d2ca47..8dd7a38 100644
--- a/includes/collation/NumericUppercaseCollation.php
+++ b/includes/collation/NumericUppercaseCollation.php
@@ -40,8 +40,6 @@
        private $digitTransformLang;
 
        /**
-        * Constructor
-        *
         * @param $lang Language How to convert digits.
         *  For example, if given language "my" than ၇ is treated like 7.
         *
diff --git a/includes/context/DerivativeContext.php 
b/includes/context/DerivativeContext.php
index 9c3c42a..8705e27 100644
--- a/includes/context/DerivativeContext.php
+++ b/includes/context/DerivativeContext.php
@@ -75,7 +75,6 @@
        private $timing;
 
        /**
-        * Constructor
         * @param IContextSource $context Context to inherit from
         */
        public function __construct( IContextSource $context ) {
diff --git a/includes/db/CloneDatabase.php b/includes/db/CloneDatabase.php
index 6d18444..3d22c03 100644
--- a/includes/db/CloneDatabase.php
+++ b/includes/db/CloneDatabase.php
@@ -46,8 +46,6 @@
        private $db;
 
        /**
-        * Constructor
-        *
         * @param IMaintainableDatabase $db A database subclass
         * @param array $tablesToClone An array of tables to clone, unprefixed
         * @param string $newTablePrefix Prefix to assign to the tables
diff --git a/includes/deferred/LinksUpdate.php 
b/includes/deferred/LinksUpdate.php
index 072c1e0..c6facd9 100644
--- a/includes/deferred/LinksUpdate.php
+++ b/includes/deferred/LinksUpdate.php
@@ -102,8 +102,6 @@
        private $db;
 
        /**
-        * Constructor
-        *
         * @param Title $title Title of the page we're updating
         * @param ParserOutput $parserOutput Output from a full parse of this 
page
         * @param bool $recursive Queue jobs for recursive updates?
diff --git a/includes/deferred/SearchUpdate.php 
b/includes/deferred/SearchUpdate.php
index b9a259b..2766bcb 100644
--- a/includes/deferred/SearchUpdate.php
+++ b/includes/deferred/SearchUpdate.php
@@ -44,8 +44,6 @@
        private $page;
 
        /**
-        * Constructor
-        *
         * @param int $id Page id to update
         * @param Title|string $title Title of page to update
         * @param Content|string|bool $c Content of the page to update. 
Default: false.
diff --git a/includes/diff/DairikiDiff.php b/includes/diff/DairikiDiff.php
index a08bd9e..d76af31 100644
--- a/includes/diff/DairikiDiff.php
+++ b/includes/diff/DairikiDiff.php
@@ -211,7 +211,6 @@
        protected $bailoutComplexity = 0;
 
        /**
-        * Constructor.
         * Computes diff between sequences of strings.
         *
         * @param string[] $from_lines An array of strings.
diff --git a/includes/diff/DifferenceEngine.php 
b/includes/diff/DifferenceEngine.php
index 0b58cc1..cbed78f 100644
--- a/includes/diff/DifferenceEngine.php
+++ b/includes/diff/DifferenceEngine.php
@@ -104,7 +104,6 @@
        /**#@-*/
 
        /**
-        * Constructor
         * @param IContextSource $context Context to use, anything else will be 
ignored
         * @param int $old Old ID we want to show and diff with.
         * @param string|int $new Either revision ID or 'prev' or 'next'. 
Default: 0.
diff --git a/includes/exception/HttpError.php b/includes/exception/HttpError.php
index 48bc3bd..f464d8a 100644
--- a/includes/exception/HttpError.php
+++ b/includes/exception/HttpError.php
@@ -31,8 +31,6 @@
        private $httpCode, $header, $content;
 
        /**
-        * Constructor
-        *
         * @param int $httpCode HTTP status code to send to the client
         * @param string|Message $content Content of the message
         * @param string|Message|null $header Content of the header (\<title\> 
and \<h1\>)
diff --git a/includes/filerepo/file/LocalFile.php 
b/includes/filerepo/file/LocalFile.php
index f71e1dc..33177d3 100644
--- a/includes/filerepo/file/LocalFile.php
+++ b/includes/filerepo/file/LocalFile.php
@@ -215,7 +215,6 @@
        }
 
        /**
-        * Constructor.
         * Do not call this except from inside a repo class.
         * @param Title $title
         * @param FileRepo $repo
diff --git a/includes/installer/CliInstaller.php 
b/includes/installer/CliInstaller.php
index 661c3ec..ad7acda 100644
--- a/includes/installer/CliInstaller.php
+++ b/includes/installer/CliInstaller.php
@@ -47,8 +47,6 @@
        ];
 
        /**
-        * Constructor.
-        *
         * @param string $siteName
         * @param string $admin
         * @param array $option
diff --git a/includes/installer/DatabaseUpdater.php 
b/includes/installer/DatabaseUpdater.php
index e5cbb7c..7e43fb5 100644
--- a/includes/installer/DatabaseUpdater.php
+++ b/includes/installer/DatabaseUpdater.php
@@ -105,8 +105,6 @@
        protected $holdContentHandlerUseDB = true;
 
        /**
-        * Constructor
-        *
         * @param Database $db To perform updates on
         * @param bool $shared Whether to perform updates on shared tables
         * @param Maintenance $maintenance Maintenance object which created us
diff --git a/includes/installer/LocalSettingsGenerator.php 
b/includes/installer/LocalSettingsGenerator.php
index a9710eb..bdaeaca 100644
--- a/includes/installer/LocalSettingsGenerator.php
+++ b/includes/installer/LocalSettingsGenerator.php
@@ -41,8 +41,6 @@
        protected $installer;
 
        /**
-        * Constructor.
-        *
         * @param Installer $installer
         */
        public function __construct( Installer $installer ) {
diff --git a/includes/installer/WebInstaller.php 
b/includes/installer/WebInstaller.php
index c94f0bf..a311ce96 100644
--- a/includes/installer/WebInstaller.php
+++ b/includes/installer/WebInstaller.php
@@ -130,8 +130,6 @@
        protected $currentPageName;
 
        /**
-        * Constructor.
-        *
         * @param WebRequest $request
         */
        public function __construct( WebRequest $request ) {
diff --git a/includes/libs/GenericArrayObject.php 
b/includes/libs/GenericArrayObject.php
index 76e23cf..f76d9a2 100644
--- a/includes/libs/GenericArrayObject.php
+++ b/includes/libs/GenericArrayObject.php
@@ -67,7 +67,6 @@
        }
 
        /**
-        * Constructor.
         * @see ArrayObject::__construct
         *
         * @since 1.20
diff --git a/includes/libs/MemoizedCallable.php 
b/includes/libs/MemoizedCallable.php
index 12a5cad..6b4281f 100644
--- a/includes/libs/MemoizedCallable.php
+++ b/includes/libs/MemoizedCallable.php
@@ -46,8 +46,6 @@
        private $callableName;
 
        /**
-        * Constructor.
-        *
         * @throws InvalidArgumentException if $callable is not a callable.
         * @param callable $callable Function or method to memoize.
         * @param int $ttl TTL in seconds. Defaults to 3600 (1hr). Capped at 
86400 (24h).
diff --git a/includes/libs/objectcache/APCBagOStuff.php 
b/includes/libs/objectcache/APCBagOStuff.php
index 9bfcee7..e41c3a2 100644
--- a/includes/libs/objectcache/APCBagOStuff.php
+++ b/includes/libs/objectcache/APCBagOStuff.php
@@ -42,8 +42,6 @@
        const KEY_SUFFIX = ':2';
 
        /**
-        * Constructor
-        *
         * Available parameters are:
         *   - nativeSerialize:     If true, pass objects to apc_store(), and 
trust it
         *                          to serialize them correctly. If false, 
serialize
diff --git a/includes/libs/objectcache/APCUBagOStuff.php 
b/includes/libs/objectcache/APCUBagOStuff.php
index 6e6a3ad..a26e560 100644
--- a/includes/libs/objectcache/APCUBagOStuff.php
+++ b/includes/libs/objectcache/APCUBagOStuff.php
@@ -28,8 +28,6 @@
  */
 class APCUBagOStuff extends APCBagOStuff {
        /**
-        * Constructor
-        *
         * Available parameters are:
         *   - nativeSerialize:     If true, pass objects to apcu_store(), and 
trust it
         *                          to serialize them correctly. If false, 
serialize
diff --git a/includes/libs/objectcache/MemcachedPeclBagOStuff.php 
b/includes/libs/objectcache/MemcachedPeclBagOStuff.php
index c568e7b..e3e66d5 100644
--- a/includes/libs/objectcache/MemcachedPeclBagOStuff.php
+++ b/includes/libs/objectcache/MemcachedPeclBagOStuff.php
@@ -29,8 +29,6 @@
 class MemcachedPeclBagOStuff extends MemcachedBagOStuff {
 
        /**
-        * Constructor
-        *
         * Available parameters are:
         *   - servers:             The list of IP:port combinations holding 
the memcached servers.
         *   - persistent:          Whether to use a persistent connection
diff --git a/includes/libs/xmp/XMP.php b/includes/libs/xmp/XMP.php
index debe869..e12766a 100644
--- a/includes/libs/xmp/XMP.php
+++ b/includes/libs/xmp/XMP.php
@@ -130,8 +130,6 @@
        private $logger;
 
        /**
-        * Constructor.
-        *
         * Primary job is to initialize the XMLParser
         */
        function __construct( LoggerInterface $logger = null ) {
diff --git a/includes/logging/LogEntry.php b/includes/logging/LogEntry.php
index e7095f0..fa94fe5 100644
--- a/includes/logging/LogEntry.php
+++ b/includes/logging/LogEntry.php
@@ -437,8 +437,6 @@
        protected $legacy = false;
 
        /**
-        * Constructor.
-        *
         * @since 1.19
         * @param string $type
         * @param string $subtype
diff --git a/includes/logging/LogEventsList.php 
b/includes/logging/LogEventsList.php
index a9679bf..22e5b45 100644
--- a/includes/logging/LogEventsList.php
+++ b/includes/logging/LogEventsList.php
@@ -55,7 +55,6 @@
        private $linkRenderer;
 
        /**
-        * Constructor.
         * The first two parameters used to be $skin and $out, but now only a 
context
         * is needed, that's why there's a second unused parameter.
         *
diff --git a/includes/logging/LogPage.php b/includes/logging/LogPage.php
index f2b1670..faca5bc 100644
--- a/includes/logging/LogPage.php
+++ b/includes/logging/LogPage.php
@@ -72,8 +72,6 @@
        private $target;
 
        /**
-        * Constructor
-        *
         * @param string $type One of '', 'block', 'protect', 'rights', 
'delete',
         *   'upload', 'move'
         * @param bool $rc Whether to update recent changes as well as the 
logging table
diff --git a/includes/logging/LogPager.php b/includes/logging/LogPager.php
index 11dce31..f79fcfa 100644
--- a/includes/logging/LogPager.php
+++ b/includes/logging/LogPager.php
@@ -49,8 +49,6 @@
        public $mLogEventsList;
 
        /**
-        * Constructor
-        *
         * @param LogEventsList $list
         * @param string|array $types Log types to show
         * @param string $performer The user who made the log entries
diff --git a/includes/media/DjVuImage.php b/includes/media/DjVuImage.php
index 57b5b36..d25111c 100644
--- a/includes/media/DjVuImage.php
+++ b/includes/media/DjVuImage.php
@@ -40,8 +40,6 @@
        const DJVUTXT_MEMORY_LIMIT = 300000;
 
        /**
-        * Constructor
-        *
         * @param string $filename The DjVu file name.
         */
        function __construct( $filename ) {
diff --git a/includes/media/Exif.php b/includes/media/Exif.php
index 9bfbc96..c355a06 100644
--- a/includes/media/Exif.php
+++ b/includes/media/Exif.php
@@ -96,8 +96,6 @@
        private $byteOrder;
 
        /**
-        * Constructor
-        *
         * @param string $file Filename.
         * @param string $byteOrder Type of byte ordering either 'BE' (Big 
Endian)
         *   or 'LE' (Little Endian). Default ''.
diff --git a/includes/media/SVGMetadataExtractor.php 
b/includes/media/SVGMetadataExtractor.php
index 2cf4d23..9b22cbe 100644
--- a/includes/media/SVGMetadataExtractor.php
+++ b/includes/media/SVGMetadataExtractor.php
@@ -58,8 +58,6 @@
        private $languagePrefixes = [];
 
        /**
-        * Constructor
-        *
         * Creates an SVGReader drawing from the source provided
         * @param string $source URI from which to read
         * @throws MWException|Exception
diff --git a/includes/parser/ParserOptions.php 
b/includes/parser/ParserOptions.php
index 96a4368..73a9927 100644
--- a/includes/parser/ParserOptions.php
+++ b/includes/parser/ParserOptions.php
@@ -927,7 +927,6 @@
        }
 
        /**
-        * Constructor
         * @warning For interaction with the parser cache, use
         *  WikiPage::makeParserOptions(), ContentHandler::makeParserOptions(), 
or
         *  ParserOptions::newCanonical() instead.
diff --git a/includes/profiler/output/ProfilerOutput.php 
b/includes/profiler/output/ProfilerOutput.php
index ddf084e..20b0780 100644
--- a/includes/profiler/output/ProfilerOutput.php
+++ b/includes/profiler/output/ProfilerOutput.php
@@ -31,7 +31,6 @@
        protected $params = [];
 
        /**
-        * Constructor
         * @param Profiler $collector The actual profiler
         * @param array $params Configuration array, passed down from 
$wgProfiler
         */
diff --git a/includes/search/SearchDatabase.php 
b/includes/search/SearchDatabase.php
index 1d7a4a3..643c2c1 100644
--- a/includes/search/SearchDatabase.php
+++ b/includes/search/SearchDatabase.php
@@ -35,7 +35,6 @@
        protected $db;
 
        /**
-        * Constructor
         * @param IDatabase $db The database to search from
         */
        public function __construct( IDatabase $db = null ) {
diff --git a/includes/site/MediaWikiSite.php b/includes/site/MediaWikiSite.php
index 6734d5f..f31a77d 100644
--- a/includes/site/MediaWikiSite.php
+++ b/includes/site/MediaWikiSite.php
@@ -40,8 +40,6 @@
        const PATH_PAGE = 'page_path';
 
        /**
-        * Constructor.
-        *
         * @since 1.21
         *
         * @param string $type
diff --git a/includes/site/Site.php b/includes/site/Site.php
index 28f19f9..31e1590 100644
--- a/includes/site/Site.php
+++ b/includes/site/Site.php
@@ -122,8 +122,6 @@
        protected $internalId = null;
 
        /**
-        * Constructor.
-        *
         * @since 1.21
         *
         * @param string $type
diff --git a/includes/specials/SpecialActiveusers.php 
b/includes/specials/SpecialActiveusers.php
index e7c9423..9028787 100644
--- a/includes/specials/SpecialActiveusers.php
+++ b/includes/specials/SpecialActiveusers.php
@@ -28,9 +28,6 @@
  */
 class SpecialActiveUsers extends SpecialPage {
 
-       /**
-        * Constructor
-        */
        public function __construct() {
                parent::__construct( 'Activeusers' );
        }
diff --git a/includes/specials/SpecialAllMessages.php 
b/includes/specials/SpecialAllMessages.php
index 4056709..9e66447 100644
--- a/includes/specials/SpecialAllMessages.php
+++ b/includes/specials/SpecialAllMessages.php
@@ -33,9 +33,6 @@
         */
        protected $table;
 
-       /**
-        * Constructor
-        */
        public function __construct() {
                parent::__construct( 'Allmessages' );
        }
diff --git a/includes/specials/SpecialAllPages.php 
b/includes/specials/SpecialAllPages.php
index 17f6cca..4d84e31 100644
--- a/includes/specials/SpecialAllPages.php
+++ b/includes/specials/SpecialAllPages.php
@@ -44,8 +44,6 @@
        protected $nsfromMsg = 'allpagesfrom';
 
        /**
-        * Constructor
-        *
         * @param string $name Name of the special page, as seen in links and 
URLs (default: 'Allpages')
         */
        function __construct( $name = 'Allpages' ) {
diff --git a/includes/specials/SpecialImport.php 
b/includes/specials/SpecialImport.php
index a2930fc..a827e89 100644
--- a/includes/specials/SpecialImport.php
+++ b/includes/specials/SpecialImport.php
@@ -46,9 +46,6 @@
        private $pageLinkDepth;
        private $importSources;
 
-       /**
-        * Constructor
-        */
        public function __construct() {
                parent::__construct( 'Import', 'import' );
        }
diff --git a/includes/specials/SpecialListusers.php 
b/includes/specials/SpecialListusers.php
index 1a8dccf..dee2968 100644
--- a/includes/specials/SpecialListusers.php
+++ b/includes/specials/SpecialListusers.php
@@ -29,9 +29,7 @@
  * @ingroup SpecialPage
  */
 class SpecialListUsers extends IncludableSpecialPage {
-       /**
-        * Constructor
-        */
+
        public function __construct() {
                parent::__construct( 'Listusers' );
        }
diff --git a/includes/specials/SpecialUpload.php 
b/includes/specials/SpecialUpload.php
index 073e58d..4cdc78f 100644
--- a/includes/specials/SpecialUpload.php
+++ b/includes/specials/SpecialUpload.php
@@ -33,7 +33,6 @@
  */
 class SpecialUpload extends SpecialPage {
        /**
-        * Constructor : initialise object
         * Get data POSTed through the form and assign them to the object
         * @param WebRequest $request Data posted.
         */
diff --git a/includes/tidy/RemexCompatMunger.php 
b/includes/tidy/RemexCompatMunger.php
index dbcf568..a797398 100644
--- a/includes/tidy/RemexCompatMunger.php
+++ b/includes/tidy/RemexCompatMunger.php
@@ -81,8 +81,6 @@
        ];
 
        /**
-        * Constructor
-        *
         * @param Serializer $serializer
         */
        public function __construct( Serializer $serializer ) {
diff --git a/includes/user/UserRightsProxy.php 
b/includes/user/UserRightsProxy.php
index 4df73f7..98586e7 100644
--- a/includes/user/UserRightsProxy.php
+++ b/includes/user/UserRightsProxy.php
@@ -29,8 +29,6 @@
 class UserRightsProxy {
 
        /**
-        * Constructor.
-        *
         * @see newFromId()
         * @see newFromName()
         * @param IDatabase $db Db connection
diff --git a/includes/utils/FileContentsHasher.php 
b/includes/utils/FileContentsHasher.php
index c74b04d..afe9c0a 100644
--- a/includes/utils/FileContentsHasher.php
+++ b/includes/utils/FileContentsHasher.php
@@ -27,9 +27,6 @@
        /** @var FileContentsHasher */
        private static $instance;
 
-       /**
-        * Constructor.
-        */
        public function __construct() {
                $this->cache = ObjectCache::getLocalServerInstance( 'hash' );
        }
diff --git a/languages/ConverterRule.php b/languages/ConverterRule.php
index e51a8ed..8dfe00f 100644
--- a/languages/ConverterRule.php
+++ b/languages/ConverterRule.php
@@ -38,8 +38,6 @@
        public $mUnidtable = [];// array of the translation in each variant
 
        /**
-        * Constructor
-        *
         * @param string $text The text between -{ and }-
         * @param LanguageConverter $converter
         */
diff --git a/maintenance/generateSitemap.php b/maintenance/generateSitemap.php
index fb00bed..fe0691b 100644
--- a/maintenance/generateSitemap.php
+++ b/maintenance/generateSitemap.php
@@ -140,9 +140,6 @@
         */
        private $identifier;
 
-       /**
-        * Constructor
-        */
        public function __construct() {
                parent::__construct();
                $this->addDescription( 'Creates a sitemap for the site' );
diff --git a/maintenance/language/checkLanguage.inc 
b/maintenance/language/checkLanguage.inc
index cf0acde..9e9fd3e 100644
--- a/maintenance/language/checkLanguage.inc
+++ b/maintenance/language/checkLanguage.inc
@@ -40,7 +40,6 @@
        private $includeExif = false;
 
        /**
-        * Constructor.
         * @param array $options Options for script.
         */
        public function __construct( array $options ) {
@@ -557,7 +556,6 @@
        private $extensions;
 
        /**
-        * Constructor.
         * @param array $options Options for script.
         * @param string $extension The extension name (or names).
         */

-- 
To view, visit https://gerrit.wikimedia.org/r/366822
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I474dcdb5997bea3aafd11c0760ee072dfaff124c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Thiemo Mättig (WMDE) <thiemo.maet...@wikimedia.de>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to