Page MenuHomePhabricator

Special:GlobalPreferences should initialize faster
Open, Needs TriagePublic

Description

When I visit Special:GlobalPreferences, it takes several seconds until the "Select options below to be global" checkbox appears and the non-global options are deactivated. This should happen faster, ideally such fast that the user won't notice any change.
From T205991 I assume, that all tabs are infused at once, while IIRC Special:Preferences (which is much faster) infuses only the current tab. So this could be an option to try in making the initialization faster.

Event Timeline

Schnark created this task.Oct 8 2018, 7:30 AM
Restricted Application added a project: Community-Tech. · View Herald TranscriptOct 8 2018, 7:30 AM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Thanks for filing this ticket @Schnark . CC @Mooeypoo and @MaxSem for insights.

Change 497598 had a related patch set uploaded (by Esanders; owner: Esanders):
[mediawiki/extensions/GlobalPreferences@master] Lazy initialize on htmlform.enhance hook

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

Change 497598 merged by jenkins-bot:
[mediawiki/extensions/GlobalPreferences@master] Lazy initialize on htmlform.enhance hook

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