Planning the future of Botwiki! - Help us bring Botwiki up to date, contribute to our strategy discussion, add bot scripts, and contribute manuals, guides, and tutorials! Almost anything related to bots, particularly those used to edit mediawiki, is welcome.
UNABLE TO EDIT? - We've experienced attacks by spambots lately and now require you to confirm your e-mail before you can edit (go to your preferences, enter an e-mail address, and request a confirmation e-mail, then go to your e-mail and click on the confirmation link). We also require new accounts to make a few edits and wait a few minutes before before you can create a page; however, if this is a problem contact us in #botwiki and we can manually confirm your account. Sorry for the inconvenience.
Python talk:UserContributions.py
List all of the users contributions?
Does this bot list all of the editors individual contributions?
For example, if I were to write "hello world" on a page, and put "minor edit" in the summary, would I be able to see both the "hello world" AND "minor edit" in the user contributions summary? 69.138.243.26 20:06, 22 July 2009 (UTC)
- nevermind, it only lists the summary of the edit, not the full edit. 69.138.243.26 03:54, 23 July 2009 (UTC)
Instructions for use
1. Copy and paste all text on UserContributions.py into a text editor
2. If using english wikipedia change lang to lang = 'en'
3. Save the file as UserContributions.py
4. Start Python
5. At the C: Prompt, Type UserContributions.py
Python will state:
userName?
6. Enter username.
Python will state:
timestamplowerlimit?, e.g. "2008-01-01", or "2008-01-01T12:34:56Z" in full
7. Choose the earliest date you want the bot to return, press enter.
Python will return something resembling this:
('edit', '8354786', '303592988', '4', 'Wikipedia:Creating a bot', '2009-07-22T19
:54:28Z', {}, '/* Python */ Using the python wikipediabot')
('edit', '8354786', '303592988', '4', 'Wikipedia:Creating a bot', '2009-07-22T19
:54:28Z', {}, '/* Python */ Using the python wikipediabot')
('edit', '3252662', '303584051', '4', 'Wikipedia:Village pump (technical)', '200
9-07-22T19:13:45Z', {}, '/* Special:Export of user's contributions? */'
)
69.138.243.26 03:41, 23 July 2009 (UTC)