mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-27 15:30:42 +00:00
Fix action= examples from r95572, need abusefilter prefix
This commit is contained in:
parent
1b383fe0ae
commit
76a226ed77
Notes:
Raimond Spekking
2012-03-12 20:46:25 +00:00
|
@ -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'
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -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$';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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")'
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -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'
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue