Jump to content

Module:Title/getCurrentNamespace: Difference between revisions

From The Mighty Kingdoms Wiki
Template>Theknightwho
No edit summary
 
m 1 revision imported
 
(No difference)

Latest revision as of 08:44, 29 June 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]