Board Thread:Support Requests - Getting Technical/@comment-961279-20130511174624/@comment-961279-20130608144719

Bobogoobo, that Nameconvert template gives me an idea about how to handle another set of navigational templates that display episodes by season. It reminded me that you can "stack" values in a switch so that you only have to specify the output value once when you have a group that all have to get the same value. That makes updating things a little simpler.

I had already reduced the number of these templates by 80% because I spotted what was common and duplicated between them. I think I can reduce that down even further to 1 by having it pull values from a couple other support templates, and then it can auto-build the episodes to display based on the season.

By the time I get done, when an episode is moved around or we find out the name is different than what we thought it was, there should only be about 3 or 4 places it would need to be updated and everything else should auto-update. Considering that there's about 600 episodes of The Simpsons including what appeared on The Tracey Ullman Show and there's up to 7 pages per episode, this is going to streamline things tremendously. When I look at how the wiki was three years ago, I'm amazed no one thought of this before. They were making things harder on themselves and a lot of mistakes crept in because of all the different places where things had to be updated.