User:SilverTester/vector.js: Difference between revisions
From Test Wiki
Content deleted Content added
SilverTester (talk | contribs) No edit summary |
SilverTester (talk | contribs) m test ok. |
||
| Line 44: | Line 44: | ||
tmp = ''; |
tmp = ''; |
||
| ⚫ | |||
if(resub) { |
|||
tmp += '[<a href=' + dire + 'delete&wpReason= |
tmp += '[<a href=' + dire + 'delete&wpReason=' + encodeURIComponent("[[WP:BR#P.C3.A1ginas_de_usuario|Recreación de material borrado]]") + '&speedy=yes>recre</a>] '; |
||
} |
} |
||
| ⚫ | |||
if(resub) { |
|||
tmp += '[<a href=' + dire + 'delete&wpReason= |
tmp += '[<a href=' + dire + 'delete&wpReason=' + encodeURIComponent("[[WP:BR#P.C3.A1ginas_de_usuario|Sin relevancia enciclopédica]]") + '&speedy=yes>sin_rele</a>] '; |
||
} |
} |
||
| ⚫ | |||
if(resub) { |
|||
tmp += '[<a href=' + dire + 'delete&wpReason= |
tmp += '[<a href=' + dire + 'delete&wpReason=' + encodeURIComponent("[[WP:BR#P.C3.A1ginas_de_usuario|Usuario solicitó borrar página en su propio espacio]]") + '&speedy=yes>usuario</a>] '; |
||
} |
|||
if(resub) { |
|||
tmp += '[<a href=' + dire + 'delete&wpReason=Broken_redirect&speedy=yes>redir</a>] '; |
|||
} |
|||
if(resub) { |
|||
tmp += '[<a href=' + dire + 'delete&wpReason=Vandalism&speedy=yes>vand</a>] '; |
|||
} |
|||
if(resub) { |
|||
tmp += '[<a href=' + dire + 'delete&wpReason=unused_template&speedy=yes>unusedT</a>] '; |
|||
} |
|||
if(resub) { |
|||
tmp += '[<a href=' + dire + 'delete&wpReason=-&speedy=yes>–</a>] '; |
|||
} |
|||
| ⚫ | |||
tmp += '[<a href=' + dire + 'delete&wpReason=' + encodeURIComponent("[[WP:BR#Art.C3.ADculos|A2]]: artículo demasiado reducido") + '&speedy=yes>infra</a>] '; |
|||
} |
|||
if(mw.config.get('wgNamespaceNumber') == 0) if(autotrad) { |
|||
tmp += '[<a href=' + dire + 'delete&wpReason=' + encodeURIComponent("[[WP:BR#Art.C3.ADculos|A3]]: sin traducir o traducción automática") + '&speedy=yes>autotrad</a>] '; |
|||
} |
|||
| ⚫ | |||
tmp += '[<a href=' + dire + 'delete&wpReason=' + encodeURIComponent("[[WP:BR#Art.C3.ADculos|A4]]: [[WP:SRA|sin relevancia enciclopédica]]") + '&speedy=yes>sra</a>] '; |
|||
} |
|||
| ⚫ | |||
tmp += '[<a href=' + dire + 'delete&wpReason=' + encodeURIComponent("[[WP:BR#Art.C3.ADculos|A1.3]]: [[WP:FP|fuente primaria]]") + '&speedy=yes>fp</a>] '; |
|||
} |
|||
if(mw.config.get('wgNamespaceNumber') == 0) if(bulo) { |
|||
tmp += '[<a href=' + dire + 'delete&wpReason=' + encodeURIComponent("[[WP:BR#Generales|G5]]: [[WP:BULO|bulo]]") + '&speedy=yes>bulo</a>] '; |
|||
} |
|||
if(mw.config.get('wgNamespaceNumber') == 0) if(ne) { |
|||
tmp += '[<a href=' + dire + 'delete&wpReason=' + encodeURIComponent("[[WP:BR#Art.C3.ADculos|A1]]: [[WP:NO|no enciclopédico]]") + '&speedy=yes>ne</a>] '; |
|||
} |
|||
if(mw.config.get('wgNamespaceNumber') == 0) if(plagio) { |
|||
tmp += '[<a href=' + dire + 'delete&wpReason=' + encodeURIComponent("[[WP:BR#Generales|G6]]: [[WP:DA|violación de los derechos de autor]]") + '&speedy=yes>plagio</a>] '; |
|||
} |
|||
if(mw.config.get('wgNamespaceNumber') == 14) if(catvacia) { |
|||
tmp += '[<a href=' + dire + 'delete&wpReason=' + encodeURIComponent("[[WP:BR#Categor.C3.ADas|C1]]: categoría vacía") + '&speedy=yes>catvacia</a>] '; |
|||
} |
} |
||
if(mw.config.get('wgNamespaceNumber') == 2 || mw.config.get('wgNamespaceNumber') == 3) if(autor) { |
if(mw.config.get('wgNamespaceNumber') == 2 || mw.config.get('wgNamespaceNumber') == 3) if(autor) { |
||
tmp += '[<a href=' + dire + 'delete&wpReason=' + encodeURIComponent("[[WP:BR#P.C3.A1ginas_de_usuario| |
tmp += '[<a href=' + dire + 'delete&wpReason=' + encodeURIComponent("[[WP:BR#P.C3.A1ginas_de_usuario|No enciclopédico]]") + '&speedy=yes>no_enci</a>] '; |
||
} |
} |
||
if(mw.config.get('wgNamespaceNumber') == 2 || mw.config.get('wgNamespaceNumber') == 3) if(usp) { |
if(mw.config.get('wgNamespaceNumber') == 2 || mw.config.get('wgNamespaceNumber') == 3) if(usp) { |
||
tmp += '[<a href=' + dire + 'delete&wpReason=' + encodeURIComponent("[[WP:BR#P.C3.A1ginas_de_usuario| |
tmp += '[<a href=' + dire + 'delete&wpReason=' + encodeURIComponent("[[WP:BR#P.C3.A1ginas_de_usuario|Pruebas de edición]]") + '&speedy=yes>pruebas</a>] '; |
||
} |
} |
||