The budget should be formatted with thousands separator and currency. At minimum this should work for Swedish, i.e. "50000" -> "50 000 kr" (with non-breaking space as separator).
Description
Description
Event Timeline
Comment Actions
See https://docs.python.org/3/library/string.html#format-examples for thousands separator. Hopefully it can be used with space as separator. Quick test didn't work.
Comment Actions
We could just wrap numbers in the MediaWiki magic word formatnum. It would require us to convert the input to use . as a decimal separator though.
Comment Actions
Updated the template used by the script: https://se.wikimedia.org/w/index.php?title=Mall:Projektdata-sida&diff=114574&oldId=114132.