Last modified: 2014-05-05 14:19:31 UTC
mediawiki.Uri does not support IPv6 URIs: >>> var uri = new mw.Uri( 'http://127.0.0.1/' ) undefined >>> var uri = new mw.Uri( 'http://[::1]/' ) Error: Bad constructor arguments
On a MediaWiki installation with IPv6 URL like http://[::1]/w/index.php the class mw.Uri gets not created because it is initialized with mw.Uri = mw.UriRelative( document.location.href );