Index: trunk/phase3/includes/api/ApiQueryAllimages.php |
— | — | @@ -126,7 +126,7 @@ |
127 | 127 | if ( !is_null( $params['mime'] ) ) { |
128 | 128 | global $wgMiserMode; |
129 | 129 | if ( $wgMiserMode ) { |
130 | | - $this->dieUsage( 'MIME search disabled in Miser Mode', 'mimeearchdisabled' ); |
| 130 | + $this->dieUsage( 'MIME search disabled in Miser Mode', 'mimesearchdisabled' ); |
131 | 131 | } |
132 | 132 | |
133 | 133 | list( $major, $minor ) = File::splitMime( $params['mime'] ); |
— | — | @@ -259,7 +259,7 @@ |
260 | 260 | return array_merge( parent::getPossibleErrors(), array( |
261 | 261 | array( 'code' => 'params', 'info' => 'Use "gaifilterredir=nonredirects" option instead of "redirects" when using allimages as a generator' ), |
262 | 262 | array( 'code' => 'unsupportedrepo', 'info' => 'Local file repository does not support querying all images' ), |
263 | | - array( 'code' => 'mimeearchdisabled', 'info' => 'MIME search disabled in Miser Mode' ), |
| 263 | + array( 'code' => 'mimesearchdisabled', 'info' => 'MIME search disabled in Miser Mode' ), |
264 | 264 | array( 'code' => 'invalidsha1hash', 'info' => 'The SHA1 hash provided is not valid' ), |
265 | 265 | array( 'code' => 'invalidsha1base36hash', 'info' => 'The SHA1Base36 hash provided is not valid' ), |
266 | 266 | ) ); |
Index: trunk/phase3/includes/api/ApiQueryImageInfo.php |
— | — | @@ -533,7 +533,7 @@ |
534 | 534 | |
535 | 535 | /** |
536 | 536 | * Return the API documentation for the parameters. |
537 | | - * @return {Array} parameter documentation. |
| 537 | + * @return Array parameter documentation. |
538 | 538 | */ |
539 | 539 | public function getParamDescription() { |
540 | 540 | $p = $this->getModulePrefix(); |
Index: trunk/phase3/includes/GlobalFunctions.php |
— | — | @@ -2174,8 +2174,6 @@ |
2175 | 2175 | return false; |
2176 | 2176 | } |
2177 | 2177 | |
2178 | | - |
2179 | | - |
2180 | 2178 | static $formats = array( |
2181 | 2179 | TS_UNIX => 'U', |
2182 | 2180 | TS_MW => 'YmdHis', |