Jump to content

Përshtatja e filtrit të abuzimit

Differences between versions

ArtikulliVersion from 25 mars 2023 14:12 by Klein MuçiVersion from 26 mars 2023 22:18 by Klein Muçi
Filter conditions
Kushtet:
!("autoconfirmed" in user_groups) &
!("autoconfirmed" in user_groups) &
(equals_to_any(page_namespace, 0)) &
(equals_to_any(page_namespace, 0)) &
!(equals_to_any(page_id, 25990)) &
!(equals_to_any(page_id, 25990)) &
action == "edit" &
action == "edit" &
(
(
  user_summary := get_matches("(?:/\*[^*]+\*/)?(.*)", summary)[1];
  user_summary := get_matches("(?:/\*[^*]+\*/)?(.*)", summary)[1];
  length(user_summary) < 15
  length(user_summary) < 15
)
)
& edit_delta<20
& edit_delta<50
& edit_delta>-20
& edit_delta>-50
&
&
(
(
  mA := str_replace_regexp(added_lines,  "\[(?:[Ff]ile|[Ss]keda)[^]]+\]|<ref[^<]+</ref>|\D", "");
  mA := str_replace_regexp(added_lines,  "\[(?:[Ff]ile|[Ss]keda)[^]]+\]|<ref[^<]+</ref>|\D", "");
  mR := str_replace_regexp(removed_lines, "\[(?:[Ff]ile|[Ss]keda)[^]]+\]|<ref[^<]+</ref>|\D", "");
  mR := str_replace_regexp(removed_lines, "\[(?:[Ff]ile|[Ss]keda)[^]]+\]|<ref[^<]+</ref>|\D", "");
  mA & mR &
  mA & mR &
  !(mA==mR)
  !(mA==mR)
)
)