X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiBase.php;h=eafa9ccd1e41fd93b4ca20c78de1d7dd96c1b2cd;hb=f85ae83503058a8fdc7b69bd256fe14fe3821eea;hp=6914b02974f0692fd29f5cd8e7078a4c6798f2cf;hpb=9079f55f69724f45374cfbf41fc2261808ff95bd;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiBase.php b/includes/api/ApiBase.php index 6914b02974..eafa9ccd1e 100644 --- a/includes/api/ApiBase.php +++ b/includes/api/ApiBase.php @@ -1671,6 +1671,10 @@ abstract class ApiBase extends ContextSource { 'code' => 'undofailure', 'info' => 'Undo failed due to conflicting intermediate edits' ), + 'content-not-allowed-here' => array( + 'code' => 'contentnotallowedhere', + 'info' => 'Content model "$1" is not allowed at title "$2"' + ), // Messages from WikiPage::doEit() 'edit-hook-aborted' => array(