Content deleted Content added
fix youtube link |
test link=no |
||
Line 82:
{'https://es.wikipedia.org/wiki/Milord_%28tratamiento%29', '[[:es:Milord (tratamiento)]]'},
{'https://es.wikipedia.org/wiki/Wikipedia:Cartelera_de_acontecimientos', '[[:es:Wikipedia:Cartelera de acontecimientos]]'},
})
end
function p:test_colon_trick()
self:preprocess_no_link('{{#invoke:UrlToWiki|urlToWiki|', '}}', {
{'https://en.wikipedia.org/wiki/Banana|link=no', 'Banana'},
{'https://en.wikipedia.org/wiki/English_language|link=no', 'English language'},
{'https://en.wikipedia.org/wiki/Module:UnitTests|link=no', 'Module:UnitTests'},
{'https://en.wikipedia.org/wiki/Wikipedia_talk:Articles_for_deletion|link=no', 'Wikipedia talk:Articles for deletion'},
{'1=https://en.wikipedia.org/w/index.php?title=Banana|link=no', 'Banana'},
{'1=https://en.wikipedia.org/w/index.php?title=English_language|link=no', 'English language'},
{'1=https://en.wikipedia.org/w/index.php?title=Module:UnitTests|link=no', 'Module:UnitTests'},
{'1=https://en.wikipedia.org/w/index.php?title=Wikipedia_talk:Articles_for_deletion|link=no', 'Wikipedia talk:Articles for deletion'},
{'Banana|link=no', 'Banana'},
{'English_language|link=no', 'English language'},
{'Module:UnitTests|link=no', 'Module:UnitTests'},
{'Wikipedia_talk:Articles_for_deletion|link=no', 'Wikipedia talk:Articles for deletion'},
{'https://en.wikipedia.org/wiki/Category:Wikipedians|link=no', 'Category:Wikipedians'},
{'https://en.wikipedia.org/wiki/File:Example.png|link=no', 'File:Example.png'},
{'https://en.wikipedia.org/wiki/Image:Example.png|link=no', 'Image:Example.png'},
{'https://en.wikipedia.org/wiki/Wikipedia_talk:Articles_for_deletion|link=no', 'Wikipedia talk:Articles for deletion'},
{'https://es.wikipedia.org/wiki/Milord_%28tratamiento%29|link=no', 'es:Milord (tratamiento)'},
{'https://es.wikipedia.org/wiki/Wikipedia:Cartelera_de_acontecimientos|link=no', 'es:Wikipedia:Cartelera de acontecimientos'},
})
end
|