From 81ef87f61a638d93de686b5572e49fe30e8cd830 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Sat, 14 Jan 2012 23:45:21 +0000 Subject: [PATCH] * (bug 33733) API: Unknown error: mustbeloggedin Add message to messagemap --- includes/api/ApiBase.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/api/ApiBase.php b/includes/api/ApiBase.php index 2cda312987..133339a1b3 100644 --- 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.' ) ); /** -- 2.20.1