User:Cyde/pyWikipediaBot work

Searching for 'cyde'

002556: (date: 2006/04/21 16:20:08; author: cydeweys;  state: Exp;  lines: +5 -2) | /cvsroot/pywikipediabot/pywikipedia/replace.py,v:1.104 `

Add error handling for edit conflicts.

=
=================================================================

002557: (date: 2006/04/21 16:20:54; author: cydeweys;  state: Exp;  lines: +20 -1) | /cvsroot/pywikipediabot/pywikipedia/template.py,v:1.38 `

Adding parameter to filter on namespaces.

=
=================================================================

002558: (date: 2006/04/21 20:38:30; author: cydeweys;  state: Exp;  lines: +42 -11) | /cvsroot/pywikipediabot/pywikipedia/template.py,v:1.39 `

Added custom edit summary and automatically accept all changes parameters.

=
=================================================================

002567: (date: 2006/04/28 18:12:55; author: cydeweys;  state: Exp;  lines: +5 -2) | /cvsroot/pywikipediabot/pywikipedia/catlib.py,v:1.67 `

Adding exception handling for edit conflicts (now it just ignores them).

=
=================================================================

002568: (date: 2006/04/28 18:14:15; author: cydeweys;  state: Exp;  lines: +48 -14) | /cvsroot/pywikipediabot/pywikipedia/category.py,v:1.105 `

Added some command-line parameters for batch editing. Now this tool can be run entirely from the command-line using -from: -to: and -batch

=
=================================================================

002569: (date: 2006/04/28 18:15:20; author: cydeweys;  state: Exp;) | /cvsroot/pywikipediabot/pywikipedia/catmove.pl,v:1.1 `

Uploading small Perl script that is used with category.py to rename a bunch of categories all at once.

=
=================================================================

002571: (date: 2006/04/29 18:53:18; author: cydeweys;  state: Exp;  lines: +5 -2) | /cvsroot/pywikipediabot/pywikipedia/catlib.py,v:1.68 `

catlib.py now gracefully skips pages with interwiki links to self rather than choking and dying.

=
=================================================================

002572: (date: 2006/04/29 21:07:40; author: cydeweys;  state: Exp;  lines: +2 -2) | /cvsroot/pywikipediabot/pywikipedia/template.py,v:1.40 `

Fixing a minor bug I introduced when dealing with custom summaries.

=
=================================================================

002573: (date: 2006/04/29 21:09:00; author: cydeweys;  state: Exp;  lines: +45 -11) | /cvsroot/pywikipediabot/pywikipedia/catmove.pl,v:1.2 `

Many improvements, now has custom edit summaries and can batch remove categories.

=
=================================================================

002574: (date: 2006/04/29 21:10:01; author: cydeweys;  state: Exp;  lines: +25 -9) | /cvsroot/pywikipediabot/pywikipedia/category.py,v:1.106 `

Adding a command-line parameter for custom edit summaries. Maybe this should be added interactively, too.

=
=================================================================

002575: (date: 2006/04/30 18:38:49; author: cydeweys;  state: Exp;  lines: +8 -7) | /cvsroot/pywikipediabot/pywikipedia/category.py,v:1.107 `

Fixing batch mode bug.

=
=================================================================

002581: (date: 2006/05/03 19:51:36; author: cydeweys;  state: Exp;  lines: +23 -13) | /cvsroot/pywikipediabot/pywikipedia/template.py,v:1.41 `

Add a pages parameter, fix some miscellaneous stuff.

=
=================================================================

002582: (date: 2006/05/03 21:56:56; author: cydeweys;  state: Exp;  lines: +9 -0) | /cvsroot/pywikipediabot/pywikipedia/catmove.pl,v:1.3 `

Adding ability to specify edit summaries inside of the input; allows one huge run on categories with various different edit summaries being set at various times.

=
=================================================================

002583: (date: 2006/05/03 22:02:34; author: cydeweys;  state: Exp;  lines: +24 -1) | /cvsroot/pywikipediabot/pywikipedia/pagegenerators.py,v:1.32, | /cvsroot/pywikipediabot/pywikipedia/template.py,v:1.42 `

Updating template.py so that it can replace multiple templates in one pass. Adding a -page: parameter so the user can specify pages to work on. Adding separate edit summary messages for substituting templates. Adding some examples in documentation. Adding a new page generator.

=
=================================================================

002600: (date: 2006/05/30 17:59:21; author: cydeweys;  state: Exp;  lines: +9 -6) | /cvsroot/pywikipediabot/pywikipedia/template.py,v:1.43 `

A few minor bugfixes.

=
=================================================================

002601: (date: 2006/05/30 21:34:42; author: cydeweys;  state: Exp;  lines: +11 -10) | /cvsroot/pywikipediabot/pywikipedia/catmove.pl,v:1.4 `

Adding edit throttle parameter, minor fixes to category name matching.

=
=================================================================

002602: (date: 2006/05/30 21:35:34; author: cydeweys;  state: Exp;  lines: +24 -1) | /cvsroot/pywikipediabot/pywikipedia/catlib.py,v:1.69 `

Adding new category text copy function that removes CFD-related templates.

=
=================================================================

002604: (date: 2006/05/31 02:35:16; author: cydeweys;  state: Exp;  lines: +19 -11) | /cvsroot/pywikipediabot/pywikipedia/category.py,v:1.108 `

Fixing batch mode and adding functionality to automatically remove CFD templates from category page source before copying over. NOTE: This will require 1.69 or newer of catlib.py.

=
=================================================================

002608: (date: 2006/06/02 06:00:47; author: cydeweys;  state: Exp;  lines: +14 -1) | /cvsroot/pywikipediabot/pywikipedia/selflink.py,v:1.7 `

A quick hack thrown together to satisfy Marudubshinki's request for more context when trying to resolve selflinks. This patch adds an option to input a question mark to get a lot more surrounding context on the selflink in question.

=
=================================================================

002611: (date: 2006/06/02 19:00:52; author: cydeweys;  state: Exp;  lines: +41 -33) | /cvsroot/pywikipediabot/pywikipedia/catmove.pl,v:1.5 `

Improved thread handling, more comments, cleaner code.

=
=================================================================

002643: (date: 2006/06/09 18:54:00; author: cydeweys;  state: Exp;) | /cvsroot/pywikipediabot/pywikipedia/refcheck.py,v:1.1 `

The first version of a new script I'm working on that will eventually check the integrity of old-style / references.

=
=================================================================

002649: (date: 2006/06/12 02:06:42; author: cydeweys;  state: Exp;  lines: +17 -8) | /cvsroot/pywikipediabot/pywikipedia/catmove.pl,v:1.6 `

More bugfixes, now includes an error buffer.

=
=================================================================

002650: (date: 2006/06/12 02:32:59; author: cydeweys;  state: Exp;  lines: +15 -13) | /cvsroot/pywikipediabot/pywikipedia/category.py,v:1.110, | /cvsroot/pywikipediabot/pywikipedia/wikipedia.py,v:1.711, | /cvsroot/pywikipediabot/pywikipedia/catlib.py,v:1.71 `

Some minor bugfixes. Also, I'm uploading a preliminary version of my in place category changing option. Rather than shuffling everything to the bottom (which breaks when categories are included inside of tags such as ), this should fix everything in place. The only problem is that it doesn't work yet at all. So don't use the -inplace option just yet ... it won't work. All current uses of category.py should be unaffected though.

Please look at my attempt to get inplace replacement working and fix it as necessary. This will be a very useful functionality to have - I just haven't figured it out yet. All of the framework to get it working is now in place, you just need to fix up that one function in wikipedia.py that I've added.

=
=================================================================

002653: (date: 2006/06/13 14:05:38; author: cydeweys;  state: Exp;  lines: +12 -0) | /cvsroot/pywikipediabot/pywikipedia/replace.py,v:1.106, | /cvsroot/pywikipediabot/pywikipedia/pagegenerators.py,v:1.35, | /cvsroot/pywikipediabot/pywikipedia/wikipedia.py,v:1.712 `

Added a rough file links page generator (used to identify pages that display an image). I also added a -filelinks parameter to replace.py and tested it out by removing an image from all pages it was included on. It worked.

=
=================================================================

002657: (date: 2006/06/14 17:49:39; author: cydeweys;  state: Exp;) | /cvsroot/pywikipediabot/pywikipedia/image.py,v:1.1 `

Added the first version of my ImageRobot. It can remove and replace images. Some additional work is needed ... for instance, in the page generator, all of the image description lines will result in unparsed warnings. But it should still work.

=
=================================================================

002667: (date: 2006/06/22 17:34:57; author: cydeweys;  state: Exp;  lines: +1 -1) | /cvsroot/pywikipediabot/pywikipedia/image.py,v:1.2 `

Fixing blanking bug.

=
=================================================================

002668: (date: 2006/06/22 18:56:17; author: cydeweys;  state: Exp;  lines: +38 -14) | /cvsroot/pywikipediabot/pywikipedia/image.py,v:1.3 `

Adding always and edit summary parameters.

=
=================================================================

002669: (date: 2006/06/22 18:57:12; author: cydeweys;  state: Exp;  lines: +1 -1) | /cvsroot/pywikipediabot/pywikipedia/template.py,v:1.44 `

Fixing bug with -page parameter.

=
=================================================================

002747: (date: 2006/08/25 05:50:59; author: cydeweys;  state: Exp;  lines: +1 -0) | /cvsroot/pywikipediabot/pywikipedia/pagegenerators.py,v:1.37 `

Since the multiple references page generator can get a lot of pages, it's probably a good idea to outpuut the total number of pages to be processed.

=
=================================================================

002748: (date: 2006/08/25 05:54:51; author: cydeweys;  state: Exp;  lines: +4 -3) | /cvsroot/pywikipediabot/pywikipedia/wikipedia.py,v:1.723, | /cvsroot/pywikipediabot/pywikipedia/catlib.py,v:1.73 `

Very preliminary update of the in-place category replacement engine. It still has some bugs that need to be fixed as follows: 1) It doesn't do case correction on the first letter of the category name. 2) It doesn't handle category sort keys at all. 3) It does some weird line-wrapping thing that will concatenate two lines  that were previously separate.  Only occurs if the category is at the end   of a line of text.

=
=================================================================

002800: (date: 2006/09/20 00:48:42; author: cydeweys;  state: Exp;  lines: +11 -5) | /cvsroot/pywikipediabot/pywikipedia/wikipedia.py,v:1.741, | /cvsroot/pywikipediabot/pywikipedia/catlib.py,v:1.77 `

Fixing category.py so that it can act on categories on redirect pages, as there is no reason why redirect pages cannot contain valid categories (and indeed, on en-wiki, they do, often enough to kill long bot runs with redirect exceptions).

=
=================================================================

002805: (date: 2006/09/20 18:42:38; author: cydeweys;  state: Exp;) | /cvsroot/pywikipediabot/pywikipedia/templatecount.py,v:1.1 `

Adding a new robot that can count up and list template transclusions.

=
=================================================================

002839: (date: 2006/10/08 06:18:45; author: cydeweys;  state: Exp;  lines: +4 -1) | /cvsroot/pywikipediabot/pywikipedia/catlib.py,v:1.78 `

Updating catlib to reflect the new CFD process at en-wiki, which uses substituted templates now.

=
=================================================================

002843: (date: 2006/10/15 20:23:06; author: cydeweys;  state: Exp;  lines: +2 -0) | /cvsroot/pywikipediabot/pywikipedia/interwiki.py,v:1.303 `

Adding Basque and Catalan translations per Arkaitz Zubiaga.

=
=================================================================

002873: (date: 2006/11/13 21:49:22; author: cydeweys;  state: Exp;) | /cvsroot/pywikipediabot/pywikipedia/delete.py,v:1.1 `

I've created a new bot, delete.py, that will delete all pages in a given page generator. It currently only works with pages obtained from a category page generator but it could easily work on pages from any page generator (maybe we need a generalized way to obtain page generators that works across all bots?).

=
=================================================================

002874: (date: 2006/11/15 14:13:57; author: cydeweys;  state: Exp;  lines: +35 -15) | /cvsroot/pywikipediabot/pywikipedia/delete.py,v:1.2 `

delete.py can now delete from a list of pages given on-wiki. TODO: It should respect the throttle, and also, the preloading generator probably isn't necessary since it's just deleting (and thus doesn't need the contents of the pages to be deleted).

=
=================================================================

003000: (date: 2006/12/13 22:18:12; author: cydeweys;  state: Exp;  lines: +1 -1) | /cvsroot/pywikipediabot/pywikipedia/delete.py,v:1.5, | /cvsroot/pywikipediabot/pywikipedia/wikipedia.py,v:1.773 `

Adding a throttle to page deletion (helps delete.py a lot).

=
=================================================================

003022: (date: 2006/12/15 01:36:38; author: cydeweys;  state: Exp;  lines: +2 -0) | /cvsroot/pywikipediabot/pywikipedia/catlib.py,v:1.81 `

Category.py continues on spamlist errors.

=
=================================================================

003071: (date: 2006/12/27 05:27:21; author: cydeweys;  state: Exp;  lines: +13 -2) | /cvsroot/pywikipediabot/pywikipedia/replace.py,v:1.118 `

Adding a case insensitivity flag -noflag. This simplifies a lot of regex stuff.

=
=================================================================

003072: (date: 2006/12/27 05:27:46; author: cydeweys;  state: Exp;  lines: +8 -3) | /cvsroot/pywikipediabot/pywikipedia/wikipedia.py,v:1.779 `

Adding an as-of-yet unused case insentivity flag to the replace function.

=
=================================================================

003087: (date: 2007/01/09 15:52:56; author: cydeweys;  state: Exp;  lines: +3 -3) | /cvsroot/pywikipediabot/pywikipedia/wikipedia.py,v:1.780 `

Fixed a niggling bug that was preventing the bot from being able to get the page source of an actual redirect page.

=
=================================================================

003118: (date: 2007/01/16 23:15:18; author: cydeweys;  state: Exp;  lines: +2 -1) | /cvsroot/pywikipediabot/pywikipedia/families/wikipedia_family.py,v:1.144 `

Adding Test Wikipedia, hope I did this correctly ...

=
=================================================================

003119: (date: 2007/01/17 16:49:07; author: cydeweys;  state: Exp;  lines: +60 -13) | /cvsroot/pywikipediabot/pywikipedia/category.py,v:1.124 `

I've added a new category option, listify. It will turn a category into a list. TODO: Some nice way to handle sub-categories? Maybe print out a recursive list with successive levels of indentation for sub-cats of sub- cats? Currently it just makes a list of articles and ignores the sub-cats.

Also, a new command-line option -delsum to use the custom edit summary as the deletion reason for the remove bot.

=
=================================================================

003120: (date: 2007/01/17 18:51:37; author: cydeweys;  state: Exp;  lines: +14 -4) | /cvsroot/pywikipediabot/pywikipedia/category.py,v:1.125 `

Adding an overwrite parameter to the listify option, also, a Swedish translation.

=
=================================================================

003121: (date: 2007/01/17 19:31:32; author: cydeweys;  state: Exp;  lines: +19 -5) | /cvsroot/pywikipediabot/pywikipedia/image.py,v:1.9 `

A new commandline option, -loose, allows catching more images to be replaced, including when the image is a template parameter, the Image ... syntax has weird characters in the caption, or most importantly, in image galleries.

=
=================================================================