Last modified: 2013-10-04 08:36:14 UTC
Whether euprotocol=https or euprotocol=http is selected, protocol-relative URLs are always included in output, see example: <eu pageid="14784857" ns="3" title="User talk:Emijrp" url="//translatewiki.net/wiki/Special:AdvancedTranslate?module=words" /> This is a problem for software not supporting them (see e.g. https://code.google.com/p/wiki-java/issues/detail?id=16 ) and I think it would make sense to provide the option to have them converted to the requested protocol; or maybe this is just their problem and this is a WONTFIX, I don't know.
Found in code: We *could* run this through wfExpandUrl() but I think it's better to output the link verbatim, even if it's protocol-relative --Roan With Gerrit change #23095 I have add a new parameter "expandurl" to list=exturlusage which will expand protocol-relative urls
successfully merged
(In reply to comment #1) > With Gerrit change #23095 I have add a new parameter "expandurl" to > list=exturlusage > which will expand protocol-relative urls Could you please document it at https://www.mediawiki.org/wiki/API:Exturlusage ?
(In reply to comment #3) > Could you please document it at > https://www.mediawiki.org/wiki/API:Exturlusage? It's a wiki!!!
(In reply to comment #4) > It's a wiki!!! Yes, it is. That doesn't make it less optimal for the developer to document his work. :)