Remove the "flag the edit in the abuse log" checkbox

Bug: T154091
Change-Id: I40c3176127bb168672b376147bffcdbd2aaff237
This commit is contained in:
Huji Lee 2017-02-13 12:36:36 -05:00
parent 2504fcfe75
commit 8f53126853
4 changed files with 1 additions and 12 deletions

View file

@ -651,14 +651,6 @@ class AbuseFilterViewEdit extends AbuseFilterView {
Xml::buildForm( $throttleFields )
);
return $throttleSettings;
case 'flag':
$checkbox = Xml::checkLabel(
$this->msg( 'abusefilter-edit-action-flag' )->text(),
'wpFilterActionFlag',
"mw-abusefilter-action-checkbox-$action",
true,
array( 'disabled' => '1', 'class' => 'mw-abusefilter-action-checkbox' ) );
return Xml::tags( 'p', null, $checkbox );
case 'warn':
global $wgAbuseFilterDefaultWarningMessage;
$output = '';
@ -748,7 +740,7 @@ class AbuseFilterViewEdit extends AbuseFilterView {
default:
// Give grep a chance to find the usages:
// abusefilter-edit-action-warn, abusefilter-edit-action-disallow
// abusefilter-edit-action-flag, abusefilter-edit-action-blockautopromote
// abusefilter-edit-action-blockautopromote
// abusefilter-edit-action-degroup, abusefilter-edit-action-block
// abusefilter-edit-action-throttle, abusefilter-edit-action-rangeblock
// abusefilter-edit-action-tag

View file

@ -199,7 +199,6 @@
"config": {
"@doc": "see AbuseFilter.php",
"AbuseFilterActions": {
"flag": true,
"throttle": true,
"warn": true,
"disallow": true,

View file

@ -150,7 +150,6 @@
"abusefilter-edit-consequences": "Actions to take when matched",
"abusefilter-edit-action-warn": "Trigger these actions after giving the user a warning",
"abusefilter-edit-action-disallow": "Prevent the user from performing the action in question",
"abusefilter-edit-action-flag": "Flag the edit in the abuse log",
"abusefilter-edit-action-blockautopromote": "Revoke the user's autoconfirmed status",
"abusefilter-edit-action-degroup": "Remove the user from all privileged groups",
"abusefilter-edit-action-block": "Block the user and/or IP address from editing",

View file

@ -181,7 +181,6 @@
"abusefilter-edit-consequences": "Shown as the header of a section on the filter editing page, showing a list of checkboxes with different action names, and as the table header on the filter version differences page. Refers to a list of actions that will be triggered when an edit matches the filter.",
"abusefilter-edit-action-warn": "{{doc-abusefilter-action}}",
"abusefilter-edit-action-disallow": "{{doc-abusefilter-action}}",
"abusefilter-edit-action-flag": "{{doc-abusefilter-action}}",
"abusefilter-edit-action-blockautopromote": "{{doc-abusefilter-action}}",
"abusefilter-edit-action-degroup": "{{doc-abusefilter-action}}",
"abusefilter-edit-action-block": "{{doc-abusefilter-action}}",