User talk:LGBot

From LGPedia
Jump to: navigation, search

For old discussions about completed tasks, see the archive.

Bot Tasks

This is a list of tasks that the bot might be able to help get done faster. Feel free to request anything that you want done, and I'll add it to the list if it seems feasible. If you'd like to contact the bot operator directly, you can do so at User talk:Jonpro. Also, please sign your comments with ~~~~.

  • Make anchors for the LG15 Soundtrack table and link to them.
  • Fix links in transcripts (and regular articles) so that each page is linked to only once.
  • Update lonelygirl15.com links to 1g15.com links if they're broken. --Leon2323 15:41, 27 July 2007 (CDT)

Soundtracks

Hey Jonpro,
For a while I've wanted to have video pages link to the LG15 Soundtrack table instead of having their own music links (in the template). Twjaniak had tried to explain to me how to do this with "anchors" and I didn't quite get it. It did seem like something fairly repetitive though... think if I figure out how to do it, we could have good ol' LGBot run it?
OwenIsCool 18:35, 15 March 2007 (CDT)

Hmmm, I guess it depends on exactly how it would work. If it's a matter of replacing one string of text with another, then definitely. And you can get pretty clever with this, so some things are possible that at first don't seem to be. There are other things the bot can do, but it sounds like replacing would be the thing to use here. Most likely, if it is a repetitive task, the bot will have some way to do it.--Jonpro 20:07, 15 March 2007 (CDT)
All righty, I took another look at it and apparently this is how it works.
Step 1: Add anchors to the song titles. For "A Cup Of Blue", put the div tags around the title (note the div id cannot have spaces) <div id="A_Cup_Of_Blue>A Cup Of Blue</div> It doesn't matter what's in between the tags, it could be hyperlinked or anything, won't make a difference as long as the bot can figure out how to separate the title from the hyperlink so it can copy it. What we'd be linking to is the little "anchor" you've made. This step seems fairly straightfoward in that all the bot would have to do is add the markup and use the song title name (with no spaces) as the anchor.
Step 2: Update the blog pages to include links to these anchors. On Bree Phone Home that would mean putting in "[[LG15Soundtrack#A_Cup_Of_Blue|A Cup of Blue]] by Steve Watkins". Now I can see that being trickier since we haven't been consistent with how we credit the music there. However, if the bot can at least make the anchors, it won't be as much work to link to them.
Is at least some of that doable for LGBot? If it'd be too much work to program it, just let me know. It definitely looks like more work than "the Order" or "the Creators".
OwenIsCool 13:36, 16 March 2007 (CDT)
Ok, I'm pretty sure the bot will be able to do at least one of these things. It will probably be able to do both. When I get around to it, I'll work on the specifics a little more and see if I run into any impassable snares. Hopefully not :(--Jonpro 12:17, 19 March 2007 (CDT)

Links in transcripts

I just noticed one user removed links in a transcript because they thought it was "a no-no". I think I remember having this discussion someplace before and, if I remember correctly, the consensus what that the first instance of each link should be linked, and the rest should not be linked. Perhaps LGBot can help in the implementation of correct linking style, not just in the transcripts, but articles in general. For instance, if you give him a list of articles, he can search for the first instance of each, add brackets, search for the remaining instances, and remove brackets. Sorry for the barrage of requests to LGBot, Jonpro... take is as praise! This isn't a time-sensitive project, no rush. OwenIsCool 10:13, 17 March 2007 (CDT)

Hmm, this is something the bot might be able to do. I haven't yet figured out everything that it is capable of, but I'm figuring it out as I go. And I really do appreciate all of the ideas for the bot. This is exactly what I hoped the bot would be able to do, so keep them coming. As long as there is no rush (as you say), I'll try to work on the projects one at at time.--Jonpro 14:57, 17 March 2007 (CDT)
I did a test on this and you can see it here. This at least removes multiple links to the same article. I'm still working on how to do it if there are no links already in the article. I was thinking, though, should this apply to every article? Might there be some exceptions (sorry, I can't think of any)?--Jonpro 14:54, 21 March 2007 (CDT)

New vids

When a new vid is added, it needs to be added in many different articles (the new girls page, the bloggers page, the last video from them, the last video in the series, etc, etc). Could the LGbot be programmed to automatically update all the relevant pages with the link to its article and its name, based on its template? It would certainly make things easier.--Bxman 22:08, 26 May 2007 (CDT)

Hmm, this would be something different that I haven't tried with the bot before, so it's hard to tell if it will work well or not. The bot could definitely do some of the work, but I don't know about all of it. I see what you mean that it would make things easier though. The easiest way to do this is probably to make a list of all the stuff that needs to be done, and I'll see if I can come up with a way for the bot to do it. Here's what I can come up with:
  1. Add the entry to the new girls page.
  2. Add the entry to the specific blogger's page.
  3. Update the "last appearance" on the blogger's page.
  4. Create the video page with at least minimal information.
  5. Update the "Next" field on the previous video's page.
I'm not sure if there's anything else or not, but if there is please let me know. I know the bot will definitely be able to do #4, and I'm fairly certain it won't have a problem with #3 and #5. I don't see an easy way to do #1 and #2, but I might be able to figure out something. I'll try to work on it in the next couple of days if I can.--Jonpro 00:03, 27 May 2007 (CDT)

Things like the main page, List of Videos, & previous/next by character also need constant updating. Hm, relationships and locations need frequent updates too, but that's really more of a human-based thing. Story so far and timeline also need constant updates... not sure if the bot can do that though. I'm trying to think of anything else that needs constant doing... --Zoey 00:08, 27 May 2007 (CDT)

Tachyon Soundtrack edit

hi lgbot i think u made a rong change on tachyon soundtrack i changed it back i hope thats ok —The preceding unsigned comment was added by Ginafan15 (talkcontribs) .

Heh, thanks. I realized I had a problem with the script and I tried to watch for those but I must have missed one. Thanks for catching it!--Jonpro 11:50, 14 March 2008 (CDT)