Abuse filter management

Abuse Filter navigation (Home | Recent filter changes | Examine past edits | Abuse log)
Jump to navigation Jump to search

Differences between versions

ItemVersion from 20:59, 3 December 2022 by TigerfellVersion from 17:37, 4 December 2022 by Tigerfell
Filter conditions
Conditions:
ltemplates := "{{ *(AGPL|Apache license 2.0|Assumed-CC-BY-SA-2.0-self|Attribution|Bing image|Bing image portions|BSD|CC-BY-(NC-|)(ND-|)(SA-|)(2.0|2.5|3.0|4.0|)(-self| OpenStreetMap|)|CC-SA-1.0|CC0|CC0-self|Esri image|Geograph|GFDL|GPL|ID screenshot|ISC|JOSM Icon license( with imagery| without imagery|)|LGPL|Licence Ouverte( 2|)|Mapbox image credit|Maxar image|MIT|MPL|ODbL( OpenStreetMap|)|OSM Carto (example|icon|screenshot)|PD(-B-road-sign|-CAGov|-creator|-old|-PRC-Road Traffic Signs|-RU-exempt|-self|-shape|-USGov|-USGov-NOAA|)|Self-made-image|Tiles@Home screenshot|WTFPL(-self|)) *(\||}})";
ltemplates := "{{ *(AGPL|Apache license 2.0|Assumed-CC-BY-SA-2.0-self|Attribution|Bing image|Bing image portions|BSD|CC-BY-(NC-|)(ND-|)(SA-|)(2.0|2.5|3.0|4.0|)(-self| OpenStreetMap|)|CC-SA-1.0|CC0|CC0-self|Esri image|Geograph|GFDL|GPL|ID screenshot|ISC|JOSM Icon license( with imagery| without imagery|)|LGPL|Licence Ouverte( 2|)|Mapbox image credit|Maxar image|MIT|MPL|ODbL( OpenStreetMap|)|OSM Carto (example|icon|screenshot)|PD(-B-road-sign|-CAGov|-creator|-old|-PRC-Road Traffic Signs|-RU-exempt|-self|-shape|-USGov|-USGov-NOAA|)|Self-made-image|Tiles@Home screenshot|WTFPL(-self|)) *(\||}})";
(action == 'stashupload' | action == 'upload')
(action == 'stashupload' | action == 'upload')
& !("bot" in user_groups)  
& !("bot" in user_groups)  
& !(new_wikitext rlike ltemplates)
& !(new_wikitext rlike ltemplates)
& !(old_wikitext rlike ltemplates) /* needed for re-uploads with existing license templates */