Jump to content

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 == 'create'
(action ~= 'edit' and action ~= 'move')
or not (namespace == 10 or namespace == 828)
or (namespace ~= 10 and namespace ~= 828)
)
)
then
then
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.