Uploaded image for project: 'MediaWiki tools'
  1. MediaWiki tools
  2. MEDIAWIKI-76

Imported pages that were linking to "redirects" come across broken

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.10
    • Fix Version/s: 1.11
    • Component/s: Filter
    • Labels:
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Imported pages from mediawiki that were linking to "redirects" come across broken since the redirect isn't in place.

      Example, in mediawiki have a simple page with a link to page ABC. When you move/rename page ABC to XYZ, you have the option to leave a redirect behind so that the old URL (ABC) doesn't become broken.  The page is still linking to ABC but the link is valid since there is a redirect in place.

      On import, xwiki imports the link pointing to ABC but not the redirect that was in place for ABC that points it to XYZ, thus xwiki believes the link is broken and when clicking the link prompts you to create a new page since it doesn't believe it exists.

       

      See https://www.mediawiki.org/wiki/Help:Redirects

       

      Redirects can be listed using Special:ListRedirects but is limited to 1000

        Attachments

        1. abc.xml
          4 kB
        2. xwiki_A.png
          xwiki_A.png
          20 kB
        3. xwiki_B.png
          xwiki_B.png
          10 kB
        4. xwiki_C.png
          xwiki_C.png
          5 kB
        5. xwiki_D.png
          xwiki_D.png
          8 kB
        6. xwiki_E.png
          xwiki_E.png
          4 kB
        7. xwiki_F.png
          xwiki_F.png
          19 kB
        8. xwiki_G.png
          xwiki_G.png
          19 kB

          Activity

            People

            • Assignee:
              tmortagne Thomas Mortagne
              Reporter:
              reighnman Jared O.
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: