Wikipedia:Bots/Requests for approval/PoccilScript
From Wikipedia, the free encyclopedia
- The following discussion is an archived debate. Please do not modify it. Subsequent comments should be made in a new section.
[edit] PoccilScript
tasks • contribs • count • sul • logs • page moves • block user • block log • flag log • flag bot
Operator: Poccil
Automatic or Manually Assisted: Semi-automatic
Programming Language(s): JScript
Function Summary: To replace names of images in articles and mark certain images as redundant. These are currently only NowCommons images, for which the script will also export the image's history to Commons.
Edit period(s) (e.g. Continuous, daily, one time run):For NowCommons images, as needed until the backlog is cleared. For other images, by request
Edit rate requested: Usual for scripts; the script needs to read Wikipedia pages in order to do the task
Already has a bot flag (Y/N):No
Function Details: For NowCommons images, the script will:
- Read the image page
- If the file has a NowCommons tag, extract the file name from the tag. Then the script will extract the image's history and upload log and export it to the image's talk page on Wikimedia Commons.
- Extract the file links from the image page
- For each article other than user talk pages, replace each instance of the old image with the new image name
- Add NowCommonsRedundant to the image
[edit] Discussion
Please forgive the name; the account was created before the naming rule was introduced. Peter O. (Talk) 07:07, 22 September 2006 (UTC)
- It looks like that account is already replacing images in articles. So I'm not quite sure what this request is for. A new function?? Or am I missing something? Thank you.--Andeh 13:26, 22 September 2006 (UTC)
I am making this request primarily to obtain a bot flag for it. Two users have asked me on my talk page to do this. Peter O. (Talk) 14:14, 22 September 2006 (UTC)
- Do you confirm each edit or not? What do you mean by "semi-automatic"? Does it run in large swaths at command?Voice-of-All 18:29, 22 September 2006 (UTC)
The script is semi-automatic insofar as I manually generate a list of images with the NowCommons tag on them. The script will read that file and work on those images. For each image, if that image page doesn't have a NowCommons template or already has a NowCommonsRedundant template, it is simply skipped. In addition, it determines whether the file on the NowCommons template actually exists on Wikimedia Commons before it does anything else. Peter O. (Talk) 19:16, 22 September 2006 (UTC)
- What else does this account currently do, you may want to make a new account for this, with "bot" in the name, if you want.Voice-of-All 20:41, 22 September 2006 (UTC)
For now, this is all the account does. (I meant "before it continues the rest of the process with that image.") Peter O. (Talk) 20:44, 22 September 2006 (UTC)
- Can you please post some diffs Betacommand (talk • contribs • Bot) 13:03, 25 September 2006 (UTC)
-
- Certainly. This edit shows the script replacing an image, and this edit shows the script adding a NowCommonsRedundant template to the image. Peter O. (Talk) 19:39, 25 September 2006 (UTC)
- It looks good it has been running for over a year no trial run needed Approved Betacommand (talk • contribs • Bot) 15:35, 26 September 2006 (UTC)
- Certainly. This edit shows the script replacing an image, and this edit shows the script adding a NowCommonsRedundant template to the image. Peter O. (Talk) 19:39, 25 September 2006 (UTC)
- The above discussion is preserved as an archive of the debate. Please do not modify it. Subsequent comments should be made in a new section.