mediawiki-extensions-Scribunto/engines/LuaCommon
Mr. Stradivarius ad34c2bd94 Use protocol-relative URLs in mw.site.interwikiMap
At the moment, in mw.site.interwikiMap, URLs stored in the database
with relative protocols are converted to http or https depending
on the protocol of the user who last requested that the page be parsed.
However, this URL isn't updated for users pulling pages from the page
cache, so they may see links with an incorrect protocol. Module authors
can work round this by using mw.uri objects and the isProtocolRelative
property, but it would be simpler just to use relative URLs from the
outset.

Change-Id: If0a169cfd1597e09706fc0e6d5cdcc821ba8d06a
2014-12-26 20:28:49 +09:00
..
lualib Add mw.site.interwikiMap 2014-12-24 01:17:48 +09:00
HtmlLibrary.php Allow for dynamically-loaded PHP libraries 2014-10-03 09:27:23 -04:00
LanguageLibrary.php Merge "Allow for dynamically-loaded PHP libraries" 2014-10-03 14:01:46 +00:00
LibraryBase.php Add more comments and type hints 2014-12-19 19:25:53 +00:00
LuaCommon.php Normalize newlines before calling preprocessor 2014-12-22 04:15:52 +00:00
LuaInterpreter.php Add more comments and type hints 2014-12-19 19:25:53 +00:00
MessageLibrary.php Allow for dynamically-loaded PHP libraries 2014-10-03 09:27:23 -04:00
SiteLibrary.php Use protocol-relative URLs in mw.site.interwikiMap 2014-12-26 20:28:49 +09:00
TextLibrary.php Add mw.text.unstripNoWiki, mw.text.killMarkers, fix mw.text.unstrip 2014-11-05 12:32:35 -05:00
TitleLibrary.php Record a link to pages looked up by ID 2014-12-11 16:10:42 -05:00
UriLibrary.php Allow for dynamically-loaded PHP libraries 2014-10-03 09:27:23 -04:00
UstringLibrary.php Allow for dynamically-loaded PHP libraries 2014-10-03 09:27:23 -04:00