Jump to content

Module:Test2: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

13 March 2025

  • curprev 02:2002:20, 13 March 2025 Thehighwayman talk contribs m 515 bytes 0 Protected "Module:Test2" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
  • curprev 02:2002:20, 13 March 2025 Thehighwayman talk contribs 515 bytes +515 Created page with "function splitLines(text) local lines = {} for line in text:gmatch("[^\r\n]+") do table.insert(lines, line) end return lines end local p = {} function p.Sitename(frame) local extDataTable = mw.ext.externalData.getExternalData(frame.args[1])[1]["__text"] local dataLines = splitLines(extDataTable) local sitename = '' for i,line in ipairs(dataLines) do if line:match("og:site_name") then sitename = line:match('content="([^"]+)"') break..."