Uploaded image for project: 'XWiki Rendering'
  1. XWiki Rendering
  2. XRENDERING-406

Don't pass the full macro definition as the content for MediaWiki macros

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 7.2-milestone-2
    • Component/s: Wikimodel
    • Labels:
      None
    • Tests:
      Unit
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Right now the full macro definition is passed as the content of the macro which is not logical.

      For ex if we have:

      {{macroname:param1}}
      

      Then the content of macro is passed as "macroname:param1".

      Instead the content should be empty since MediaWiki macros don't support passing any content (only parameters).

        Attachments

          Activity

            People

            • Assignee:
              vmassol Vincent Massol
              Reporter:
              vmassol Vincent Massol
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: