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:
fb8c684
)
Fix possible error texts in action=options
author
umherirrender
<umherirrender_de.wp@web.de>
Sat, 4 Aug 2012 14:18:18 +0000
(16:18 +0200)
committer
umherirrender
<umherirrender_de.wp@web.de>
Sat, 4 Aug 2012 14:18:18 +0000
(16:18 +0200)
Change-Id: I465b9cf109bd4f22542747ca72876caa3725a353
includes/api/ApiOptions.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiOptions.php
b/includes/api/ApiOptions.php
index
d3847a0
..
4398eb0
100644
(file)
--- a/
includes/api/ApiOptions.php
+++ b/
includes/api/ApiOptions.php
@@
-135,8
+135,8
@@
class ApiOptions extends ApiBase {
public function getPossibleErrors() {
return array_merge( parent::getPossibleErrors(), array(
- array( '
notloggedin
' ),
- array( '
nochanges
' ),
+ array( '
code' => 'notloggedin', 'info' => 'Anonymous users cannot change preferences
' ),
+ array( '
code' => 'nochanges', 'info' => 'No changes were requested
' ),
) );
}