MediaWiki talk:Abusefilter

From Skyscraper Wiki
Revision as of 21:09, 15 March 2024 by Elevator1512 (talk | contribs) (→‎New Filter Issues: new section)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Latest comment: 15 March by Elevator1512 in topic New Filter Issues
Jump to navigation Jump to search

New Filter Issues

I'm currently working on the 7 days / 20 edits restriction to prevent most spam page creations while making exceptions for trusted IP addresses that have made good-faith page contributions. A test was done at Simple - Concord and the filter didn't pick up the IP action even though it created a page and was not in the trusted IP list. Here's what the code looks like, if there's any issues:

!contains_any(user_groups, "sysop", "bot") &

(

action == "create" &

page_namespace == 0 &

page_age == 0 &

user_age < 604800 & /* in seconds = 7 * 24 * 60 * 60 */

user_editcount < 20 &

!ip_in_range(user_name, "2601:983:281:2160:0:0:0:0/64")

)

I'd like to implement the filter soon, which I've temporarily disabled for debugging purposes. Elevator1512 (talk) 22:09, 15 March 2024 (CDT)Reply[reply]