dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44b34a3
)
Fix incorrect parameter order for dieUsage()
author
Siebrand Mazeland
<s.mazeland@xs4all.nl>
Sat, 16 Nov 2013 20:12:12 +0000
(21:12 +0100)
committer
Siebrand
<siebrand@wikimedia.org>
Sat, 16 Nov 2013 20:13:41 +0000
(20:13 +0000)
Change-Id: Ib163c40d728bacbd16e7c4beaae0c80e79855686
includes/api/ApiComparePages.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiComparePages.php
b/includes/api/ApiComparePages.php
index
79a472c
..
cbad164
100644
(file)
--- 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() {