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

Refactoring jobs don't take into account well known types of macro parameters

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 8.4
    • Refactoring
    • None
    • Unknown

    Description

      XWIKI-14672 added support for macro content (only type wiki), and it's relying on an API that would allow to converter parameters too (and we do for include and display macro specifically) but we never implemented it.

      It should not be too hard to cover the following types:

      • all forms of EntityReference (DocumentReference, etc.)
      • MacroContentSourceReference of type related to entities

      The best would probably be interesting to introduce some new MacroParameterRefactoring called by DefaultMacroRefactoring to make easier to add support for a new type of parameter.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tmortagne Thomas Mortagne
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: