* Bug 39032 - ApiQuery generates help in constructor.
authorReedy <reedy@wikimedia.org>
Sat, 4 Aug 2012 13:35:23 +0000 (14:35 +0100)
committerReedy <reedy@wikimedia.org>
Sat, 4 Aug 2012 13:35:23 +0000 (14:35 +0100)
Functions called unnecesserily, as their return values aren't used
or even cached.

Removing them to reduce the pointless overhead of calling them

Change-Id: I0d8ddab9492ea79d5de4118944e77ac774275506

RELEASE-NOTES-1.20
includes/api/ApiQuery.php

index 3a14f55..75146be 100644 (file)
@@ -223,6 +223,7 @@ upgrade PHP if you have not done so prior to upgrading MediaWiki.
 * (bug 38231) Add xml parse tree to action=parse.
 * Watchlist notification timestamp may be queried by page and may be updated via the API.
 * (bug 38904) prop=revisions&rvstart=... no longer blows up when continuing.
+* (bug 39032) ApiQuery generates help in constructor.
 
 === Languages updated in 1.20 ===
 
index d7c341d..e22ef27 100644 (file)
@@ -119,9 +119,6 @@ class ApiQuery extends ApiBase {
                $this->mPropModuleNames = array_keys( $this->mQueryPropModules );
                $this->mListModuleNames = array_keys( $this->mQueryListModules );
                $this->mMetaModuleNames = array_keys( $this->mQueryMetaModules );
-
-               $this->makeHelpMsgHelper( $this->mQueryPropModules, 'prop' );
-               $this->makeHelpMsgHelper( $this->mQueryListModules, 'list' );
        }
 
        /**