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

Imported pages with links to pages containing spaces import with underscore instead

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Unresolved
    • Major
    • None
    • None
    • None
    • None
    • XWiki 10.5
      Mediawiki 1.28.2
      Windows 2016
      Tomcat 9
      MSSQL 2014
    • Unknown

    Description

      Maybe related to MEDIAWIKI-25, but links to pages containing spaces import with underscores in place of spaces unless the link display text has been renamed.

       

      For example in the test.xml there are 2 pages (test, test link).  

       

      [[Test Link]]  imports as "Test_Link" ::  [[Main.Test_Link]]

      [[Test Link|Test Link]] imports as "Test Link"  ::  [[Test Link>>Main.Test_Link]

       

      Is is possible to just import any link not specifying alternative display text to include it matching the page name which would allow it to import with spaces but not break the link when the whitespace is converted to _.

      Attachments

        Activity

          People

            Unassigned Unassigned
            reighnman Jared O.
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: