Module:Main: Difference between revisions

change the findNamespaceId invocation - it now trims colons by default
(update comment)
(change the findNamespaceId invocation - it now trims colons by default)
Line 46:
 
-- Find the pagetype.
local firstPageNs = mHatnote._findNamespaceId(firstPage, true)
local pagetype = firstPageNs == 0 and 'article' or 'page'
 
Anonymous user