User:RRabbit42/Talk archive:Jan 2012

Archive of older Discussion items in January 2012

Season templates
Right now we have 48 templates for seasons, but we could make it one (called 'Season', probably renaming the current one 'Infobox Season'). I've started the basic coding in Season2/sandbox, but it's not working completely. My idea is, as you may see from the template, is to use the switch and sub templates to have all of the episode titles as they are, Episode name, but after the = of each one. This would mean the user (if not Ferbot) would have to type (with the example of Season 23)   to get a seasom 23 template. User:Randomno User talk:Randomno  17:09, January 6, 2012 (UTC)
 * Oh, and by the way, is Ferbot fixing all the redirects? User:Randomno User talk:Randomno   17:11, January 6, 2012 (UTC)


 * I originally did want to have one main template, but it looked like it would be too hard for people to use so I broke it up into pairs of templates for each season. However, after I read your message yesterday, I figured out a way to do what you're describing. I can get started later this weekend.


 * Yes, I am getting the redirects cleaned up with Ferbot. It's helping to track down some duplicate and stray pages. It really is needed because the former admins seemed to have the mentality of "let's create as many redirects as possible, even if it's for really minor things we'll never use". Some of the redirects even looped back to themselves or were for things like seven different ways to refer to a character but only one of them is how the character is commonly called in the show. —RRabbit42 ( leave a message ) 16:14, January 7, 2012 (UTC)


 * I've fixed the switch and sub thing! I'm going to get started. User:Randomno User talk:Randomno   10:59, January 8, 2012 (UTC)


 * Woohoo! I've finally got a Season 1 on the template working (working, but not completely done). User:Randomno User talk:Randomno   18:51, January 9, 2012 (UTC)

''After further work, the individual templates were consolidated down into one main template that retrieves the episode list from other templates. There are also a few support templates that interact with it.''

Ferbot 'n' Stuff
Hi. Can you make Ferbot change the category One Time Locations to One time locations, please. Also, we can make the Season template so the user just has to type, if we want. It would take a load of coding, though. User:Randomno User talk:Randomno  20:21, January 9, 2012 (UTC)


 * Ferbot is updating the category now. To reduce the template down to just that really sounds like database programming and that's beyond the scope of a wiki. I am going to continue on with updating the template. If I do it right, it would look like this:


 *  


 * That would specify season 21, Episodes, add in the links to the last episode of season 20 and the first episode of season 22. I still have to account for the Ullman Show shorts being displayed as "Shorts: Season 3", but I think I'm close. —RRabbit42 ( leave a message ) 07:17, January 10, 2012 (UTC)


 * Looks like I also need to account for specifying a completely different page. For example, right now we don't have a 24F episode, so that link would go to the Season 24 page. —RRabbit42 ( leave a message ) 07:25, January 10, 2012 (UTC)


 * Making it so the template just uses the use of the input it perfectly inside the capability of wikicode. It would require the switch and sub templates to identify the page name. It would really help if you could make variables in wikicode. We can do the template quite easily without Season-first-last thing.  User:Randomno User talk:Randomno   19:05, January 10, 2012 (UTC)

I understand what you're talking about now. Basically, you're doing the same thing I am, except that you are putting all the switch coding (variables) inside the main template. I'm splitting them into separate templates that are called as needed, so they act like subroutines in a program (as well as being variables).

There's several advantages to this. First, there's less chance of breaking the template if someone makes a mistake with updating an episode. Second, these separate templates can be re-used for other things, such as when we get around to updating the video game tab templates. Third, I've seen a vandal target the most frequently-used templates on a wiki, so a small amount of vandalism on their part affects a lot of pages (until it's reverted), so we can protect the main template and still allow people to update the episode info, and it's less of an attractive target. Fourth, you have 01Eps, 01App, 01Cre, 01Quo and 01Ref, and it looks like you're going to have 02Eps, 02App, 02Cre, 02Quo, 02Ref and repeating the episode info five times for seasons 1 through 25. That's kind of going back to how the templates used to be, but instead of having 115 individual templates, you have 115 near-identical sections inside one template. And that's five places where you have to update the same information, such as when I saw that Bart Gets an F was listed as Bart Gets an "F" in the Simpsons World book a few days ago.

I really didn't do much on it last night, but let me get started on it again. I think I can streamline the code a bit more and make it a bit more elegant and clearer. Keep working on your version. Between us, we'll get something done that meets our needs. —RRabbit42 ( leave a message ) 04:40, January 11, 2012 (UTC)


 * Wow. I didn't expect that to work so quick. Just one modification to the "Season episode" template as it is right now and it worked. A little adjustment to make the prev and next names optional (like when it displays "Shorts: Season 3" instead of "TV Simpsons") and some updates to account for the rest of the Tracey Ullman Show shorts, and it's mostly done. —RRabbit42 ( leave a message ) 05:27, January 11, 2012 (UTC)


 * It's almost done. The backup template I made is working right now, but the previous and next links have two specific problems I need to fix. I have an idea about how to do it. I think I can also get it closer to the simpler-looking template name you were looking for. It wouldn't be   but rather something like   , which is almost exactly what we have now and would be easy to change with Ferbot. Then we can get rid some more templates and just have 1 template per season that lists the episodes, a few support templates which we wouldn't have to change very often, and this one template that can be placed on every episode page. —RRabbit42 ( leave a message ) 08:25, January 11, 2012 (UTC)

Updating
I really have no idea to do it. Could you please update the home page with the upcoming episode? Jhonevan&#39;s signature. 00:10, January 14, 2012 (UTC)


 * Go to Template:Next Episode. If you need help seeing what has to be changed, look at the edit I just made. —RRabbit42 ( leave a message ) 18:01, January 14, 2012 (UTC)

New tabs
Hi. I think we should add the tabs 'Images' and 'Transcript' to the tab template. I'm going to get some transcripts done some time, and images are quite easy (and no hold back for Firemime475). User:Randomno User talk:Randomno  17:23, January 14, 2012 (UTC)


 * Adding new tabs should be easy to do now. We can probably use the Gallery: namespace for the images section and just add the tab template to it so that it's connected directly to the rest of the pages. We can get 7 tabs on a page if we change "References/Trivia" to just "References" and change the width. See Future updates for details.


 * When the images section has been added, we can move the pictures out of the Appearances tab over to that. I think by now everyone knows what the main and recurring characters look like, and some of the pages just have a list of who appeared, so there's no consistency between the Appearances pages.


 * I am going to do a bit more cleaning on the redirects and wrap up the work on the new Season template today, then I can check into this. —RRabbit42 ( leave a message ) 18:15, January 14, 2012 (UTC)


 * I thought we could include video clips with the images. Images on appearances page are fine as they are, and if I get a bot I have an idea to update them. Anyway, I'll be back in about 12 hours. User:Randomno User talk:Randomno   20:55, January 14, 2012 (UTC)

Finding References, Appearances etc. on AWB
Hi. I have AWB, but I can't get a list of the reference pages, appearances pages, credits pages and quotes pages. Do you know how to? Also, is there a faster way to use a bot to continuously edit pages with the same text on? User:Randomno User talk:Randomno  16:47, January 16, 2012 (UTC)

''Sorry, don't remember if I answered this or not. May be moot point now.''

Hello?
Are you still there? If you could go on chat, it would be useful for some stuff. User:Randomno User talk:Randomno  16:00, January 20, 2012 (UTC)

Slider
Would you like me to make it or are you going too? Jhonevan&#39;s signature. 07:13, January 21, 2012 (UTC)

Slider has now been created: Template:Main page slider