X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiBase.php;h=eafa9ccd1e41fd93b4ca20c78de1d7dd96c1b2cd;hb=596e959d23855643124ea0f6e395be5a2b436937;hp=6914b02974f0692fd29f5cd8e7078a4c6798f2cf;hpb=914e7e2b5d34104bd9ae800f632c68ddc6eecef1;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(