Content deleted Content added
Sync from sandbox per request Tag: Reverted |
Reapply fixed version |
||
(One intermediate revision by one other user not shown) | |||
Line 209:
local function noviewer(portalImage)
-- Function to add noviewer class to filespec for portalImage
local portalImage, hasClass = mw.ustring.gsub(portalImage, "class%s*=[^%|]+", "%0 noviewer")
if hasClass == 0 then
portalImage = portalImage.."|class=noviewer"
|