Content deleted Content added
testing creating a frame with a specified title to use in parser function / magic words |
test getting current page's content |
||
Line 7:
local FULLPAGENAME = childFrame:preprocess( "{{FULLPAGENAME}}" )
return FULLPAGENAME
end
p.content = function(frame)
local parent = frame:getParent()
local title = mw.title.getCurrentTitle()
local content = title.getContent()
return content
end
|