According to the DOM inspector form#editform fields are:
"wpTextbox1" "wpSummary" "wpSave" "wpSection" "wpEdittime"
Is the edit time used as the token?
No, the field is called precisely "wpEditToken" and contains a MD5 sum. Good time to tell us which version of MediaWiki you are using, maybe there is a bug?..
Thanks for the help, I'm using 1.4beta6. There is definitely not any "wpEditToken" in the HTML. Maybe this is a known issue with beta6? When I get time I'll upgrade to 1.4rc1 and see if it persists.
I've just looked at meta.wikipedia (which runs 1.4rc1) and their edit pages have no wpEditToken field either.
lynx -source "http://meta.wikimedia.org/w/index.php?title=Wikipedia&action=edit" | grep -i token gives no output
Maybe edit tokens were removed in 1.4? If so there must be some other reason my script's edits aren't being accepted.
-- Jim