User:Lenore/autolink.js: Difference between revisions

Content deleted Content added
mNo edit summary
+Special:Log; +pipe (\|) as URL delimiter
Line 49:
*/___location.href.indexOf('Speciale:PaginePiùRecenti') != -1 || /*
*/___location.href.indexOf('Special:NewPages') != -1 || /*
*/___location.href.indexOf('Speciale:Registri') != -1 || /*
*/___location.href.indexOf('Special:Log') != -1 || /*
*/___location.href.indexOf('Speciale:Contributi') != -1 || /*
*/___location.href.indexOf('Special:Contributions') != -1;
Line 98 ⟶ 100:
}
 
autolinkRegexURL = /([^>"\[]|[^\=]")((?:https?|ftps?):\/\/[^\|\{\}]+?)([\s\]\)\|'"])/g;
// External links (no wikicode)
 
Line 107 ⟶ 109:
// Templates
 
autolinkRegexInternalURL = /([^\=])('|"|\s)((?:\/?w\/index\.php\?|\/?wiki\/)[^\s\{\}\|]+?)\2/g;
// External links (no wikicode, under wgServer)