Anonymous user
Module:Protection banner: Difference between revisions
add explanation blurb for semi-protection
(turn Blurb.formatDate into Blurb:_formatDate so that it can access the config) |
(add explanation blurb for semi-protection) |
||
Line 474:
local isTalk = self._protectionObj.title.isTalkPage
-- @TODO: add
local key
if namespace == 8 then
Line 481:
elseif action == 'edit' and level == 'sysop' and not isTalk then
key = 'explanation-blurb-full-subject'
elseif action == 'edit' and level == 'autoconfirmed' then
if isTalk then
key = 'explanation-blurb-semi-talk'
else
key = 'explanation-blurb-semi-subject'
end
elseif action == 'move' then
if isTalk then
|