https://bugzilla.wikimedia.org/show_bug.cgi?id=28833

       Web browser: ---
             Bug #: 28833
           Summary: Exporting nonexistent page returns broken XML file,
                    should show error message
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Export/Import
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


Created attachment 8499
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=8499
Broken XML file with no page, only siteinfo

Saw this behavior after a support question in #mediawiki . The person asking
for help had put "http://en.wikipedia.org/wiki/Foo"; in the Special:Export text
box instead of simply "Foo". MediaWiki looked for a page called
"http://en.wikipedia.org/wiki/Foo"; , didn't find one, and output an XML file
(attached) with no pages, just siteinfo. Reportedly (I didn't test this),
Special:Import barfs on that.

We should show an error/warning message for nonexistent titles instead of
silently dropping them, and in no case should the exporter produce XML that the
importer can't work with.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to