User:Caesar Schinas/bot-recent: Difference between revisions
Jump to navigation
Jump to search
imported>Caesar Schinas mNo edit summary |
imported>Caesar Schinas mNo edit summary |
||
Line 1: | Line 1: | ||
This page lists recent bot actions which I have performed, with the most recent at the top. | This page lists recent bot actions which I have performed, with the most recent at the top. | ||
;Update image code (in CZ namespace, but will later run in main and perhaps others) | |||
:<code><nowiki>python replace.py -pt:2 -start:CZ:! -fix:CZimage</nowiki></code> | |||
:Relies on a file called <code>user-fixes.py</code> which I have created - I will post the contents later. | |||
;Update image code where credit line is used directly | ;Update image code where credit line is used directly |
Revision as of 05:23, 11 June 2009
This page lists recent bot actions which I have performed, with the most recent at the top.
- Update image code (in CZ namespace, but will later run in main and perhaps others)
python replace.py -pt:2 -start:CZ:! -fix:CZimage
- Relies on a file called
user-fixes.py
which I have created - I will post the contents later.
- Update image code where credit line is used directly
python replace.py -pt:2 -start:! -summary:"Update image code" -regex "\[\[Image:([^|]*)(\|thumb)?\|(left|right|center)(\|thumb)?\|([0-9]*px)(\|thumb)?\|{{[Cc]redit\|\1}}([^\[\]|]*)\]\]" "{{Image|\1|\3|\5|\7}}"
- Remove Template:Japan from all articles, as we use related articles pages instead on CZ.
python template.py -pt:2 "Japan" -remove
- Replace the last few uses of {{TOC|right}} }} with {{
python template.py -pt:2 "TOC-right" "TOC|right"
- Replace all uses of the old Template:Alpha cat with Template:CategoryTOC.
python template.py "Alpha cat" "CategoryTOC"
- Remove Paul Wormer's name from all credit lines, per request.
python replace.py -pt:2 -start:Template:! -regex "{{[Cc]reditline\|([^|]*)\|([^|]*)\| ?Paul Wormer ?}}" "{{creditline|\1|\2}}" -summary:"Remove Paul's name as requested"