Module:Protection banner: Difference between revisions

check against edit/move, rather than for create, and simplify logic
Enwikipedia>Mr. Stradivarius
(add template protection tracking category)
Enwikipedia>Jackmcbarn
(check against edit/move, rather than for create, and simplify logic)
Line 965:
if level == 'templateeditor'
and (
(action ~= 'edit' and action ~= 'createmove')
or not (namespace =~= 10 orand namespace =~= 828)
)
then