wgIPInfoGeoIP2Path must contain a path and a prefix. Quoting the documentation:
Then set the $wgIPInfoGeoIP2Path variable to the path to the directory containing the .mmdb files, plus either the GeoLite2- or GeoIP2- prefixes.
We could either:
- Just add a note to the inline documentation with a note that it must contain either the GeoLite2- or GeoIP2- prefix depending on which database(s) you downloaded 🤷
- Do #1 and also rename it to $wgIPInfoGeoIP2Prefix
- Hard code the prefix. I (@phuedx) have checked and all databases that I have access to (including the Anonymous IP and Enterprise databases) share the prefix.