|
|
| 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:)?((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 | | equals_to_any(page_namespace, 2, 3) & ( |
| | (! "sysop" in user_groups |
| & (rcount(lcase(plantillassysop), lcase(added_lines)) > rcount(lcase(plantillassysop), lcase(removed_lines))) | | & (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 |
| & (rcount(lcase(plantillastaff), lcase(added_lines)) > rcount(lcase(plantillastaff), lcase(removed_lines))) | | & (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 |
| & (rcount(lcase(plantillacheckuser), lcase(added_lines)) > rcount(lcase(plantillacheckuser), lcase(removed_lines))) | | & (rcount(lcase(plantillacheckuser), lcase(added_lines)) > rcount(lcase(plantillacheckuser), lcase(removed_lines))) |
| &! (added_lines irlike mencionada)) | | &! (added_lines irlike mencionada)) |
| ) | | ) |