Description
Wikifunctions clients should not perform any ZObjectStore::fetch operations (or other ZObjectStore methods at all)
We should:
- Detect those places in the client classes (WikifunctionsClientRequestJob, WikifunctionsPFHandler, etc) where we are doing this
- Lock ZObjectStore methods in some way so that, in case something is fetched, it won't cause unexpected failures
Some preliminary ideas
- ZError and ZErrorException could work in a static way and build ZErrors and wrapping exceptions with the hardcoded ZError structure, without fetching labels.
- Create a localization service that builds the error messages whenever RepoMode returns these exceptions to the user.
Completion checklist
- Before closing this task, review one by one the checklist available here: https://www.mediawiki.org/wiki/Abstract_Wikipedia_team/Definition_of_Done#Front-end_Task/Bug_Completion_Checklist