From 4c5088e6356d88a70f657ee7ebad711cad084472 Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Sat, 16 Nov 2013 21:12:12 +0100 Subject: [PATCH] Fix incorrect parameter order for dieUsage() Change-Id: Ib163c40d728bacbd16e7c4beaae0c80e79855686 --- includes/api/ApiComparePages.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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() { -- 2.20.1