Currently, dump.php only accepts the elections title as the mode of identification, which is not a good idea (e.g. the title may include Unicode characters making it hard to type for some, copy-paste errors can occur, title may change, etc). It should also allow getting elections by their numeric ID.
Related Gerrit Patches:
|mediawiki/extensions/SecurePoll : master||Dump should allow getting elections by their ID|