Bumped MediaWiki requirement for usage of Maintenance::fatalError(),
which was introduced in 1.31.
Change-Id: I24446b93d47184907847ed825b42735a74fbddf0
This was causing by echo'ing a value from the database. Since
this script does not use the standard Maintenance class,
phan-taint-check was unable to determine it was a command line
script and thought this was an XSS.
Casting to int caused phan-taint-check to know that the value
was safe, and thus prevents the false positive warning.
Change-Id: Ib786fd591ed50f9b3934efa0c3f06e4c307a81f5