Wiki source code of Preview a Skin
Last modified by Eleni Cojocariu on 2026/09/23 14:52
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | Display one page with any skin by adding a ##skin## parameter to its URL, which wins over every [[skin level>>doc:documentation.xs.admin.skins.levels.WebHome]]. | ||
| 2 | |||
| 3 | 1. Choose one of the [[skins the wiki can use>>doc:documentation.xs.admin.skins.available.WebHome]]. | ||
| 4 | 1. Add a ##skin## parameter naming that skin to the URL of the page you want to look at, or ##&skin=## if the URL already carries parameters:((( | ||
| 5 | {{code language="none"}} | ||
| 6 | https://mywiki.example.org/xwiki/bin/view/Sandbox/?skin=XWiki.DefaultSkin | ||
| 7 | {{/code}} | ||
| 8 | ))) | ||
| 9 | 1. Open that URL. The page is displayed with the skin you named, for this request only. Load it again without the parameter and the wiki's own skin is back:((( | ||
| 10 | {{image reference="page-rendered-previewed-skin.png" size="extra" alt="The Sandbox page displayed with the previewed skin, with its navigation panels, breadcrumb, title and content"/}} | ||
| 11 | ))) |