Page MenuHomePhabricator

MobileFrontend ContentProvider doesn't work for 3rd party skins
Closed, ResolvedPublic

Description

The following configuration enables the MobileFrontend ContentProvider.
This allows you to proxy content from production wikis.

Unfortunately, it does not appear to work on skins that are not deployed by Wikimedia.
This is because of an internal API request that fails when an unknown skin is passed.

$wgMFContentProviderClass = "MobileFrontend\\ContentProviders\\MwApiContentProvider";
$wgMFAlwaysUseContentProvider = true;

Replication steps

Event Timeline

Change 693503 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/extensions/MobileFrontend@master] ContentProvider fixes for 3rd party skins

https://gerrit.wikimedia.org/r/693503

Change 693503 merged by jenkins-bot:

[mediawiki/extensions/MobileFrontend@master] ContentProvider fixes for 3rd party skins

https://gerrit.wikimedia.org/r/693503

Jdlrobson claimed this task.
Jdlrobson updated Other Assignee, added: thiemowmde.
Jdlrobson added a subscriber: thiemowmde.

Thanks @thiemowmde !