Jump to content

Shpërdoro filtër menaxhmentin

Differences between versions

ArtikulliVersion from 11 mars 2022 03:12 by Klein MuçiVersion from 30 mars 2022 15:24 by Klein Muçi
Filter conditions
Kushtet:
!contains_any(user_groups, "sysop", "bureaucrat") &
!contains_any(user_groups, "sysop", "bureaucrat") &
!(equals_to_any(page_id, 3157)) &  
!(equals_to_any(page_id, 3157)) &  
(
(
       bad_word := "ky\s*i?\s*imi|k[eë]t\s*(?:timin|karin|rakun)\s*t[ie]m\s*n[eë]\s*goj[eë]|m[ae]rr?\s*n[eë]?\s*goj[eë]?|na\s*keni\s*[cç]ar[eë]?|na\s[cç]a(?:ve|t[eë]?)";
       bad_word := "ky\s*i?\s*imi|k[eë]t\s*(?:timin|karin|rakun)\s*t[ie]m\s*n[eë]\s*goj[eë]|m[ae]rr?\s*n[eë]?\s*goj[eë]?|na\s*keni\s*[cç]ar[eë]?|na\s[cç]a(?:ve|t[eë]?)|\blesh\s+lesh\b";
             match := get_matches(bad_word, summary);
             match := get_matches(bad_word, summary);
     match[0] & !(match[0] in old_wikitext)
     match[0] & !(match[0] in old_wikitext)
)
)