https://bugzilla.wikimedia.org/show_bug.cgi?id=31499
--- Comment #5 from Roan Kattouw <[email protected]> 2011-10-25 14:21:04 UTC --- (In reply to comment #4) > I am using 1.17.0. Firebug gives the buggy results: > > >>> $.escapeRE("http://mywiki.com/wiki/$1"); > "http\:\/\/mywiki\.com\/wiki\/\$\1" > > When I hit English Wikipedia and check against 1.18.0wmf, I get correct > results: > > >>> $.escapeRE("http://mywiki.com/wiki/$1"); > "http://mywiki\.com/wiki/\$1" > > There might still be a problem on English Wikipedia however, because of the > following use case: > > 0. Visit en.wikipedia.org and edit any page. > 1. Click the Link button in the editor. > 2. Enter http://en.wikipedia.org/wiki/Dog as the link and click "Insert link". > 3. You *should* get a pop-up dialog that says "The URL you specified looks > like > it was intended as a link to another wiki page. Do you want to make it an > internal link?" (message > MediaWiki:Wikieditor-toolbar-tool-link-lookslikeinternal), however no dialog > appears. Hah, that's probably because wgServer is protocol-relative now: >>> mw.config.get('wgServer') "//en.wikipedia.org" -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
