http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89543
Revision: 89543
Author: reedy
Date: 2011-06-05 23:44:37 +0000 (Sun, 05 Jun 2011)
Log Message:
-----------
Fixup error message
Remove {} (documentation tweaks)
Remove whitespace
Modified Paths:
--------------
trunk/phase3/includes/GlobalFunctions.php
trunk/phase3/includes/api/ApiQueryAllimages.php
trunk/phase3/includes/api/ApiQueryImageInfo.php
Modified: trunk/phase3/includes/GlobalFunctions.php
===================================================================
--- trunk/phase3/includes/GlobalFunctions.php 2011-06-05 23:40:57 UTC (rev
89542)
+++ trunk/phase3/includes/GlobalFunctions.php 2011-06-05 23:44:37 UTC (rev
89543)
@@ -2174,8 +2174,6 @@
return false;
}
-
-
static $formats = array(
TS_UNIX => 'U',
TS_MW => 'YmdHis',
Modified: trunk/phase3/includes/api/ApiQueryAllimages.php
===================================================================
--- trunk/phase3/includes/api/ApiQueryAllimages.php 2011-06-05 23:40:57 UTC
(rev 89542)
+++ trunk/phase3/includes/api/ApiQueryAllimages.php 2011-06-05 23:44:37 UTC
(rev 89543)
@@ -126,7 +126,7 @@
if ( !is_null( $params['mime'] ) ) {
global $wgMiserMode;
if ( $wgMiserMode ) {
- $this->dieUsage( 'MIME search disabled in Miser
Mode', 'mimeearchdisabled' );
+ $this->dieUsage( 'MIME search disabled in Miser
Mode', 'mimesearchdisabled' );
}
list( $major, $minor ) = File::splitMime(
$params['mime'] );
@@ -259,7 +259,7 @@
return array_merge( parent::getPossibleErrors(), array(
array( 'code' => 'params', 'info' => 'Use
"gaifilterredir=nonredirects" option instead of "redirects" when using
allimages as a generator' ),
array( 'code' => 'unsupportedrepo', 'info' => 'Local
file repository does not support querying all images' ),
- array( 'code' => 'mimeearchdisabled', 'info' => 'MIME
search disabled in Miser Mode' ),
+ array( 'code' => 'mimesearchdisabled', 'info' => 'MIME
search disabled in Miser Mode' ),
array( 'code' => 'invalidsha1hash', 'info' => 'The SHA1
hash provided is not valid' ),
array( 'code' => 'invalidsha1base36hash', 'info' =>
'The SHA1Base36 hash provided is not valid' ),
) );
Modified: trunk/phase3/includes/api/ApiQueryImageInfo.php
===================================================================
--- trunk/phase3/includes/api/ApiQueryImageInfo.php 2011-06-05 23:40:57 UTC
(rev 89542)
+++ trunk/phase3/includes/api/ApiQueryImageInfo.php 2011-06-05 23:44:37 UTC
(rev 89543)
@@ -533,7 +533,7 @@
/**
* Return the API documentation for the parameters.
- * @return {Array} parameter documentation.
+ * @return Array parameter documentation.
*/
public function getParamDescription() {
$p = $this->getModulePrefix();
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs