r108946 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108945‎ | r108946 | r108947 >
Date:23:45, 14 January 2012
Author:reedy
Status:ok
Tags:
Comment:
* (bug 33733) API: Unknown error: mustbeloggedin

Add message to messagemap
Modified paths:
  • /trunk/phase3/includes/api/ApiBase.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiBase.php
@@ -1236,6 +1236,8 @@
12371237 'filename-toolong' => array( 'code' => 'filename-toolong', 'info' => 'The filename is too long' ),
12381238 'illegal-filename' => array( 'code' => 'illegal-filename', 'info' => 'The filename is not allowed' ),
12391239 'filetype-missing' => array( 'code' => 'filetype-missing', 'info' => 'The file is missing an extension' ),
 1240+
 1241+ 'mustbeloggedin' => array( 'code' => 'mustbeloggedin', 'info' => 'You must be logged in to $1.' )
12401242 );
12411243
12421244 /**

Status & tagging log