-
Because MW_SERVER and MW_SCRIPT_PATH are also used for MediaWiki's JS testing, it's possible that only those two will be defined in the environment. This change checks for all four required ones and falls back to the credentials file if any are missing. This will mean that developers see a more informative error message instead of just a failure to log in to the wiki.
0d46e302