Legoktm has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/205257

Change subject: ApiFormatPhp: Fix dieUsage call on unknown formatversion value
......................................................................

ApiFormatPhp: Fix dieUsage call on unknown formatversion value

Same as Ib6cee829b589

Change-Id: Ib695520b620e57dba342d984856e58adeaeb4ca8
---
M includes/api/ApiFormatPhp.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/57/205257/1

diff --git a/includes/api/ApiFormatPhp.php b/includes/api/ApiFormatPhp.php
index a6a6f32..d88dd40 100644
--- a/includes/api/ApiFormatPhp.php
+++ b/includes/api/ApiFormatPhp.php
@@ -55,7 +55,7 @@
                                break;
 
                        default:
-                               self::dieUsage( __METHOD__ . ': Unknown value 
for \'formatversion\'' );
+                               $this->dieUsage( __METHOD__ . ': Unknown value 
for \'formatversion\'', 'unknownformatversion' );
                }
                $text = serialize( $this->getResult()->getResultData( null, 
$transforms ) );
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib695520b620e57dba342d984856e58adeaeb4ca8
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to