category: mediawiki


As most of you know, I am heavily involved with the Battlestar Wiki Project (which is part of FrakMedia! Productions) and we done a lot of work on the English wiki were we detailed almost every aspect of every detail of all the shows, events, characters, etc. in the wiki. The only new information I am seeing recently is from current episodes.

In any case, we link to episode pages a lot to satisfy a number of “mandated” conventions: cite, cross-referencing, etc. Usually inside a template we have to code it the long way out if there was multiple times that we had to refer to different episodes.

| sometemplatevar = [[33]]<br/>[[The Hand of God (RDM)|The Hand of God]]

Always a very unpleasant thing to do. So we were working on a new sub-wiki called “Battlestar Props” which is going to be a central repository on the props used in the show. One of people I work with suggested that we able to input into a template the production numbers of the episode(s) (eg. 101, 110) to render the links for us. I thought that was a great idea. So… the Episode parser was born!

read more ‘Mediawiki Parser: Episode(s)