The reading web team has enjoyed a lot of success with the "ContentProvider" pattern - routing MediaWiki requests away from the parser and to production APIs.
This has helped considerably with testing integrations with user generated content and replicating bugs with the Minerva skin.
I would like to make this available to a broader set of users and to allow testing of skin content in the desktop skin going into the Desktop Improvements (Vector 2022) project. I imagine it would be extremely useful for Vector and Timeless development for example.
I explained the tooling here: https://youtu.be/uRQzjN0hBlY
The content provider will serve local content if available, but if not and an associated wiki has content it will pull from there (similar to the magic commons we use to serve commons images)
I propose we enable it on https://es.wikipedia.beta.wmflabs.org with the following config and ask for feedback
$wgMFAlwaysUseContentProvider = true; $wgMFContentProviderClass = 'MobileFrontend\ContentProviders\MwApiContentProvider'; $wgMFMwApiContentProviderBaseUri = "https://es.wikipedia.org/w/api.php";
With this change rather than a 404 https://es.wikipedia.beta.wmflabs.org/wiki/Luz_en_la_pintura will display content from
https://es.wikipedia.org/wiki/Luz_en_la_pintura
Importing will become a thing of the past.
Once enabled, I'll ask for feedback on wikitech and discuss enabling it on our main beta cluster.