Address feature request at bug #13096: check for space in email names.
This commit is contained in:
parent
ff722d201f
commit
5feb9927bc
2 changed files with 12 additions and 2 deletions
|
@ -98,6 +98,6 @@
|
|||
{campaigns/Northern_Rebirth/scenarios}
|
||||
#endif
|
||||
|
||||
# wmllint: directory spellings Tallin Hamel Anita Stalrag Ro'Arthian Ro'Sothian
|
||||
# wmllint: directory spellings Elenia Hidel Sisal Krash Abhai Marcus Theta
|
||||
# wmllint: directory spellings Tallin Hamel Eryssa Stalrag Ro'Arthian Ro'Sothian
|
||||
# wmllint: directory spellings Elenia Hidel Sisal Krash Abhai Morvin Thera
|
||||
# wmllint: directory spellings Al'Tar Malifor Rakshas shinsplitters
|
||||
|
|
|
@ -836,6 +836,16 @@ def sanity_check(filename, lines):
|
|||
races.append(value)
|
||||
except TypeError:
|
||||
pass
|
||||
# Check for fluky credit parts
|
||||
for nav in WmllintIterator(lines, filename):
|
||||
above = nav.ancestors()
|
||||
if above and above[-1] == "about":
|
||||
try:
|
||||
(key, prefix, value, comment) = parse_attribute(nav.text)
|
||||
if key == email and " " in value:
|
||||
print '"%s", line %d: space in email name'
|
||||
except TypeError:
|
||||
pass
|
||||
# Sanity-check recruit and recruitment_pattern.
|
||||
# This code has a limitation; if there are multiple instances of
|
||||
# recruit and recruitment_pattern (as can happen if these lists
|
||||
|
|
Loading…
Add table
Reference in a new issue