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 (BadgeHunter Request: response)
(BadgeHunter Request)
Line 20: Line 20:
  
 
::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)
 
::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)

Revision as of 21:34, 10 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)