Closed xxyzz closed 3 months ago
0 and above 1000 are allowed in MediaWiki, for example, fr edition's "cardinaux/vi" template: https://fr.wiktionary.org/wiki/Modèle:cardinaux/vi
0 is also allowed and str.isdigit() returns False for negative string number so I think we don't need more checks.
str.isdigit()
False
Then everything seems correct.
0 and above 1000 are allowed in MediaWiki, for example, fr edition's "cardinaux/vi" template: https://fr.wiktionary.org/wiki/Modèle:cardinaux/vi