Module:Cron/alch: Revision history

Jump to navigation Jump to search
Diff selection: mark the radio boxes of the versions to compare or click on a revision date to view it. (cur) = difference from current version, (prev) = difference from preceding version,  m = minor edit, → = section edit

17 October 2024

  • curprev 10:0310:03, 17 October 2024Alex talk contribs 1,072 bytes +1,072 Created page with "local exchange = require('Module:Exchange') local p = {} function p.getPages(offset) local dpl_base = [[{{#dpl: |namespace = Exchange |ordermethod = title |format = ,\n@@%%TITLE%%,, |offset = %s }}]] local pages = {} local dpl = string.format(dpl_base, offset) local r = mw.getCurrentFrame():preprocess(dpl) if string.match(r, "Warning: No results.") then return pages end local split = mw.text.gsplit(r, '@@') for line in split do line = mw.text.trim(line) i..."