diff --git a/api/ApiAbuseFilterCheckMatch.php b/api/ApiAbuseFilterCheckMatch.php index a5f6dbd13..5490cc9e5 100644 --- a/api/ApiAbuseFilterCheckMatch.php +++ b/api/ApiAbuseFilterCheckMatch.php @@ -103,7 +103,7 @@ class ApiAbuseFilterCheckMatch extends ApiBase { public function getExamples() { return array( - 'api.php?action=checkfiltermatch&filter=!("autoconfirmed"%20in%20user_groups)&rcid=15' + 'api.php?action=abusefiltercheckmatch&filter=!("autoconfirmed"%20in%20user_groups)&rcid=15' ); } diff --git a/api/ApiAbuseFilterCheckSyntax.php b/api/ApiAbuseFilterCheckSyntax.php index be7786c11..379253ea2 100644 --- a/api/ApiAbuseFilterCheckSyntax.php +++ b/api/ApiAbuseFilterCheckSyntax.php @@ -54,12 +54,12 @@ class ApiAbuseFilterCheckSyntax extends ApiBase { public function getExamples() { return array( - 'api.php?action=checkfiltersyntax&filter="foo"', - 'api.php?action=checkfiltersyntax&filter="bar"%20bad_variable', + 'api.php?action=abusefilterchecksyntax&filter="foo"', + 'api.php?action=abusefilterchecksyntax&filter="bar"%20bad_variable', ); } public function getVersion() { return __CLASS__ . ': $Id$'; } -} \ No newline at end of file +} diff --git a/api/ApiAbuseFilterEvalExpression.php b/api/ApiAbuseFilterEvalExpression.php index 84a37c695..74c66fe25 100644 --- a/api/ApiAbuseFilterEvalExpression.php +++ b/api/ApiAbuseFilterEvalExpression.php @@ -31,7 +31,7 @@ class ApiAbuseFilterEvalExpression extends ApiBase { public function getExamples() { return array( - 'api.php?action=evalfilterexpression&expression=lcase("FOO")' + 'api.php?action=abusefilterevalexpression&expression=lcase("FOO")' ); } diff --git a/api/ApiAbuseFilterUnblockAutopromote.php b/api/ApiAbuseFilterUnblockAutopromote.php index b0e1491c8..79c3fec20 100644 --- a/api/ApiAbuseFilterUnblockAutopromote.php +++ b/api/ApiAbuseFilterUnblockAutopromote.php @@ -75,7 +75,7 @@ class ApiAbuseFilterUnblockAutopromote extends ApiBase { public function getExamples() { return array( - 'api.php?action=unblockautopromote&user=Bob' + 'api.php?action=abusefilterunblockautopromote&user=Bob' ); }