Module:title/getCurrentNamespace: Difference between revisions

From Linguifex
Jump to navigation Jump to search
(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]")
m (1 revision imported)
 

Latest revision as of 17:47, 4 November 2025

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]