Jump to content

Përshtatja e filtrit të abuzimit

Differences between versions

ArtikulliVersion from 22 mars 2023 12:46 by Klein MuçiVersion from 25 mars 2023 11:19 by Klein Muçi
Filter conditions
Kushtet:
!("autoconfirmed" in user_groups) &
!("autoconfirmed" in user_groups) &
!(equals_to_any(page_namespace, 2,3)) &
!(equals_to_any(page_namespace, 2,3)) &
!(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<20
& edit_delta>-20
& edit_delta>-20
&
&
(
(
  mA := str_replace_regexp(added_lines,  "\D", "");
  mA := str_replace_regexp(added_lines,  "\[(?:[Ff]ile|[Ss]keda)[^]]+\]|<ref[^<]+</ref>|\D", "");
  mR := str_replace_regexp(removed_lines, "\D", "");
  mR := str_replace_regexp(removed_lines, "\[(?:[Ff]ile|[Ss]keda)[^]]+\]|<ref[^<]+</ref>|\D", "");
  mA & mR &
  mA & mR &
  !(mA==mR)
  !(mA==mR)
)
)