Jump to content

Module:URL/sandbox: Revision history


Here you can take a look at older versions of this page, and compare different versions.

  • Click the date to see an old version.
  • To compare two versions (changes), click the circles (in separate columns) next to them. Then click the Compare button to see the differences between them.
  • You can use (cur) to compare an old version with the newest (or current) one. You can use (last) to compare any version with the one just before it.
  • The letter m next to a change means that the change was marked as small (or minor).

3 August 2021

  • curlast 01:0701:07, 3 August 2021 MeritedElm63160 talk changes 4,286 bytes +4,286 Created page with "-- -- This module implements {{URL}} -- -- See unit tests at Module:URL/testcases local p = {} local function safeUri(s) local success, uri = pcall(function() return mw.uri.new(s) end) if success then return uri end end local function extractUrl(args) for name, val in pairs(args) do if name ~= 2 and name ~= "msg" then local url = name .. "=" .. val; url = mw.ustring.gsub(url, '^[Hh][Tt][Tt][Pp]([Ss]?):(/?)([^/])', 'http%1://%3') local uri = sa..."