https://bugzilla.wikimedia.org/show_bug.cgi?id=22881
Vitaliy Filippov <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #8386|0 |1 is obsolete| | --- Comment #31 from Vitaliy Filippov <[email protected]> 2011-11-24 16:47:03 UTC --- Created attachment 9544 --> https://bugzilla.wikimedia.org/attachment.cgi?id=9544 ZIP support + rebase the patch to r104165 The new version of patch: * Rebased to r104165... (again and again...) * ZIP support, used instead of multipart/related by default. Old multipart/related is also supported, partly as an example of multiple archive formats * Added reporting of imported upload count * Recent changes are now restored during import (so the post-import state looks almost exactly same as in the source wiki) * FileRepo part does not need changes anymore, thanks to Bryan Tong Minh! :) * There was a bug in trunk - sha1 was compared with sha1base36 in Import.php * A note about addPages() / addPagesExec() in SpecialExport: they're static because they are useful for MW extensions, for example for a BatchEditor extension we have. I understand that the code maybe isn't perfect... But see, previous versions of MediaWiki also don't have perfect code in export/import part. :) And one more thing about backwards compatibility, ZIP and etc etc etc: all efforts to maintain backwards compatibility with MW < 1.18 are useless anyway, because old XML parser didn't allow differences in the element hierarchy, even if all the difference is a single added element, and it bails out with strange errors in this case. So I still suggest archives as the primary "dump format", not the XML with base64-encoded parts :) -- 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
