Geonames allows up to 2000 requests per hour, and that limit is hit early on during spot migration.
Caching won't solve the problem, as all the requests during spot migration are unique and won't have to be repeated again.
Solution I have in mind is to sign up for multiple Geonames accounts, and then use a random one for each request.
As $hwConfig['vendor']['geonames_username'] is used in a handful of places, it's better to do the random pick in configs/mediawiki.php and store it in the same variable.
Geonames allows up to 2000 requests per hour, and that limit is hit early on during spot migration.
Caching won't solve the problem, as all the requests during spot migration are unique and won't have to be repeated again.
Solution I have in mind is to sign up for multiple Geonames accounts, and then use a random one for each request.
As
$hwConfig['vendor']['geonames_username']
is used in a handful of places, it's better to do the random pick inconfigs/mediawiki.php
and store it in the same variable.