Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-9502

Explain inclusion/exclusion of wiki markup (formatting, images, links) in excerpt and excerpt-include macros

    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Investigate and document the inclusion/exclusion of wiki markup (formatting, images, links) in excerpt and excerpt-include macros.
      http://confluence.atlassian.com/display/DOC/Excerpt+Include+Macro
      http://confluence.atlassian.com/display/DOC/Excerpt+Macro

      See customer comments on the above page, and especially this comment:
      http://confluence.atlassian.com/display/DOC/Excerpt+Macro?focusedCommentId=91128259#comment-91128259

            [CONFSERVER-9502] Explain inclusion/exclusion of wiki markup (formatting, images, links) in excerpt and excerpt-include macros

            The underlying issues with the excerpt macros have been fixed for Confluence 2.6.1. Please see the related issues above.

            All wiki markup should be valid inside an excerpt macro, and rendered in exactly the same way on any page which includes it.

            Please raise a separate issue if there are problems with this in versions of Confluence after 2.6.1.

            Matt Ryall added a comment - The underlying issues with the excerpt macros have been fixed for Confluence 2.6.1. Please see the related issues above. All wiki markup should be valid inside an excerpt macro, and rendered in exactly the same way on any page which includes it. Please raise a separate issue if there are problems with this in versions of Confluence after 2.6.1.

            Hi

            I've just voted for this bug, but to give some specifics of what we're doing:

            We use Confluence and Builder for our organisation's public web site, as well as our internal documentation.
            We've recently upgraded from 2.5.2 to 2.5.7.

            We have a page (named QandA) which has a half a dozen child pages.

            Each child page has the basic format

            {excerpt:hidden=true} [Name of the current page] {excerpt}
            A whole bunch of text which is shown when this page is visited....

            On our main pages, we use the code:
            {include-random:QandA|space=spacename|nopanel|link=false}

            NB: the square brackets around "Name of the current page" to make a link to the current page. I've backslashed the set braces and square brackets so as to quote them.

            So, the include-random macro picks a random child page, and shows the text within that page's

            {excerpt}

            macro.
            Since this text also contains a hyperlink, if the user clicks on it, they go to the randomly picked child page.

            Due to the recent change to excerpt macro, this no longer works.

            cheers
            Andy

            UQ Business School added a comment - Hi I've just voted for this bug, but to give some specifics of what we're doing: We use Confluence and Builder for our organisation's public web site, as well as our internal documentation. We've recently upgraded from 2.5.2 to 2.5.7. We have a page (named QandA) which has a half a dozen child pages. Each child page has the basic format {excerpt:hidden=true} [Name of the current page] {excerpt} A whole bunch of text which is shown when this page is visited.... On our main pages, we use the code: {include-random:QandA|space=spacename|nopanel|link=false} NB: the square brackets around "Name of the current page" to make a link to the current page. I've backslashed the set braces and square brackets so as to quote them. So, the include-random macro picks a random child page, and shows the text within that page's {excerpt} macro. Since this text also contains a hyperlink, if the user clicks on it, they go to the randomly picked child page. Due to the recent change to excerpt macro, this no longer works. cheers Andy

              Unassigned Unassigned
              smaddox SarahA
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: