انتقل إلى المحتوى

وحدة:title/getCurrentNamespace

من ويكاموس، القاموس الحر
--[==[
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]