User:AndyZ/monobook.js/footnote.js: Difference between revisions

Content deleted Content added
user monobook.js subpage
 
m extra comma
Line 7:
 
//the first line converts the beginning of an external link, the second converts the end
theText = theText.replace(/\[(http)/g,,"<ref>[http").
theText = theText.replace(/([^\]])\]([^\]])/g,"$1]</ref>$2")