Board Thread:New Features/@comment-26522807-20160208225359/@comment-24473195-20160226204818

TwoTailedFox wrote: If it can be backported, I would like. Makes it easier to make custom template outputs based on which namespace the page in question is in. As noted previously, there is no need for a lot of the parser functions they (WMF) strangely add, for example, if you create a module with this:

--Module:namespace local p = {}

function p.main return mw.title.getCurrentTitle.namespace end

return p

Then use :

That will show the current namespace number.