Hi :),
I've found myself multiple times with user-fixes.py files that are so huge that are difficult to manage. Therefore I did create a work around for this: https://github.com/Fale/ToolServer/blob/master/pywikipedia/user-fixes.py I know that is pretty dirty code, but I think it solves a lot a problem (the idea behind it, at least). Infact I have been able to create a user-fixes folder https://github.com/Fale/ToolServer/tree/master/pywikipedia/user-fixes with a lot of well orgainzed files. I think this feature should be moved in core.
What do you think about this?
Thanks, Fabio
Sounds interesting. But as far as I see, you create a separate file for every fix. How will that be better organized? Plenty of files, and you need to open more files at a time to compare them or copy repeated portions.
Have you read my mail in this list on March 13 with the subject "Table of contents for scripts and fixes"? I had the same problem, but try a different approach.
On 16 March 2013 21:37, Bináris wikiposta@gmail.com wrote:
Sounds interesting. But as far as I see, you create a separate file for every fix. How will that be better organized? Plenty of files, and you need to open more files at a time to compare them or copy repeated portions.
It looks to me as if you can choose how you do this: you can have multiple fixes['...'] groups per file, but you can choose yourself how many you want. Maybe this is especially useful for the language-specific fixes?
Merlijn
pywikipedia-l@lists.wikimedia.org