Fix incorrect parameter order for dieUsage()
authorSiebrand Mazeland <s.mazeland@xs4all.nl>
Sat, 16 Nov 2013 20:12:12 +0000 (21:12 +0100)
committerSiebrand <siebrand@wikimedia.org>
Sat, 16 Nov 2013 20:13:41 +0000 (20:13 +0000)
Change-Id: Ib163c40d728bacbd16e7c4beaae0c80e79855686

includes/api/ApiComparePages.php

index 79a472c..cbad164 100644 (file)
@@ -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() {