[Mediawiki-l] Template with "ifexist" creates wanted pages
Florian Käutner
florian.kaeutner at googlemail.com
Mon Jun 4 22:56:18 UTC 2007
Hello Mailinglist,
I'm new to this list and I already searched the net and this archive for a
solution. There is a problem in our template which should create the proper
link with three different writing versions:
{{#ifexist: {{{2}}} (Episode) | [[{{{2}}} (Episode)]]| {{#ifexist: {{{2}}}
(ENT) | [[{{{2}}} (ENT)]] | {{#ifexist: {{{2}}} | [[{{{2}}}]] | {{{2}}} }}
}} }}
It tests first if there is an article "So-and-so (Episode)" or "So-and-so
(ENT)" to finally links on "So-and-so". In most cases there will be only one
writing, if there are episodes with the same name in different series they
have an extension "Babel (ENT)" and "Babel (DS9)" and have a Disambiguation
page "Babel". In this case the template above shall link on "Babel (ENT)".
The bis problem is, that our MediaWiki 1.10alpha created a Wanted Pages list
with dead link by this template. This occurred when updating to 1.10. What
is wrong? The template or our MediaWiki version?
Some links for more information:
* http://memory-alpha.org/de/wiki/Spezial:Verweisliste/Kir%27Shara_%28ENT%29
* http://memory-alpha.org/de/wiki/Vorlage:ENT (heavily edited for testing)
* http://memory-alpha.org/de/wiki/Vorlage:TNG (original ever since)
Thanks for any tip or help in advance!
Florian
More information about the MediaWiki-l
mailing list