Page MenuHomePhabricator

Live preview not working with Cologne Blue
Open, LowPublic


Steps to Reproduce:

Actual Results:
An error message appears with API error unknown_useskin.

Expected Results:
The preview appears.

(Note that although this bug is most easily reproducible using the live preview feature and the Cologne Blue skin, I don’t think any of them are buggy—live preview is simply a front-end to the API, and Cologne Blue is a skin hidden from preferences.)

Related Objects

Event Timeline

Restricted Application added a project: Platform Engineering. · View Herald TranscriptNov 10 2019, 2:51 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Anomie moved this task from Unsorted to Needs Code on the MediaWiki-API board.EditedNov 12 2019, 2:36 PM
Anomie added a subscriber: Anomie.

The API is declaring valid values for the parameter using Skin::getAllowedSkins(), which omits skins in $wgSkipSkins. That could be changed to use Skin::getSkinNames() which doesn't check $wgSkipSkins. A side effect would be that it would also list the internal skins "fallback" and "apioutput"; that's probably ok.

daniel triaged this task as Low priority.Nov 12 2019, 10:51 PM
Aklapper removed a subscriber: Anomie.Oct 16 2020, 5:02 PM
Jdlrobson moved this task from Backlog to Tracking on the CologneBlue board.Jan 22 2021, 1:35 AM
Jdlrobson edited projects, added CologneBlue (Tracking); removed CologneBlue.