Silence wmllint error about a missing campaign id
The following wmllint error was caused by the fact that the campaign definition is split into two and wmllint is not smart enough to understand that. "../../data/campaigns/Dead_Water/_main.cfg", line 76: campaign requires an ID attribute but has none
This commit is contained in:
parent
92fedf8f2a
commit
17a9cb720a
1 changed files with 3 additions and 0 deletions
|
@ -71,9 +71,12 @@
|
|||
{campaigns/Dead_Water/units}
|
||||
[/units]
|
||||
|
||||
# wmllint bug: wmllint is not smart enough to realise that the campaign already has an id
|
||||
# wmllint: validate-off
|
||||
[+campaign]
|
||||
{ENABLE_KRAKEN}
|
||||
[/campaign]
|
||||
# wmllint: validate-on
|
||||
|
||||
{campaigns/Dead_Water/scenarios}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue