On 29 February 2012 15:30, Bináris <[email protected]> wrote: > Let's have a deal. If someone writes the dump reader, I promise to try > rewrite and familiarize myself with it. :-) >
;-) Unfortunately, I don't have large amounts of time, but I'll see what I can do. > My main field of botwork is text replacements and spelling > corrections<http://wikimania2012.wikimedia.org/wiki/Submissions/Efficient_and_flexible_text_manipulation,_spelling_correction_and_page_collections_with_Pywikibot>with > replace.py (as I am > * ill* of spelling mistakes people do all the time) thus dump is a > primary tool for me. > Of course. XML support is something that definitely should be added. Well, tests is a big lesson for me to learn. I would appreciate an >> introduction to them as they are really useful. >> > The introduction is quite simple: instead of manually testing, you create a script that tests for you. Even though you have this in different flavours ('unit testing', 'integration testing', etc), the idea is the same: because you create an automatic test, you can check a week, a month or even 5 years later whether the feature you added or bugfix you made still works as it should. Combined with testing before commit / automatic testruns ('continuous integration'), this makes bugs much easier to prevent. And this is my last mail for tonight ;-) Best, Merlijn
_______________________________________________ Pywikipedia-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
