User talk:Chrs: Difference between revisions
Add topicContent added Content deleted
ApexAgunomu (talk | contribs) (Never mind, figured out how to edit my page over there.) Tag: Manual revert |
ApexAgunomu (talk | contribs) (ββCan you fix my errors in filter 60?: new section) |
||
Line 34: | Line 34: | ||
https://publictestwiki.com/w/index.php?title=Translation-test/en&action=edit&redlink=1 [[User:ApexAgunomu|ApexAgunomu]] ([[User talk:ApexAgunomu|talk]]) 01:22, 28 March 2022 (UTC) |
https://publictestwiki.com/w/index.php?title=Translation-test/en&action=edit&redlink=1 [[User:ApexAgunomu|ApexAgunomu]] ([[User talk:ApexAgunomu|talk]]) 01:22, 28 March 2022 (UTC) |
||
== Can you fix my errors in filter 60? == |
|||
Hi Chrs. I was changing filter 60 a little to make it more effective at "preventing mayhem". However I can't save it due to an error I keep getting and don't know how to fix. Here's my updated version of the code: |
|||
action == "edit" & |
|||
user_name == "ApexAgunomu" & |
|||
( |
|||
( |
|||
regexp := '(\b|\d)(h(i|ey) *people|fucker|sh(i|!))thead|ret(a|@))rd|n(i|!))gger|f(a|@))ggot|trann(ie|y))s?(\b|\d)'; |
|||
( |
|||
(added_lines irlike regexp) & |
|||
!(removed_lines irlike regexp) |
|||
) | ( |
|||
page_title irlike regexp & |
|||
page_age == 0 |
|||
) |
|||
) | ( /* new pages starting with hi/hey */ |
|||
added_lines irlike '^[\d\W]*h+(i|e+y)\W+\w' & |
|||
page_age == 0 |
|||
) | ( /* adding nonsense categories (no spaces, 3+ consonants,2+ vowels) to non-test pages */ |
|||
added_lines irlike '\[\[Category:\w*[b-df-hj-np-tv-z]{3,}\w*]]' & |
|||
old_wikitext irlike '\[\[Category:Non-test pages({{|]])' |
|||
) |
|||
) & |
|||
!(summary irlike '\b(revert|rv|undid|undo|restor)') |
|||
Thanks for your help with this! [[User:ApexAgunomu|ApexAgunomu]] ([[Special:Contribs/ApexAgunomu|<span style="color:red">My changes here</span>]] | [[Special:Newsection/User talk:ApexAgunomu|<span style="color:#0080ff">Drop me a line</span>]]) 14:23, 19 April 2022 (UTC) |