Wiki source code of Panel Wizard Slowness

Last modified by Eleni Cojocariu on 2026/08/28 09:53

Show last authors
1 The Panel Wizard can take a long time to open, or time out, on a large wiki.
2
3 === Cause ===
4
5 The "Panel List" tab does not merely name the available Panels, it renders each of them so you can see what you are dragging. Every Panel that queries the wiki, such as Recently Modified or Navigation, therefore runs its query while the section loads, and a wiki with many pages or many Panels pays for all of them at once. The behaviour is tracked as [[XWIKI-16579>>https://jira.xwiki.org/browse/XWIKI-16579]].
6
7 === Solution ===
8
9 Set the layout without opening the section, by editing the ##XWiki.XWikiPreferences## xobject of the ##XWiki.XWikiPreferences## page directly and filling in the six properties the Wizard would have written: "Panels displayed on the left", "Panels displayed on the right", "Display the left panel column", "Display the right panel column", "Width of the left panel column" and "Width of the right panel column". The two list properties take a comma-separated list of Panel page references, so the Wizard is only a convenience over them. [[Panels Bundled with XWiki>>doc:documentation.xs.admin.panels.bundled.WebHome]] gives the references to use.

Get Connected