|
|
| plantillassysop:="\{\{(sub?st:)?(template:|plantilla:)?(desbloqueo (revisado|aceptado)|(aviso|usuario) bloque[ad]?o|bloqueo|prueba5|aviso (prueba|vandalismo|spam|noesunforo)5|(usuario )?t[íi]t(ere|iritero))(\||\}\})"; | | plantillassysop:="\{\{(sub?st:)?(template:|plantilla:)?(desbloqueo (revisado|aceptado)|(aviso|usuario) bloque[ad]?o|bloqueo|prueba5|aviso (prueba|vandalismo|spam|noesunforo)5|(usuario )?t[íi]t(ere|iritero))(\||\}\})"; |
| plantillastaff:="\{\{(sub?st:)?(template:|plantilla:)?(WMF-legal banned user)(\||\}\})"; | | plantillastaff:="\{\{(sub?st:)?(template:|plantilla:)?(WMF-legal banned user)(\||\}\})"; |
| plantillacheckuser:="\{\{(sub?st:)?(template:|plantilla:)?(bloqueo checkuser)(\||\}\})"; | | plantillacheckuser:="\{\{(sub?st:)?(template:|plantilla:)?(bloqueo checkuser)(\||\}\})"; |
| mencionada:="(\{\{(ep|enlace plantilla|enlace a plantilla|tl|tlx|tlp|tlu|template link|ligação para predefinição|lp|eps)\||<nowiki>|<pre>)(" + plantillassysop + "|" + plantillastaff + "|" + plantillacheckuser + ")"; | | mencionada:="(\{\{(ep|enlace plantilla|enlace a plantilla|tl|tlx|tlp|tlu|template link|ligação para predefinição|lp|eps)\||<nowiki>|<pre>)(" + plantillassysop + "|" + plantillastaff + "|" + plantillacheckuser + ")"; |
| ((! "sysop" in user_groups | | ((! "sysop" in user_groups |
| & (added_lines irlike plantillassysop) | | & (rcount(lcase(plantillassysop), lcase(added_lines)) > rcount(lcase(plantillassysop), lcase(removed_lines))) |
| &! (added_lines irlike mencionada)) | | &! (added_lines irlike mencionada)) |
| | | | | |
| (! "staff" in global_user_groups | | (! "staff" in global_user_groups |
| & (added_lines irlike plantillastaff) | | & (rcount(lcase(plantillastaff), lcase(added_lines)) > rcount(lcase(plantillastaff), lcase(removed_lines))) |
| &! (added_lines irlike mencionada)) | | &! (added_lines irlike mencionada)) |
| | | | | |
| (! "checkuser" in user_groups | | (! "checkuser" in user_groups |
| & (added_lines irlike plantillacheckuser) | | & (rcount(lcase(plantillacheckuser), lcase(added_lines)) > rcount(lcase(plantillacheckuser), lcase(removed_lines))) |
| &! (added_lines irlike mencionada)) | | &! (added_lines irlike mencionada)) |
| ) | | ) |