Last modified: 2012-06-03 18:03:17 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T24750, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 22750 - update export-0.4.xsd
update export-0.4.xsd
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Export/Import (Other open bugs)
unspecified
All All
: Low enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 26563
  Show dependency treegraph
 
Reported: 2010-03-06 21:04 UTC by Umherirrender
Modified: 2012-06-03 18:03 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Umherirrender 2010-03-06 21:04:36 UTC
There are a few errors in export-0.4.xsd:

* LogItemType is not a part of PageType. It is a own dump
* "Image:" is used (Export.php use NS_IMAGE, too)
* fields logtitle and params are missing in LogItemType
* field text only used when there is deleted text

Thanks.
Comment 1 Rob Lanphier 2011-01-18 06:16:23 UTC
Umherirrender, can you provide an example XML dump that doesn't validate when it should (or if the problem is that it validates when it shouldn't, that would also be helpful as a separate example).  Thanks!
Comment 2 Umherirrender 2011-01-23 19:52:12 UTC
Try to validate a logdump (pages-logging.xml.gz from http://download.wikimedia.org/backup-index.html).
Comment 3 Brion Vibber 2011-07-11 23:17:09 UTC
It looks like the 0.5 xsd file has added most of that stuff in r79877 -- anything else missing, other than the file itself being missing from its canonical location (bug 29819)?
Comment 4 Umherirrender 2011-11-12 22:08:46 UTC
When validate a xml log dump. I get the following error:
Validation of the XML Document failed! Error message(s):
The element 'mediawiki' in namespace 'http://www.mediawiki.org/xml/export-0.5/' has invalid child element 'logitem' in namespace 'http://www.mediawiki.org/xml/export-0.5/'. List of possible elements expected: 'http://www.mediawiki.org/xml/export-0.5/:page'. Line: 1 Column:1890
Comment 5 Umherirrender 2012-05-31 17:02:07 UTC
I have done the necessary change to the xsd with Gerrit change #9517
Comment 6 Umherirrender 2012-06-03 18:03:17 UTC
successfully merged

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links