On Wed, Feb 17, 2010 at 10:02 PM, Derrick Coetzee dc@moonflare.com wrote:
'User-Agent: Mozilla/5.0' . "\n" .
Do not lie in your User-Agent. If your script causes any significant load, and a Wikimedia sysadmin notices it pretending to be a browser, they wouldn't be able to do much except block the entire toolserver until we're able to figure out which script is causing the problem, and disable it. Use a descriptive User-Agent, preferably one that gives contact information.
I don't have any suggestions as to your actual problem, though. I don't see a script to populate rev_len in maintenance/, so I guess someone would have to write one.