Python talk:UserContributions.py

From Botwiki

Jump to: navigation, search

[edit] 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)

[edit] 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)

Personal tools