Currently, WikiPageConfigLoader::load will return an error if the configuration page does not exist. In the two usages we have for WikiPageConfigLoader, this can have two implications:
- In the community configuration, everything will be configured based on what the PHP globals say
- In the structured mentor list, mentorship would behave just as if there were no mentors listed at all.
In both cases, this is precisely what happens if WikiPageConfigLoader::load returned an empty array, instead of failing.
I think we should make WikiPageConfigLoader::load simply return an empty array in this case, as the end result would be the same.