From: Siebrand Mazeland Date: Sat, 16 Nov 2013 20:12:12 +0000 (+0100) Subject: Fix incorrect parameter order for dieUsage() X-Git-Tag: 1.31.0-rc.0~18083^2 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=4c5088e6356d88a70f657ee7ebad711cad084472;p=lhc%2Fweb%2Fwiklou.git Fix incorrect parameter order for dieUsage() Change-Id: Ib163c40d728bacbd16e7c4beaae0c80e79855686 --- diff --git a/includes/api/ApiComparePages.php b/includes/api/ApiComparePages.php index 79a472cda6..cbad164b03 100644 --- a/includes/api/ApiComparePages.php +++ b/includes/api/ApiComparePages.php @@ -98,7 +98,10 @@ class ApiComparePages extends ApiBase { return $title->getLatestRevID(); } - $this->dieUsage( 'inputneeded', 'A title, a page ID, or a revision number is needed for both the from and the to parameters' ); + $this->dieUsage( + 'A title, a page ID, or a revision number is needed for both the from and the to parameters', + 'inputneeded' + ); } public function getAllowedParams() {