Jump to content

Module:Title/getCurrentNamespace

From The Mighty Kingdoms Wiki
Revision as of 08:44, 29 June 2025 by Cyrus (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Documentation for this module may be created at Module:Title/getCurrentNamespace/doc

--[==[
Returns the data table for the current namespace from {mw.site.namespaces}. This module may be loaded with {mw.loadData}.]==]
return mw.site.namespaces[mw.title.getCurrentTitle().namespace]