Commons:File renaming/Global replace/Abuse Filter
If you are an Abuse Filter editor of a Wikimedia wiki, or you are an administrator (a user belonging to the sysop
user group), you most likely have necessary permission for creating an Abuse Filter to prevent Commons Global Replace edits submitted by individual user accounts. You might have various reasons for doing so, for example to prevent edits that are not automatically patrolled. In case these edits are prevented, Commons Global Replace system will instruct CommonsDelinker (a global bot) which will then carry out the edit. It would be kind, though, if you would notify Wikimedia Commons about such opt-outs (and the reasons), as this will help us to understand our the users of our media files better, and so we can design our software more efficiently and intelligently.
How to create a new filter
- Convenience way
Navigate to Special:AbuseFilter/import
on your wiki, insert the following text and press Import data:
{"row":{"af_id":"148","af_pattern":"(action === 'edit')\r\n\u0026 !('autopatrol' in user_rights)\r\n\u0026 (summary rlike '^\\(\\[\\[c\\:GR\\|GR\\]\\]\\)')","af_user":"16603","af_user_text":"Rillke","af_timestamp":"20150201145938","af_enabled":"1","af_comments":"Prevent non-autopatrolled users from replacing files on this wiki.\r\nReference: https://commons.wikimedia.org/wiki/Commons:File_renaming/Global_replace/Abuse_Filter","af_public_comments":"Disallow Commons Global Replace","af_hidden":"0","af_hit_count":"2","af_throttled":"0","af_deleted":"0","af_actions":"disallow","af_global":"0","af_group":"default"},"actions":{"disallow":{"action":"disallow","parameters":[""]}}}
- Ex manus
Navigate to Special:AbuseFilter/new
on your wiki. Fill in the following values:
- Description:
- (publicly viewable) Disallow Commons Global Replace
- Conditions:
(action === 'edit') & !('autopatrol' in user_rights) & (summary rlike '^\(\[\[c\:GR\|GR\]\]\)')
- Notes:
Prevent non-autopatrolled users from replacing files on this wiki. Reference: https://commons.wikimedia.org/wiki/Commons:File_renaming/Global_replace/Abuse_Filter
- ☑ Enable this filter
- ☑ Prevent the user from performing the action in question