8,282
edits
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
Line 27: | Line 27: | ||
local aliases = mw.loadData( i18n.moduleAliases ) | local aliases = mw.loadData( i18n.moduleAliases ) | ||
local pageName = mw.title.getCurrentTitle().text | local pageName = mw.title.getCurrentTitle().text | ||
--[[Splits a given text into fragments separated by semicolons that are not | --[[Splits a given text into fragments separated by semicolons that are not | ||
Line 105: | Line 103: | ||
local title = frame.title or mw.text.trim( args.title or '' ) | local title = frame.title or mw.text.trim( args.title or '' ) | ||
-- local mod = frame.mod | -- local mod = frame.mod | ||
mod = frame.mod -- <----- THIS IS CHANGED | local mod = frame.mod -- <----- THIS IS CHANGED | ||
local name = frame.name or '' | local name = frame.name or '' | ||
local num = frame.num | local num = frame.num | ||
Line 339: | Line 337: | ||
-- end | -- end | ||
if frame.mod then -- <--- THIS IS CHANGED | if frame.mod then -- <--- THIS IS CHANGED | ||
if mod ~= 'parallel' then | if frame.mod ~= 'parallel' then | ||
id = frame.mod .. ':' .. id | id = frame.mod .. ':' .. id | ||
end | end |