User "Krinkle" posted a comment on MediaWiki.r94346.

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/94346#c20738
Commit summary:

(bug 30236) Links like [[//example.com Link text]] were parsed as an internal 
link rather than an external link surrounded by brackets, like 
[[http://example.com Link text]]. Was caused by another pointless \b directly 
preceding wfUrlProtocols() in a regex. Also add a parser test for the 
[[http://example.com Link text]] case (the existing test only covered 
[[http://example.com]]) and add protocol-relative counterparts for both tests.

Comment:

Regarding bug 30236, perhaps include a test for {{fullurl:}} as well ? Not sure 
how that behaves (ie. parser test for <pre>[{{fullurl:Foo|bar=baz}} quux]</pre> 
with protocol-relative)

_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to