Module:Protection banner/config: Difference between revisions
use the dispute notice with the vandalism template if the page is fully protected
(oops, forgot to remove the reset blurb messages I was working from) |
(use the dispute notice with the vandalism template if the page is fully protected) |
||
Line 242: | Line 242: | ||
.. ' [[Wikipedia:Vandalism|vandalism]].', | .. ' [[Wikipedia:Vandalism|vandalism]].', | ||
text = '${INTROBLURB} due to [[Wikipedia:Vandalism|vandalism]].', | text = '${INTROBLURB} due to [[Wikipedia:Vandalism|vandalism]].', | ||
explanation = function (protectionObj, blurbData) | |||
local ret = '' | |||
if protectionObj.level == 'sysop' then | |||
ret = ret .. "This protection is '''not''' an endorsement of the" | |||
.. ' ${CURRENTVERSION}. ' | |||
end | |||
ret = ret .. '${EXPLANATIONBLURB}' | |||
end, | |||
tooltip = '${TOOLTIPBLURB} due to vandalism', | tooltip = '${TOOLTIPBLURB} due to vandalism', | ||
} | } |