13,408
edits
(Created page with "local randomModule = require('Module:Random') function cleanupArgs(argsTable) local cleanArgs = {} for key, val in pairs(argsTable) do if type(val) == 'string' then va...") |
No edit summary |
||
Line 63: | Line 63: | ||
-- Get current events for a "YYYY Month D" date. Returns a table of list items. | -- Get current events for a "YYYY Month D" date. Returns a table of list items. | ||
function getRecentAdditions(subpage, keepPatterns, skipPatterns, showWikitext) | function getRecentAdditions(subpage, keepPatterns, skipPatterns, showWikitext) | ||
local title = mw.title.new(' | local title = mw.title.new('Bharatpedia:Recent additions' .. subpage) | ||
local raw = title:getContent() | local raw = title:getContent() | ||
local itemPattern = '%*%s?%.%.%.[%S ]*' | local itemPattern = '%*%s?%.%.%.[%S ]*' |
edits