daily pastebin goal
51%
SHARE
TWEET

WikiFilteri

a guest Sep 7th, 2017 85 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Pozdrav! bi li bilo moguće izmijeniti ili dodati filtre zloporaba:
  2.  
  3. * [[en:Special:AbuseFilter/3|AF3]] - sprječava novim suradnicima uklanjanje bris tagova ili preusmjeravanje
  4. new_size < 50 &
  5. ( article_namespace == 0 &
  6.   ( old_size > 300 &
  7.     ( ! "confirmed" in user_groups &
  8.       (
  9.         ! user_name in article_recent_contributors &
  10.         ! lcase(added_lines) irlike "#redirect|#preusmjeri|bris"
  11.       )
  12.     )
  13.   )
  14. )
  15.  
  16. *AF33 - IP ili novi suradnik briše SZR
  17. user_editcount < 12 &
  18. (
  19.   new_size < 100 &
  20.   (
  21.     article_namespace % 2 == 1 &
  22.     (
  23.       old_size > 150 &
  24.       (
  25.         ! user_name in article_prefixedtext &
  26.         article_namespace != 3 &
  27.         ! added_lines irlike "^#\s*(redirect|prreusmjeri)\s*\[\[" &!
  28.       )
  29.     )
  30.   )
  31. )
  32.  
  33. *AF163 - preusmjeravanje na nepostojeću stranicu
  34. !('autoconfirmed' in user_groups) &
  35. (new_size < 500) &
  36. ("#redirect|#preusmjeri" in lcase(new_wikitext)) &
  37. (
  38.   (('class="new"' in new_html) &
  39.   (count('<a', new_html) == 1))
  40.   |
  41.   ((strpos(lcase(added_lines), article_prefixedtext) - strpos(lcase(added_lines), "#redirect|#preusmjeri")) == 12)
  42. )
  43.  
  44.  
  45. * AF220 -  Slike iz vanjskih izvora
  46. article_namespace == 0 &
  47. (
  48.   ! "confirmed" in user_groups &
  49.   (
  50.     added_lines irlike "(<img|<a href|([^\[]|\[\[(File:|Image:|Datoteka:|Slika:)?)https?://[\S]*?\.(jpe?g|png|gif|bmp))" &
  51.     (
  52.       ! removed_lines irlike "(<img|<a href|([^\[]|\[\[(File:|Image:|Datoteka:|Slika:)?)https?://[\S]*?\.(jpe?g|png|gif|bmp))" &
  53.       (
  54.         rcount( "external ?(media|image|audio|video)|<ref>|{{citiranje", lcase(added_lines) ) <=
  55.         rcount( "external ?(media|image|audio|video)|<ref>|{{citiranje", lcase(removed_lines) )
  56.       )
  57.     )
  58.   )
  59. )
  60.  
  61. * AF231 - Puno znakova bez razmaka
  62. !"confirmed" in user_groups & (
  63.   article_namespace == 0 & (
  64.     added_lines rlike "[a-zA-Z0-9]{20,}" & (
  65.       !(removed_lines rlike "[a-zA-Z0-9]{20,}") & (
  66.         !(added_lines rlike "https?://[^ ]*?[a-zA-Z0-9]{20,}") &
  67.         !(added_lines rlike "word|thumb|file|datoteka|niz|slika|sequence")
  68.       )
  69.     )
  70.   )
  71. )
  72.  
  73.  
  74. * AF351 - Dodavanje teksta poslije kategorija
  75. ! 'confirmed' in user_groups & (
  76.   old_size > 0 & (
  77.     (article_namespace == 0 | article_namespace == 14) & (
  78.       added_lines irlike '\n\[\[kategorija:[^\]\n]+\]\][^\s]' & (
  79.       !added_lines irlike '\n\[\[kategorija:[^\]\n]+\]\]\s*<!--' & (
  80.       !removed_lines irlike '\n\[\[kategorija:[^\]\n]+\]\][^\s]'
  81.     )))
  82.   )
  83. )
  84.  
  85. * AF 420 - IP uklanja dio SZR
  86. user_age==0 & (
  87.   edit_delta <= -3000  & (
  88.     article_namespace == 1 & (
  89.       !user_name in removed_lines
  90.     )
  91.   )
  92. )
  93.  
  94. * AF632 - stvaranje praznih stranica
  95. new_size == 0 &
  96. (
  97.  edit_delta == 0 &
  98.  (
  99.   article_namespace == 0 &
  100.   action == 'edit'
  101.  )
  102. )
  103.  
  104. * AF680 - dodavanje emotikona
  105. ! "confirmed" in user_groups &
  106. (
  107.   article_namespace == 0 &
  108.   (
  109.     emoji := "[🌀-🙏🚀-🛳☀-☄☇-☿♃-♬♰-✒✙-➿]";
  110.     rcount( emoji, added_lines ) > 0 &
  111.     (
  112.       rcount( emoji, added_lines ) >
  113.       rcount( emoji, removed_lines ) &
  114.       (
  115.         article_text != "Emoji" & article_text != "Principia Mathematica" &
  116.         ! added_lines irlike "unicode|nihongo" &
  117.       )
  118.     )
  119.   )
  120. )
  121.  
  122. * AF 733 - IP ili novi suradnik uređuje tuđi suradnički prostor
  123. article_namespace == 2 & (
  124.   article_articleid == 0 & (
  125.     int(user_editcount) < 100 & (
  126.       basepagename := (article_text contains "/" ?
  127.           substr(article_text, 0, strpos(article_text, "/")) :
  128.           article_text);
  129.       basepagename != user_name
  130.     )
  131.   )
  132. )
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top