Module:Protection banner: Difference between revisions
check against edit/move, rather than for create, and simplify logic
(add template protection tracking category) |
(check against edit/move, rather than for create, and simplify logic) |
||
Line 965: | Line 965: | ||
if level == 'templateeditor' | if level == 'templateeditor' | ||
and ( | and ( | ||
action == ' | (action ~= 'edit' and action ~= 'move') | ||
or | or (namespace ~= 10 and namespace ~= 828) | ||
) | ) | ||
then | then |