![]() | We're back! Sorry, bad combo of sickness, funeral and a month-long trip abroad. The site is back now. ![]() |
View source for Module:data/namespaces
Jump to navigation
Jump to search
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
local data = {}
local gsub = string.gsub
local next = next
local ulower = require("Module:string utilities").lower
for _, namespace in next, mw.site.namespaces do
local prefix = ulower((gsub(namespace.name, "_", " ")))
data[prefix] = prefix
for _, alias in next, namespace.aliases do
data[ulower((gsub(alias, "_", " ")))] = prefix
end
end
return data
000
1:0
Template used on this page:
Return to Module:data/namespaces.