Module:Gadgets: 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.

23 July 2025

  • curprev 10:5210:52, 23 July 2025 Shia.k talk contribs 2,005 bytes +2,005 Created page with "local p = {} p.parse = function() local text = mw.title.new('MediaWiki:Gadgets-definition'):getContent() local lines = mw.text.split(text, '\n', false) local repo = {} for _, line in ipairs(lines) do if line:sub(1, 1) == '*' then local name, options, pages = p.parse_line(line) if name and #pages ~= 0 then repo[name] = { options = options, pages = pages } end end end return repo end p.parse_line = function(def) local pattern = "^%*%s*(.+)%s*(%..."