Fix action= examples from r95572, need abusefilter prefix

This commit is contained in:
Sam Reed 2012-01-13 21:36:51 +00:00
parent 1b383fe0ae
commit 76a226ed77
Notes: Raimond Spekking 2012-03-12 20:46:25 +00:00
4 changed files with 6 additions and 6 deletions

View file

@ -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'
);
}

View file

@ -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$';
}
}
}

View file

@ -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")'
);
}

View file

@ -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'
);
}