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
On 04/06/07, Florian Käutner florian.kaeutner@googlemail.com wrote:
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?
This is a (in this case, unwanted) side-effect of registering the link with the parser; the link tables need to be updated with the possible link, so that if the status of the title being tested changes, then the caches of pages using the parser function can be properly invalidated; the posh term is "cache coherency".
The same link tables are also used to generate Special:Wantedpages.
Rob Church
Hey Rob,
On 6/5/07, Rob Church robchur@gmail.com wrote:
On 04/06/07, Florian Käutner florian.kaeutner@googlemail.com wrote:
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?
This is a (in this case, unwanted) side-effect of registering the link with the parser; the link tables need to be updated with the possible link, so that if the status of the title being tested changes, then the caches of pages using the parser function can be properly invalidated; the posh term is "cache coherency".
The same link tables are also used to generate Special:Wantedpages.
Good to know that there's a posh term for this. Anyway, there's nothing to prevent creating unwanted dead links? I tried to have the link-brackets outside of the ifexist condition(s) - in vein.
Florian
mediawiki-l@lists.wikimedia.org