Alex
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..."