X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiProtect.php;h=ae7d42b2d0fdd8549923a61bab3f1dce26aebf5e;hb=c73cd2ef7c8bc36e8d0e1e6970347df564782db3;hp=f5786e8abc25b2d66d409d911b110e6e96218aeb;hpb=08aaea93e300d3b34befdbd30368c1293973760e;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiProtect.php b/includes/api/ApiProtect.php index f5786e8abc..ae7d42b2d0 100644 --- a/includes/api/ApiProtect.php +++ b/includes/api/ApiProtect.php @@ -179,7 +179,7 @@ class ApiProtect extends ApiBase { return 'csrf'; } - public function getExamplesMessages() { + protected function getExamplesMessages() { return array( 'action=protect&title=Main%20Page&token=123ABC&' . 'protections=edit=sysop|move=sysop&cascade=&expiry=20070901163000|never'