Extension:FormatNum

See also, the built in MediaWiki parser function {{formatnum:1234}}.