Bước tới nội dung

Quản lý bộ lọc sai phạm

Khác biệt giữa các phiên bản

Khoản mụcPhiên bản vào 06:08, ngày 15 tháng 10 năm 2020 bởi PlantaestPhiên bản vào 06:16, ngày 15 tháng 10 năm 2020 bởi Plantaest
Điều kiện lọc
Các điều kiện:
!contains_any(user_rights, "bot", "extendedconfirmed") &
!contains_any(user_rights, "bot", "extendedconfirmed") &
page_namespace == 0 &
page_namespace == 0 &
(
(
     my_regex := "(?i)(ngày\s\d{1,2}\s|\d{1,2}\s|)tháng\s\d{1,2}(\snăm\s\d{1,4}|)";
     my_regex := "(?i)(ngày\s\d{1,2}\s|\d{1,2}\s|)tháng\s\d{1,2}(\snăm\s\d{1,4}|)";
new := get_matches(my_regex, added_lines);
new := get_matches(my_regex, added_lines);
old := get_matches(my_regex, removed_lines);
old := get_matches(my_regex, removed_lines);
(new[0] != old[0]) & (old[0] != "") & (new[0] != "")
(old[0] != "") & (new[0] != "") & (new[0] != old[0])
)
)