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

Refactor only the links of the translations that actually have a link to the moved page

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 7.2-milestone-1
    • Refactoring
    • Unknown

    Description

      Currently, whenever a page is moved, if only one translation of a document has a link to the moved page, all the translations are refactored (see https://github.com/xwiki/xwiki-platform/blob/886b1cdde49d84c1a52f204a65782aae4eccdb86/xwiki-platform-core/xwiki-platform-refactoring/xwiki-platform-refactoring-default/src/main/java/org/xwiki/refactoring/internal/DefaultLinkRefactoring.java#L139).

      Now that we index the document ids in the backlinks, it is possible to be more selective and to only refactor the translations that actually have a link to the moved page.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mleduc Manuel Leduc
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: