Wikipedia:Bots/Requests for approval/ClickBot
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. The result of the discussion was Request Expired.
[edit] ClickBot
tasks • contribs • count • sul • logs • page moves • block user • block log • flag log • flag bot
Automatic or Manually Assisted: Automatic
Programming Language(s): WP:AWB
Function Summary: Fix transclusions of {{click}} which incorrectly display images due to a recent change in parsing.
Edit period(s) (e.g. Continuous, daily, one time run): One time run
Edit rate requested: Normal rate (6 per minute?)
Already has a bot flag (Y/N): N
Function Details: Due to a change in mediawiki's parsing, "123pxpx" will not parse as "123px". This is shown mostly in the template {{click}}, which is heavily transcluded and is screwing up pages. The bot will make the regex replacement: (height|width)=(\d*)px
→ $1=$2
[edit] Discussion
How are you going to make the list of affected pages? Or you will simply try every transclusion of that template? MaxSem(Han shot first!) 16:36, 25 March 2008 (UTC)
- It'd go through every transclusion. The only false positive that regex should throw up is HTML, and IIRC, "px" is superfluous in that case. Sceptre (talk) 16:38, 25 March 2008 (UTC)
- Never mind, User:Melon-Bot's doing it. Oh well. Sceptre (talk) 18:12, 25 March 2008 (UTC)
- User Melon-Bot is not doing it. It has been blocked for running an unauthorized task. Snowolf How can I help? 12:52, 26 March 2008 (UTC)
- Never mind, User:Melon-Bot's doing it. Oh well. Sceptre (talk) 18:12, 25 March 2008 (UTC)
It will replace (height|width)=(\d*)px
→ $1=$2
within one template, or globally? MaxSem(Han shot first!) 17:46, 26 March 2008 (UTC)
- On every page {{click}} is transcluded on (either directly or indirectly), that is, Special:WhatLinksHere/Template:Click, (e.g Ayn Rand), it will perform the regex. Sceptre (talk) 18:02, 26 March 2008 (UTC)
I'm fairly sure that the template was fixed earlier, so that it will no longer require bot intervention. [1] SQLQuery me! 20:02, 26 March 2008 (UTC)
- A user has requested the attention of the operator. Once the user has seen this message and replied, please remove this tag.Is there still a need for this bot? SQLQuery me! 04:48, 2 April 2008 (UTC)
- The above discussion is preserved as an archive. Please do not modify it. Subsequent comments should be made on the appropriate discussion page, such as the current discussion page. No further edits should be made to this discussion.