Difference between revisions of "Module:Sandbox/Galobtter"

From blackwiki
Jump to navigation Jump to search
blackwiki>Galobtter
(+)
blackwiki>Galobtter
(hm)
Line 1: Line 1:
 
local p = {}
 
local p = {}
 
function p.main(frame)
 
function p.main(frame)
return frame:getParent():getTitle()
+
return mw.title.getCurrentTitle();
 
end
 
end
 
return p
 
return p

Revision as of 01:08, 23 May 2020

local p = {}
function p.main(frame)
	return mw.title.getCurrentTitle();
end
return p