Module:Namespace detect/data: திருத்தங்களுக்கு இடையிலான வேறுபாடு
உள்ளடக்கம் நீக்கப்பட்டது உள்ளடக்கம் சேர்க்கப்பட்டது
IMO, aliasing variables like that makes readability worse |
Undid revision 600634263 by Jackmcbarn (talk): Oh, this seems to have been for performance. Still not sure if it's a good idea, but will leave for now |
||
வரிசை 19:
-- }
--]]
local ustringLower = mw.ustring.lower
local tinsert = table.insert
local subjectNamespaces = mw.site.subjectNamespaces
local talk = cfg.talk
local mappings = {}
mappings[
mappings[
for nsid, ns in pairs(
if nsid ~= 0 then -- Exclude main namespace.
local nsname =
local canonicalName =
mappings[nsname] = {nsname}
if canonicalName ~= nsname then
end
for _, alias in ipairs(ns.aliases) do
end
end
| |||