Module:title/getCurrentNamespace

From Linguifex
Revision as of 09:12, 28 June 2025 by Sware (talk | contribs) (Created page with "--[==[ 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]")
Jump to navigation Jump to search

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]