mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 00:30:44 +00:00
7cf10ea474
The "Add parameter" page always starts collapsed. Even if a template doesn't contain anything but this. But most of the content isn't visible, unless the user presses the button. It's not only a lot of content, it's also rather expensive, including .parseDom(), LinkCache.styleElement(), and ve.targetLinksToNewWindow(). This adds up in large multi-part transclusions. In an example with 200 parts the total blocking time goes down from 2.9s to 2.4s. Which means this is not a major bottleneck, but still worth it. Bug: T296335 Change-Id: Ieab9fd35d145142b04d2267d8e5a2e10a4c02784 |
||
---|---|---|
.. | ||
ve.ui.MWAddParameterPage.test.js | ||
ve.ui.MWParameterPage.test.js |