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

Refactoring jobs don't take into account wiki syntax in Macros

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 13.4-rc-1
    • 8.4
    • Refactoring
    • None
    • Unit, Integration
    • Unknown

    Description

      Right now if you have some wiki links inside a {{info}} macro for example (or inside a {{html wiki=true}} macro) then they are opaque to the refactoring operations. The consequence is that you get broken links when you move pages for example since the links are not rewritten.

      2 ideas:

      • Idea 1: Have the refactoring jobs know some well-known macros and add support for them (i.e. update their content)
      • Idea 2: Introduce some new API in the Macro interface (or introduce a RefactorableMacro interface) to let the macro implement what it should do during refactoring operations (like a move/rename).

      WDYT?

      Attachments

        Issue Links

          Activity

            People

              surli Simon Urli
              vmassol Vincent Massol
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: