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:
dbfcb63
)
* (bug 33733) API: Unknown error: mustbeloggedin
author
Sam Reed
<reedy@users.mediawiki.org>
Sat, 14 Jan 2012 23:45:21 +0000
(23:45 +0000)
committer
Sam Reed
<reedy@users.mediawiki.org>
Sat, 14 Jan 2012 23:45:21 +0000
(23:45 +0000)
Add message to messagemap
includes/api/ApiBase.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiBase.php
b/includes/api/ApiBase.php
index
2cda312
..
133339a
100644
(file)
--- a/
includes/api/ApiBase.php
+++ b/
includes/api/ApiBase.php
@@
-1236,6
+1236,8
@@
abstract class ApiBase extends ContextSource {
'filename-toolong' => array( 'code' => 'filename-toolong', 'info' => 'The filename is too long' ),
'illegal-filename' => array( 'code' => 'illegal-filename', 'info' => 'The filename is not allowed' ),
'filetype-missing' => array( 'code' => 'filetype-missing', 'info' => 'The file is missing an extension' ),
+
+ 'mustbeloggedin' => array( 'code' => 'mustbeloggedin', 'info' => 'You must be logged in to $1.' )
);
/**