Followup r78824: add missing message
authorRoan Kattouw <catrope@users.mediawiki.org>
Wed, 29 Dec 2010 20:20:55 +0000 (20:20 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Wed, 29 Dec 2010 20:20:55 +0000 (20:20 +0000)
includes/api/ApiBase.php

index 0a7b47c..b370108 100644 (file)
@@ -1040,6 +1040,7 @@ abstract class ApiBase {
                'sharedfile-exists' => array( 'code' => 'fileexists-sharedrepo-perm', 'info' => 'The target file exists on a shared repository. Use the ignorewarnings parameter to override it.' ),
                'mustbeposted' => array( 'code' => 'mustbeposted', 'info' => "The \$1 module requires a POST request" ),
                'show' => array( 'code' => 'show', 'info' => 'Incorrect parameter - mutually exclusive values may not be supplied' ),
+               'specialpage-cantexecute' => array( 'code' => 'specialpage-cantexecute', 'info' => "You don't have permission to view the results of this special page" ),
 
                // ApiEditPage messages
                'noimageredirect-anon' => array( 'code' => 'noimageredirect-anon', 'info' => "Anonymous users can't create image redirects" ),