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

XML import chokes on % sign in link references

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 1.13
    • 1.12.5
    • Filter
    • None
    • Trivial

    Description

      Running Filter Streams halts on errors shown at https://forum.xwiki.org/t/how-do-i-find-the-illegal-hex-character-that-halted-a-mediawiki-xml-conversion-through-filter-streams which happen just if the initial line from MediaWiki's dumpBackup.php is not first removed from the XML file, that line being in my case:

      <mediawiki xmlns="http://www.mediawiki.org/xml/export-0.10/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.mediawiki.org/xml/export-0.10/ http://www.mediawiki.org/xml/export-0.10.xsd" version="0.10" xml:lang="en">

      Attached file ("nx6") errors as is, succeeds when that first line is removed. A number of other pages similarly fail if in the context of that line's specs, but import cleanly after the line is removed from the XML file.

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            whit Whit Blauvelt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: