User:SilverTester/vector.js: Difference between revisions
From Test Wiki
Content deleted Content added
SilverTester (talk | contribs) m test ok. |
SilverTester (talk | contribs) m rv done |
||
| Line 44: | Line 44: | ||
tmp = ''; |
tmp = ''; |
||
if(resub) { |
|||
| ⚫ | |||
tmp += '[<a href=' + dire + 'delete&wpReason= |
tmp += '[<a href=' + dire + 'delete&wpReason=Test_done&speedy=yes>test</a>] '; |
||
} |
} |
||
if(resub) { |
|||
| ⚫ | |||
tmp += '[<a href=' + dire + 'delete&wpReason= |
tmp += '[<a href=' + dire + 'delete&wpReason=Author_request&speedy=yes>author</a>] '; |
||
} |
} |
||
if(resub) { |
|||
| ⚫ | |||
tmp += '[<a href=' + dire + 'delete&wpReason= |
tmp += '[<a href=' + dire + 'delete&wpReason=Blocked_user&speedy=yes>block</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|U1]]: a petición del autor") + '&speedy=yes>autor</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|U3]]: [[WP:PU|uso indebido de página de usuario]]") + '&speedy=yes>usp</a>] '; |
||
} |
} |
||