User:Caesar Schinas/bot-recent: Difference between revisions
Jump to navigation
Jump to search
imported>Caesar Schinas mNo edit summary |
No edit summary |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{AccountNotLive}} | |||
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. | ||
;Subst instances of [[Template:Information]] which have spaces, newlines, etc in them (there seem to be a ''lot''...) | |||
:<code><nowiki>python replace.py -transcludes:Information -regex "{{[\s\r\n]*Information" "{{subst:Information" -pt:2 -summary:"Replace Template:Information with Template:Image_Details" -always</nowiki></code> | |||
;Subst all instances of [[Template:Image_notes_wikimedia]] (will repeat with other Template:Image_notes_*) | |||
:<code><nowiki>python template.py -summary:"Bot: Replace Template:Image_notes_* with [[Template:Image_Details]]" -pt:2 "Image notes wikimedia" -subst -always</nowiki></code> | |||
;Delete all pages listed in the local file del.txt | ;Delete all pages listed in the local file del.txt |
Latest revision as of 02:30, 22 November 2023
The account of this former contributor was not re-activated after the server upgrade of March 2022.
This page lists recent bot actions which I have performed, with the most recent at the top.
- Subst instances of Template:Information which have spaces, newlines, etc in them (there seem to be a lot...)
python replace.py -transcludes:Information -regex "{{[\s\r\n]*Information" "{{subst:Information" -pt:2 -summary:"Replace Template:Information with Template:Image_Details" -always
- Subst all instances of Template:Image_notes_wikimedia (will repeat with other Template
- Image_notes_*)
python template.py -summary:"Bot: Replace Template:Image_notes_* with [[Template:Image_Details]]" -pt:2 "Image notes wikimedia" -subst -always
- Delete all pages listed in the local file del.txt
python delete.py -file:/Users/caesar/Desktop/del.txt -always -pt:1
- Delete everything in category Subtemplates_of_Template_Convert
python delete.py -cat:Subtemplates_of_Template_Convert -always -pt:1
- Update image code...
python replace.py -pt:2 -start:! -fix:CZimage
- Relies on my user-fixes.py file.
- 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"