Difference between revisions of "Module:Main Page RSS"
Jump to navigation
Jump to search
(Made module for the main page's RSS feed) |
m (Protected "Module:Main Page RSS": High traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
(No difference)
|
Revision as of 22:08, 19 February 2015
Documentation for this module may be created at Module:Main Page RSS/doc
local p = {} function p.rss( f ) local args = f if f == mw.getCurrentFrame() then args = f:getParent().args end if args.title ~= nil then args.title = "\'\'\'" .. args.title .. "\'\'\'" else args.title = "f:expandTemplate{ title= 'Template:Version²'} " end return args.title end return p