FANDOM


-- <pre>
 
local p = {}
 
function p.check(frame)
    local args = frame.args
    local page = args[1]
 
    local title = mw.title.new(page)
 
    if title.protectionLevels.edit[1] == 'codeeditor' then
        return args[1]
    end
 
    return '[' .. tostring(mw.uri.fullUrl(args[1], {
        action = 'protect',
        ['mwProtect-level-edit'] = 'codeeditor',
        ['mwProtect-level-move'] = 'codeeditor',
        ['mwProtect-reason'] = 'preventing potential vandalism'
    })) .. ' ' .. args[1] .. '] (unprotected)'
end
 
return p

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.