Content deleted Content added
string methods to object versions Tag: Reverted |
we can probably simplify this since the only valid css to send to navbar is the color? Tag: Reverted |
||
Line 81:
end
--
local function
return mw.ustring.match(';' .. str .. ';', '.*;%s*([Cc][Oo][Ll][Oo][Rr]%s*:%s*.-)%s*;') or ''
end
Line 116 ⟶ 91:
[cfg.navbar.name] = args[cfg.arg.name],
[cfg.navbar.mini] = 1,
[cfg.navbar.fontstyle] =
(args[cfg.arg.basestyle] or '') .. ';' .. (args[cfg.arg.titlestyle] or '')
)
|