Currently, when the Pagelist Widget is unable to connect to the internet and receive a response, it will show an error message along the lines of An unexpected error was detected. Please report this error to phabricator.wikimedia.org with logs from the console.
This a canned message that we use when we are unable to determine what caused the error.
Instead of this, we should have a custom message explaining that the pagelist cannot be fetched due to network issues.
Documentation
- Tutorial on setting up and working with Gerrit (Gerrit is Wikimedia's code review platform)
- File that needs to be modified
- OOUI (the framework used to build the PagelistWidget)
- MediaWiki Messages API
- Guidelines on creating new messages
Criteria
- Create a new message that explains that the pagelist cannot be fetched due to network issues.
- Display the new message when fetching the pagelist errors out due to network issues.