Last modified: 2007-12-02 11:33:37 UTC
On the Dutch Wikipedia there are templates like [[Sjabloon:Distriktlink]] which has (as its included part) {{#ifexist: {{{1}}} (district) | [[{{{1}}} (district)|{{{1}}}]] | {{#ifexist: {{{1}}} | [[{{{1}}}]] | {{{1}}} }} }} or in words: "[[X (district)]]" if that page exists, otherwise "[[X]]" if that page exists, otherwise "X". There are some cases where [[X (district)]] came into existence after this template was put on a page, one of those is [[Hertogdom Lauenburg (district)]]. The problem is that the pages that are involved still are shown on http://nl.wikipedia.org/wiki/Speciaal:VerwijzingenNaarHier/Hertogdom_Lauenburg, and making a null edit, or even a real edit elsewhere in the page doesn't get them off. Apparently the links table is not correctly updated in this case.
I am unable to find a page called Sjabloon:Distriktlink on nlwiki. Can you please provide a direct link?
The template is [[nl:Sjabloon:Districtlink]]. When {{#ifexist: X | something | something else }} is used the problem is not that links in "something" or "something else" are not correctly updated. But that the "X" is treated as a link. In this case two #ifexist are used so links to both "Hertogdom Lauenburg (district)" and "Hertogdom Lauenburg" are added to the linktable.
action=purge seems to have done it. Seems to be taking a while for the backlinks to update, but the links in the article all seem to point to the correct targets now. Job queue is at 6 digits so it may take a while. If it's not fixed, feel free to reopen the bug.