One question about this, and this is probably just hypothetical and not a real problem at all, but I think it is worth mentioning still. The question is, wouldn't it be better to store <i>the last</i> of the two links instead of the first? I have seen a few times that people have put two links to one language because one language has two articles corresponding to the first topic, but it is not exactly widespread. What I see more often, instead, is that there are two links due to some (human) error, namely that someone have tried to add an inline link to another language, but forgot the initial colon (so [[de:Test]] instead of [[:de:Test]]). Since those errors usually appear in the article text, they will be the first occurrence of a link to that language, instead of the correct one which is at the bottom of the article.<div>
<br></div><div>However, as I said, this is mostly hypothetical, as neither case is very widespread, and both are usually caused by some (human) error or misjudgment.<br><div><div><br><div class="gmail_quote">2012/10/7 Erik Moeller <span dir="ltr"><<a href="mailto:erik@wikimedia.org" target="_blank">erik@wikimedia.org</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">For your information, the next deployment version of MediaWiki will<br>
have a small change in the behavior of interlanguage links.<br>
<br>
Currently, in Wikimedia wikis, if you type:<br>
<br>
[[de:Test]]<br>
[[de:Experiment]]<br>
<br>
in a page, both links will be rendered. However, only one link will be<br>
stored in the database and available through the API (see bug 24502:<br>
<a href="https://bugzilla.wikimedia.org/show_bug.cgi?id=24502" target="_blank">https://bugzilla.wikimedia.org/show_bug.cgi?id=24502</a> ).<br>
<br>
This changeset:<br>
<a href="https://gerrit.wikimedia.org/r/#/c/25232/" target="_blank">https://gerrit.wikimedia.org/r/#/c/25232/</a><br>
<br>
causes only one (the first) link to be rendered and stored in the<br>
database, preventing the inconsistency between database state and<br>
rendered output. This will be the new behavior with 1.21wmf2, which<br>
will be deployed starting 10/15.<br>
<br>
Cheers,<br>
Erik<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Erik Möller<br>
VP of Engineering and Product Development, Wikimedia Foundation<br>
<br>
Support Free Knowledge: <a href="https://wikimediafoundation.org/wiki/Donate" target="_blank">https://wikimediafoundation.org/wiki/Donate</a><br>
<br>
_______________________________________________<br>
Mediawiki-i18n mailing list<br>
<a href="mailto:Mediawiki-i18n@lists.wikimedia.org">Mediawiki-i18n@lists.wikimedia.org</a><br>
<a href="https://lists.wikimedia.org/mailman/listinfo/mediawiki-i18n" target="_blank">https://lists.wikimedia.org/mailman/listinfo/mediawiki-i18n</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>mvh</div><div><a href="http://meta.wikimedia.org/wiki/User:Jon_Harald_S%C3%B8by" target="_blank">Jon Harald Søby</a></div><br>
</div></div></div>