Badge time.png   The Paragon Wiki Archive documents the state of City of Heroes/Villains as it existed on December 1, 2012.

Difference between revisions of "User talk:SekoiaBot"

From Paragon Wiki Archive
Jump to: navigation, search
m (Thanks!)
 
(6 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
: Set user rights to Bot. --[[User:Konoko|Konoko]] 11:18, 1 May 2007 (PDT)
 
: Set user rights to Bot. --[[User:Konoko|Konoko]] 11:18, 1 May 2007 (PDT)
 
:: Thanks Konoko! ^^ -- [[User:Sekoia|Sekoia]] 11:32, 1 May 2007 (PDT)
 
:: Thanks Konoko! ^^ -- [[User:Sekoia|Sekoia]] 11:32, 1 May 2007 (PDT)
 +
==BadgeHunter Request==
 +
Now that we have a well behaved BadgeHunter template, could SekoiaBot perform the following action/logic:
 +
 +
Page criteria: PAGENAME contains the string " Badge"
 +
 +
Logic tree:
 +
 +
Search for External Links section
 +
:If found, search for CIT Badge template
 +
::If found, add <nowiki>{{BadgeHunter Badge}}</nowiki> template after CIT Badge template.
 +
::If not found, add <nowiki>{{BadgeHunter Badge}}</nowiki> template after External Links section header
 +
:If not found, add External Links section to bottom of page (above any category inclusions), then add add <nowiki>{{BadgeHunter Badge}}</nowiki> template after External Links section header
 +
 +
Thank you, Sekoia and SekoiaBot!
 +
 +
: I'll try to take a look at the bot scripts this weekend to see if it's something I can pull off. :) -- [[User:Sekoia|Sekoia]] 18:40, 8 June 2007 (EDT)
 +
 +
::I forgot to sign my request - very rude of me. ;p  I guess this bit of logic is obvious, but I figured I'd mentioned it just in case - Search for existing BadgeHunter template, if found, skip to next page.  Thanks again Sekoia. -- [[User:Sapph|Sapph]] 19:28, 8 June 2007 (EDT)
 +
 +
::: None of the scripts in the Pywikipedia framework directly facilitate this kind of thing in its full form, and coding it up manually using their framework would take a lot of coding effort, and would be bug-prone since it'd involve lots of regular expressions. ''However'', once DPL is back up (it just got taken offline), I can probably break the task up and run it with their scripts (I've done something similar before like that). I don't know when or if DPL will come back, though... I'll give an update when I can. :/ Without DPL to break it up though, I don't think I can pull it off. :( -- [[User:Sekoia|Sekoia]] 17:34, 10 June 2007 (EDT)
 +
 +
::::No worries. I don't mind doing it manually - that's what I was doing when I got bored and started browsing the special pages and found you. ;p -- [[User:Sapph|Sapph]] 10:07, 11 June 2007 (EDT)
 +
 +
: Okay! DPL is back in action, and that means, so am I! ^^ I just added {{tl|BadgeHunter Badge}} to the approx. 500 " Badge" pages that were using {{tl|CIT Badge}} but not {{tl|BadgeHunter Badge}}. There are now only 32 " Badge" pages that do not use {{tl|BadgeHunter Badge}}, and all except four of those are SG badges for Beacons. These last few will have to get done manually. I have a list of them temporarily at [[User:Sekoia/Sandbox/One]]. Hope that helps! -- [[User:Sekoia|Sekoia]] 18:13, 23 June 2007 (EDT)
 +
 +
::Thank you!  Sorry for the delayed response, I was on vacation. :D -- [[User:Sapph|Sapph]] 00:16, 24 June 2007 (EDT)

Latest revision as of 04:16, 24 June 2007

Could someone flag this account as a bot, please? Thanks! -- SekoiaBot 11:13, 1 May 2007 (PDT)

Set user rights to Bot. --Konoko 11:18, 1 May 2007 (PDT)
Thanks Konoko! ^^ -- Sekoia 11:32, 1 May 2007 (PDT)

BadgeHunter Request

Now that we have a well behaved BadgeHunter template, could SekoiaBot perform the following action/logic:

Page criteria: PAGENAME contains the string " Badge"

Logic tree:

Search for External Links section

If found, search for CIT Badge template
If found, add {{BadgeHunter Badge}} template after CIT Badge template.
If not found, add {{BadgeHunter Badge}} template after External Links section header
If not found, add External Links section to bottom of page (above any category inclusions), then add add {{BadgeHunter Badge}} template after External Links section header

Thank you, Sekoia and SekoiaBot!

I'll try to take a look at the bot scripts this weekend to see if it's something I can pull off. :) -- Sekoia 18:40, 8 June 2007 (EDT)
I forgot to sign my request - very rude of me. ;p I guess this bit of logic is obvious, but I figured I'd mentioned it just in case - Search for existing BadgeHunter template, if found, skip to next page. Thanks again Sekoia. -- Sapph 19:28, 8 June 2007 (EDT)
None of the scripts in the Pywikipedia framework directly facilitate this kind of thing in its full form, and coding it up manually using their framework would take a lot of coding effort, and would be bug-prone since it'd involve lots of regular expressions. However, once DPL is back up (it just got taken offline), I can probably break the task up and run it with their scripts (I've done something similar before like that). I don't know when or if DPL will come back, though... I'll give an update when I can. :/ Without DPL to break it up though, I don't think I can pull it off. :( -- Sekoia 17:34, 10 June 2007 (EDT)
No worries. I don't mind doing it manually - that's what I was doing when I got bored and started browsing the special pages and found you. ;p -- Sapph 10:07, 11 June 2007 (EDT)
Okay! DPL is back in action, and that means, so am I! ^^ I just added {{BadgeHunter Badge}} to the approx. 500 " Badge" pages that were using {{CIT Badge}} but not {{BadgeHunter Badge}}. There are now only 32 " Badge" pages that do not use {{BadgeHunter Badge}}, and all except four of those are SG badges for Beacons. These last few will have to get done manually. I have a list of them temporarily at User:Sekoia/Sandbox/One. Hope that helps! -- Sekoia 18:13, 23 June 2007 (EDT)
Thank you! Sorry for the delayed response, I was on vacation. :D -- Sapph 00:16, 24 June 2007 (EDT)