Page MenuHomePhabricator

FOUC on api.php
Closed, ResolvedPublic


Sometimes I can see the title "MediaWiki API result" in the page
for a few moments just before it disappears.

This doesn't happens if I disable the JavaScript.

Event Timeline

He7d3r raised the priority of this task from to Needs Triage.
He7d3r updated the task description. (Show Details)
He7d3r changed Security from none to None.
He7d3r subscribed.

Modules 'mediawiki.apipretty' and probably also 'mediawiki.apihelp' would have to be loaded using addModuleStyles rather than addModules. That would require some rejiggering because the latter has dependencies (and JS dependencies, too).

No need for addModuleStyles, use position => top.

Change 176690 had a related patch set uploaded (by Anomie):
Avoid FOUC on API help and pretty-printed output


Change 176690 merged by jenkins-bot:
Avoid FOUC on API help and pretty-printed output

Anomie claimed this task.

This should be deployed to WMF wikis with 1.25wmf11, see for the schedule.