wmllint: Recognize [background_layer] in [part]

This commit is contained in:
Ignacio R. Morelle 2015-06-27 18:25:45 -03:00
parent a1e2903c59
commit 436e808528

View file

@ -1007,7 +1007,7 @@ def local_sanity_check(filename, nav, key, prefix, value, comment):
actual_tag = "[" + nav.element[2:]
else:
actual_tag = nav.element
if actual_tag not in ("[part]", "[image]", "[insert_tag]",
if actual_tag not in ("[part]", "[background_layer]", "[image]", "[insert_tag]",
"[if]", "[then]", "[else]", "[switch]", "[case]",
"[variable]", "[deprecated_message]"):
print errlead + '%s not permitted within [part] tag' % nav.element