Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-10426

Handle the "skin" URL parameter in CSS links

    Details

    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Similar issues:

      Description

      In style.css, I have a velocity call to get the current skin ($xwiki.getSkin()).

      But when I open a page with a skin parameter in the URL (such as ?skin=flamingo), the parameter is not taken into account when XWiki generates links to style.css.

      As a result, $xwiki.getSkin() returns "colibri" in "style.css" even if I am reaching "/xwiki/bin/view/Main/WebHome?skin=flamingo".

      I propose to fix that.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gdelhumeau Guillaume Delhumeau
                Reporter:
                gdelhumeau Guillaume Delhumeau
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: