User:Daniel Mietchen/bot-recent

From Citizendium
< User:Daniel Mietchen
Revision as of 05:15, 8 January 2010 by imported>Daniel Mietchen (→‎Planned)
Jump to navigation Jump to search

Regular

This section lists bot actions that I may perform on a regular basis. If you feel it's been too long since one of them ran the last time, please email me or leave a note on my talk page.

Creating Related Articles on the basis of their Whatlinkshere, with this script.
python cg_related.py -always -start:! -log
Checking the activity status of editors, as per CZ:Editorial Council Resolution 0012, with this script.
python cg_inactiveeditor.py -always
Fixing double redirects
python redirect.py double -always
Removing occurences of Template:Fact (leftovers of imports from Wikipedia)
python template.py "Fact" -remove -namespace:0 -always

Planned

This section lists bot actions which I intend to perform in the next few days, sorted by priority. When put here, these scripts have already been tested in debug mode (i.e. without actually making any edit).

Adding CZ:Workgroups to Category:Bot-created Related Articles subpages, as per problem description and chosen solution
python replace.py -pt:1 -cat:Bot-created_Related_Articles_subpages -regex "\[\[Category:Bot-created Related Articles subpages\]\]" "{{Bot-created_related_article_subpage}}" -summary:"Robot: Adding \[\[CZ:Workgroups\]\] to \[\[Category:Bot-created Related Articles subpages\]\]" -always

Irregular

This section lists recent bot actions which I have performed once or a few times only, with the most recent at the top.

De-encapsulating subpages template from duplicate noinclude tag
python replace.py -pt:1 -cat:Subpages -regex "<noinclude><noinclude>{{subpages}}</noinclude></noinclude>" "<noinclude>{{subpages}}</noinclude>" -summary:"Robot: encapsulating subpages template in simple (not double) noinclude tags" -always
Encapsulating subpages template in noinclude tag
python replace.py -pt:1 -cat:Subpages -regex "{{subpages}}" "<noinclude>{{subpages}}</noinclude>" -summary:"Robot: encapsulating subpages template in noinclude tags" -always
Correcting text bits in various categories
python replace.py -pt:1 -start:Category:! -regex "due to either \(i\) them not containing any intrawiki links or \(ii\)" "due to either (i) them not being linked from other articles, (ii) them not containing any intrawiki links or (iii)" -summary:"Robot: expanding documentation" -always
Encapsulating subpages template in noinclude tag, per bug report
python replace.py -pt:1 -cat:Bot-created_Related_Articles_subpages -regex "{{subpages}}" "<noinclude>{{subpages}}</noinclude>" -summary:"Robot: encapsulating subpages template in noinclude tags" -always
Replacing "all each article" with "all articles", per request
python replace.py -pt:2 -start:Category:! -regex "all each article" "all articles" -summary:"Robot: replacing phrase <all each article>" -always
Trying out the bot that checks for functional external links
python weblinkchecker.py -start:! -log
Found thousands of dead ones in first run. Will check back later.
Trying out the cosmetic changes bot.
python cosmetic_changes.py -start:Gyr -log