mwbot is the library we use in our webdriver.io tests to talk to the MediaWiki API to create users and pages needed for our webdriver.io tests. The library is a third party library that is not maintained anymore, have dependencies that are not maintained (T330443, T401673) and have room for improvement in the error handling (T401653, T393428#11029515).
We want to replace that library with code that lives in core to make it easy for us to fix problems with the functionality.
AC:
[] Document what functions is needed to be ported to core for core tests to work
[] Check if there are any of the extensions that work with quickstart that use other mwbot functionality than core and document that
[] Create a follow up task for implementing mwbot functionality in core
[] Investigate if its possible to use built in fetch (nodejs-fetch) and if so, identify what functionality is missing that we need to build ourself