User:Daniel Mietchen/bot-recent: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Daniel Mietchen
(Please switch to "Hide minor edits" in the Recent Changes view - many bot edits coming up now following a bug fix)
imported>Daniel Mietchen
Line 16: Line 16:
==Irregular==
==Irregular==
This section lists recent bot actions which I have performed once or a few times only, with the most recent at the top.
This section lists recent bot actions which I have performed once or a few times only, with the most recent at the top.
;Correcting text bits in various categories
:<code><nowiki>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</nowiki></code>


;Encapsulating subpages template in noinclude tag, [http://forum.citizendium.org/index.php/topic,2823.msg23308.html#msg23308 per bug report]  
;Encapsulating subpages template in noinclude tag, [http://forum.citizendium.org/index.php/topic,2823.msg23308.html#msg23308 per bug report]  

Revision as of 19:40, 11 September 2009

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

Irregular

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

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