wmllint: improve [campaign] rank= validation message
This commit is contained in:
parent
f10f9779eb
commit
937465fb8c
1 changed files with 1 additions and 1 deletions
|
@ -1391,7 +1391,7 @@ def local_sanity_check(filename, nav, key, prefix, value, comment):
|
|||
print(errlead + "rank for add-on campaigns should be greater than or equal to 300")
|
||||
else:
|
||||
if campaign_rank >= 300 or (campaign_rank % 5) != 0:
|
||||
print(errlead + "rank for mainline campaigns should be a multiple of 5 between 0 and 300")
|
||||
print(errlead + "rank for mainline campaigns should be a multiple of 5 between 0 and 299 (included)")
|
||||
except ValueError:
|
||||
print(errlead + "rank must be a numeric value")
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue