User:Daniel Mietchen/bot-recent: Difference between revisions
Jump to navigation
Jump to search
imported>Daniel Mietchen (→Planned: moved to User:Housekeeping Bot/bot-recent) |
imported>Daniel Mietchen |
||
Line 36: | Line 36: | ||
;Replacing "all each article" with "all articles", [http://forum.citizendium.org/index.php/topic,2823.msg23301.html#msg23301 per request] | ;Replacing "all each article" with "all articles", [http://forum.citizendium.org/index.php/topic,2823.msg23301.html#msg23301 per request] | ||
:<code><nowiki>python replace.py -pt:2 -start:Category:! -regex "all each article" "all articles" -summary:"Robot: replacing phrase <all each article>" -always</nowiki></code> | :<code><nowiki>python replace.py -pt:2 -start:Category:! -regex "all each article" "all articles" -summary:"Robot: replacing phrase <all each article>" -always</nowiki></code> | ||
:[http://en.citizendium.org/wiki?title=Special:Contributions&offset=2009-09-11+18%3A50%3A53%2B00&limit=50&contribs=user&target=Daniel+Mietchen&year=&month= List of edits made] | |||
;Trying out the bot that checks for functional external links | ;Trying out the bot that checks for functional external links | ||
:<code><nowiki>python weblinkchecker.py -start:! -log</nowiki></code> | :<code><nowiki>python weblinkchecker.py -start:! -log</nowiki></code> | ||
:Found thousands of dead ones in first run. Will check back later. | :Found thousands of dead ones in first run. Will check back later. | ||
:No edit made. | |||
;Trying out the cosmetic changes bot. | ;Trying out the cosmetic changes bot. | ||
:<code><nowiki>python cosmetic_changes.py -start:Gyr -log</nowiki></code> | :<code><nowiki>python cosmetic_changes.py -start:Gyr -log</nowiki></code> | ||
:[http://en.citizendium.org/wiki?title=Gyrification&diff=100548924&oldid=100503352 The only test edit] |
Revision as of 17:02, 19 January 2010
Regular
This section lists automated 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 automated actions which I intend to perform in the next few days, sorted by priority. When put here, the code has already been tested in debug mode (i.e. without actually making any edit). If test edits were done, they will be linked from here.
Irregular
This section lists automated 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
- List of edits made
- 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.
- No edit made.
- Trying out the cosmetic changes bot.
python cosmetic_changes.py -start:Gyr -log
- The only test edit