Bureaucrats, emailconfirmed, Administrators
282
edits
GreenReaper (talk | contribs) (For inclusion?) Tags: Mobile edit Mobile web edit Advanced mobile edit |
GreenReaper (talk | contribs) No edit summary Tags: Mobile edit Mobile web edit Advanced mobile edit |
||
Line 2: | Line 2: | ||
function p.ID(frame) | function p.ID(frame) | ||
-- This seemingly only works with sitelinks | |||
-- return mw.wikibase.getEntityIdForCurrentPage(); | -- return mw.wikibase.getEntityIdForCurrentPage(); | ||
-- return frame:getParent():getTitle(); | -- This only works inside pages, not Sitenotice | ||
return frame:getTitle(); | return frame:getParent():getTitle(); | ||
-- This just returns the module itself | |||
-- return frame:getTitle(); | |||
end | end | ||