Content deleted Content added
switch to jquery.textSelection; fix for secure links ../wikiPeda/meta/.. → meta.wikiMedia.org; misc improvements |
fix: today wgServer changed from «http://en.wikipedia.org» to «//en.wikipedia.org» |
||
Line 82:
var httpRegExp = '(https?:\\/\\/[^\\]\\[\\n\\r<>" ]+)' // any chars except []<>" and \n and spaces
var localPrefix = WMPrefixes( unSecure(wgServer.replace(/^\/\//,'http://') + wgScript) )
var oldText, newText, isBeforeCursor, colonNS
|