local p = {} local title = mw.title.getCurrentTitle() function p.id(frame) return title.id end function p.name(frame) return title.baseText end function p.space(frame) return title.nsText end return p