[Wikitech-l] Recommended way to change a lot of absolute links at wiki

2014-08-10 Thread Dmitriy Sintsov
Hi! I made a XML dump with --current option, then replaced some of external domain links [http://somedomain.org] in it. When I import the dump back, these pages aren't updated. I think that's because text processors / editors do not update sha1 / timestamp fields. Why doesn't maintenance/importDump

Re: [Wikitech-l] Recommended way to change a lot of absolute links at wiki

2014-08-10 Thread Benjamin Lees
If you simply remove the timestamp from a revision in a dump, the importer appears to happily insert it with the current time as the timestamp. This may also cause cancer, summon Cthulhu, etc. In addition to pywikibot, there's the Replace Text extension[0], which ought to be able to handle what y

Re: [Wikitech-l] Recommended way to change a lot of absolute links at wiki

2014-08-11 Thread Dmitriy Sintsov
Replace in XML dump was done automatically and I did not want to remove timestamp from all revisions (even from current ones) because the wiki is quite large (about 9000 articles). So I made my own tool to touch such revision timestamps: https://github.com/Dmitri-Sintsov/MwDumpProcessor/commit/079c