Wikipedia:WikiProject The Simpsons/Addling ListGenBot tags to episode pages

ListGenBot is now approved and this page is 'live' for use by people updating episode pages.

Who's doing what
I'd like assistance with updating all Simpsons episode pages to include tags to enable the bot ListGenBot to auto-generate lists. Whenever you change a page, a few minutes later all the lists on WikiProject The Simpsons/Example generated lists will be updated to add all the new data you've tagged.

I've you'd like to join in the project, choose a season, replace 'no-one' with your name in the list below, and make the edits (explained below) to each episode in the season:


 * Episodes from Season 1 (completed by Andy mci) - check season lists here
 * Episodes from Season 2 are being edited by no-one - check season lists here
 * Episodes from Season 3 are being edited by no-one - check season lists here
 * Episodes from Season 4 are being edited by Natalie - check season lists here
 * Episodes from Season 5 are being edited by Natalie - check season lists here
 * Episodes from Season 6 (completed by Gran2) - check season lists here
 * Episodes from Season 7 (completed by Natalie) - check season lists here
 * Episodes from Season 8 (completed by Natalie) - check season lists here
 * Episodes from Season 9 are being edited by no-one - check season lists here
 * Episodes from Season 10 (completed by Scorpion0422) - check season lists here
 * Episodes from Season 11 are being edited by no-one - check season lists here
 * Episodes from Season 12 are being edited by no-one - check season lists here
 * Episodes from Season 13 are being edited by no-one - check season lists here
 * Episodes from Season 14 are being edited by no-one - check season lists here
 * Episodes from Season 15 are being edited by no-one - check season lists here
 * Episodes from Season 16 are being edited by no-one - check season lists here
 * Episodes from Season 17 are being edited by Mortice - check season lists here
 * Episodes from Season 18 are being edited by Mortice - check season lists here

Are there any episodes not covered by this? Any of The Tracey Ullman Show shorts that should be included? But they appear to have no individual pages.

What changes to make
This is quite a long section, because I've tried to explain what to do in detail with examples, but don't worry, it's quite straightforward and once you've done a few it will be second nature.

Best place to start is by looking at a page that's been tagged, such as The Mook, the Chef, the Wife and Her Homer.

The process involves finding the following pieces of information on the page and putting a specific line before and after the information. The bits of information are as follows, although many of these are not on all pages - just tag the ones that are.


 * Writers from the infobox
 * Directors from the infobox
 * Guest stars from the infobox
 * Blackboard/chalkboard gag from the infobox
 * Couch gag from the infobox
 * Trivia section
 * Cultural references section
 * Goofs section
 * Quotes section (although these are being phased out in favour of WikiQuotes)

For each piece of information in the infobox, the first task is to get it onto a line on its own. This is an edit that won't change the appearance of the infobox.

For instance, if the infobox text is currently:

| writer      = David Sacks | director    = Mark Kirkland | blackboard  = "Ralph won't 'morph' if you squeeze him hard enough" | couch_gag   = The couch becomes a giant circus act. | guest_star  = Anne Bancroft as Dr. Zweig Ted Danson as Sam Woody Harrelson as Woody Rhea Perlman as Carla John Ratzenberger as Cliff George Wendt as Norm

...then it needs to be changed to... | writer      = David Sacks | director    = Mark Kirkland | blackboard  = "Ralph won't 'morph' if you squeeze him hard enough" | couch_gag   = The couch becomes a giant circus act. | guest_star  = Anne Bancroft as Dr. Zweig Ted Danson as Sam Woody Harrelson as Woody Rhea Perlman as Carla John Ratzenberger as Cliff George Wendt as Norm

Then, each piece of information must have a line added before and after it. The line before looks like  where SimpsonsWriters is the name of the piece of information being tagged (see later) and SimpsonsWritersS06 is that same name followed by an 'S' (for 'Season') and the two-digit number of the season the episode is in. Then after the information line, add .

The tag names for items in the infobox are:
 * SimpsonsRunners
 * SimpsonsWriters
 * SimpsonsDirectors
 * SimpsonsGuests
 * SimpsonsBlackboard
 * SimpsonsCouchGags

So the example becomes (note that there's no 'SimpsonsRunners' in this example):

| writer      = David Sacks | director    = Mark Kirkland | blackboard  = "Ralph won't 'morph' if you squeeze him hard enough" | couch_gag   = The couch becomes a giant circus act. | guest_star  = Anne Bancroft as Dr. Zweig Ted Danson as Sam Woody Harrelson as Woody Rhea Perlman as Carla John Ratzenberger as Cliff George Wendt as Norm

Note that the S06 on the end of the SourceStart tag is because this episode (Fear of Flying) is from Season 6. Don't forget to change this for the episode you're editing.

And there are multiple lines in the guest stars list separated by  tags - that's not a problem, the bot will split these into independent lines so there's no need for you to change anything.

Then the final change to make in the info box is to put the following text somewhere:

&lt;!-- Please enter new data between the ListGenBot-SourceStart and ListGenBot-SourceEnd tags, so they can be used for automated list generation --&gt;

The only purpose of this line is to give editors an idea what the tags are for, it serves no function for the bot. This should be put just before one of the ' tags - if there's a 'guest stars' section that has several lines, it would make sense to put it before the ' tag as that's the place people might most likely edit the page.

Next, make an edit to each of the four 'list' sections on the page - Trivia, Cultural references, Goofs and Quotes. Most pages won't have all of these sections, but just tag whichever ones are present. To tag a section, after the section heading add the comment from above (see example later), then the ' tag appropriate to the section, and at the end of the section put the ' tag.

The start tags to use are:


 *  for the 'Trivia' section
 *  for the 'Cultural references' section
 *  for the 'Goofs' section
 *  for the 'Quotes' section

...replacing S13 with 'S' followed by the two-digit number of the season the episode is in (13 in this example).

For instance, if the section looks like this:

==Cultural references== *"It's Raining Men" by The Weather Girls is revealed as Homer's favorite song in this episode. *Homer's line on shaking off the dust of this one-horse town comes from It's a Wonderful Life.

Then change it to this:

==Cultural references== &lt;!-- Please enter new data between the ListGenBot-SourceStart and ListGenBot-SourceEnd tags, so they can be used for automated list generation --&gt; *"It's Raining Men" by The Weather Girls is revealed as Homer's favorite song in this episode. *Homer's line on shaking off the dust of this one-horse town comes from It's a Wonderful Life.

That's it for the page, just save your changes - I use the edit summary of "Added invisible templates for ListGenBot automated list generation".

Then go over to WikiProject The Simpsons/Example generated lists. In a few minutes (once the bot has run) you should see your edited page appear in all the lists on that page. Check that they have appeared okay.

The most likely error is that the info box entries like writers and directors will have the equals symbol '=' or bar symbol '|' on them, if when you did the first bit (making sure the data in the info box is on a line by itself) you missed a character. If you see that, go back and fix it on the episode page, then check on the list page a few minutes later.

That's it - if you have any questions, please let me know on this page's talk page, or on my talk page if you prefer.

Discussion
I'll put here any interesting updates to the project of adding ListGenBot to Simpsons episodes - please feel free to chip in as needed.

]] as they need updating to list the SimpsonsRunners list
 * I missed out the 'runners' that are listed on many episode pages, so have added SimpsonsRunners as one of the lists, although they won't appear in the current format of the season list pages (eg [[Wikipedia:WikiProject The Simpsons/Example generated lists/S07


 * You can 'regenerate' your season's list page (or generate a new page) if you should need to, by replacing the entire season list page with:  S07  (you have to use 'subst' due to the way the bot checks the tags) but substituting S07 with 'S' then the 2-digit season number. You might want to do this because:
 * You want to update the season list page with the 'SimpsonsRunners' list
 * If a list appears to have vanished from your page (this has happened once)


 * There's currently 134 pages with bot tags on, so it takes the bot quite a while to produce the update list


 * I removed WikiProject The Simpsons/Example generated lists because it was over 1Mb in size! But the individual lists are available for sticking onto a page if needed - I can make a page with, for instance, all the directors on, in a moment if it's wanted --Mortice 23:18, 15 December 2006 (UTC)