13,409
edits
No edit summary Tag: Reverted |
Tag: Undo |
||
Line 62: | Line 62: | ||
-- 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(keepPatterns, skipPatterns, showWikitext) | function getRecentAdditions(subpage, keepPatterns, skipPatterns, showWikitext) | ||
local title = mw.title.new('Bharatpedia:Recent additions') | 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