User:ZhBot
This user account is a bot operated by Rjanag (talk). It is used to make repetitive automated or semi-automated edits that would be extremely tedious to do manually, in accordance with the bot policy. This bot does not yet have the approval of the community, or approval has been withdrawn or expired, and therefore shouldn't be making edits that appear to be unassisted except in the operator's or its own user and user talk space. Administrators: if this bot is making edits that appear to be unassisted to pages not in the operator's or its own userspace, please block it. |
This user is a bot | |
---|---|
(talk · contribs) | |
Operator | rʨanaɢ talk/contribs |
Approved? | Yes |
Flagged? | Yes |
Task(s) | One-time run to replace specific templates in Category:Chinese multilingual support templates (for example, {{zh-stp}} ) with general template {{zh}} , which has superseded them. |
Edit rate | <not yet determined> |
Edit period(s) | One-time |
Automatic or manual? | Run manually from command line, but makes edits automatically while it's running |
Programming language(s) | uses pywikipediabot |
Exclusion compliant? | No |
Source code published? | no, but pywikipedia source should be available in the pywikipediabot documentation |
Other information | Superceding these templates was discussed at Template talk:Zh |
I am a bot operated by User:Rjanag. I did a one-time run to replace the templates in Category:Chinese multilingual support templates with {{zh}}
in wikitext (for example, replacing {{zh-stp}}
with {{zh}}
. I use the Pywikipedia package to operate. I was approved by Anomie at Wikipedia:Bots/Requests for approval/ZhBot. My run was completed on 02:49, 4 November 2009 (UTC).
To run me, my operator types the following command in the command line:
replace.py -transcludes:<templatename> <templatename> {{zh|
where <templatename> is replaced by the individual template to be replaced (or by a regular expression that matches all the templates). For instance, for {{zh-stp}}
, it would be
replace.py -transcludes:Zh-stp "{{zh-stp|" "{{zh|" "{{Zh-stp|" "{{zh|"
|