Steps to reproduce:
- Open Special:Preferences page
- Go to tab "Recent changes"
- Now reload the page
Upon reloading Special:Preferences page loads the first tab and then switches to "Recent Changes" tab
| Ryasmeen | |
| Sep 10 2018, 6:49 PM |
| F25778365: ooui.mkv | |
| Sep 11 2018, 7:38 PM |
| F25778364: curr.mkv | |
| Sep 11 2018, 7:38 PM |
Steps to reproduce:
Upon reloading Special:Preferences page loads the first tab and then switches to "Recent Changes" tab
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| Avoid FOUC when loading Special:Preferences link to section | mediawiki/core | master | +40 -33 |
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | matmarex | T203984 Upon reloading Special:Preferences page loads the first tab and then switches to previously opened tab | |||
| Resolved | Esanders | T203838 Lazy infuse OOUI widgets on Special:Preferences | |||
| Resolved | None | T204111 Language widget on Special:Preferences is slow to load |
James is right, but it is also true that the OOUI page loads slower and so the effect is more noticeable. Just for reference/comparison, here's how it looks like on my machine when refreshing the page:
(Note that the same occurs after saving the settings, so it's not just a theoretical case.)
The performance improvements from T203838 are likely to help here.
Change #1281621 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):
[mediawiki/core@master] Avoid FOUC when loading Special:Preferences link to section
Change #1281621 merged by jenkins-bot:
[mediawiki/core@master] Avoid FOUC when loading Special:Preferences link to section