Thread:Project:Support desk/Editing exported xml files (wiki-pages) and importing them into other MediaWiki(same version)

Hallo,

I would like to know if is it safe to: - Export a group of Wiki-pages as a xml file from one MediaWiki instance - Edit sections of that exported xml-file - Import altered xml-file into second MediaWiki instance

I noticed that there are hash- and bytes-values surrounding every section, so I'm not sure if changing the contents of sections may cause a negative impact upon importing the altered xml-file into new wiki.

Mytitle 0 5997 493152 493136      2014-10-08T13:19:18Z MyUsername 265 ''' '''     Block of text that I need to alter goes here.        i95r5wxemaiku4ivvso7yvaf54cd2lq wikitext text/x-wiki

The Purpose is: We have a new MediaWiki and I need to migrate 1000+ pages from our "old" wiki into the new one. The "old" pages have also to be altered according to new demands. My Idea was to export those pages from "old" wiki as a xml file and then parse/edit its contents with a script, before importing it into the new wiki But I'm not sure if its possible, because of the previously at export generated hash- and size-values... I hope that someone could answer that question for me

Software:Version MediaWiki:1.23.1 PHP: 5.5.9-1ubuntu4.11 (apache2handler) MySQL: 5.5.43-0ubuntu0.14.04.1-log

Thanks in Advance