Wikipedia:Bots/Requests for approval/ClickBot
- 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.
Automatic or Manually Assisted: Automatic
Programming Language(s): Wikipedia: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
Discussion
[edit]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)[reply]
- 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)[reply]
- Never mind, User:Melon-Bot's doing it. Oh well. Sceptre (talk) 18:12, 25 March 2008 (UTC)[reply]
- 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)[reply]
- Never mind, User:Melon-Bot's doing it. Oh well. Sceptre (talk) 18:12, 25 March 2008 (UTC)[reply]
It will replace (height|width)=(\d*)px
→ $1=$2
within one template, or globally? MaxSem(Han shot first!) 17:46, 26 March 2008 (UTC)[reply]
- 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)[reply]
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)[reply]
- A user has requested the attention of the operator. Once the operator has seen this message and replied, please deactivate this tag.Is there still a need for this bot? SQLQuery me! 04:48, 2 April 2008 (UTC)[reply]
- I guess not. Sceptre (talk) 05:22, 2 April 2008 (UTC)[reply]
- No word from the operator in a few days, I don't see a need for this bot. I'm expriring this for now. If I did so in error, please unarchive this request, and re-open it. Request Expired. SQLQuery me! 09:11, 5 April 2008 (UTC)[reply]
- I guess not. Sceptre (talk) 05:22, 2 April 2008 (UTC)[reply]
- 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.