For your information, the next deployment version of MediaWiki will have a small change in the behavior of interlanguage links.
Currently, in Wikimedia wikis, if you type:
[[de:Test]] [[de:Experiment]]
in a page, both links will be rendered. However, only one link will be stored in the database and available through the API (see bug 24502: https://bugzilla.wikimedia.org/show_bug.cgi?id=24502 ).
This changeset: https://gerrit.wikimedia.org/r/#/c/25232/
causes only one (the first) link to be rendered and stored in the database, preventing the inconsistency between database state and rendered output. This will be the new behavior with 1.21wmf2, which will be deployed starting 10/15.
Cheers, Erik
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 *the last* 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.
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.
2012/10/7 Erik Moeller erik@wikimedia.org
For your information, the next deployment version of MediaWiki will have a small change in the behavior of interlanguage links.
Currently, in Wikimedia wikis, if you type:
[[de:Test]] [[de:Experiment]]
in a page, both links will be rendered. However, only one link will be stored in the database and available through the API (see bug 24502: https://bugzilla.wikimedia.org/show_bug.cgi?id=24502 ).
This changeset: https://gerrit.wikimedia.org/r/#/c/25232/
causes only one (the first) link to be rendered and stored in the database, preventing the inconsistency between database state and rendered output. This will be the new behavior with 1.21wmf2, which will be deployed starting 10/15.
Cheers, Erik
-- Erik Möller VP of Engineering and Product Development, Wikimedia Foundation
Support Free Knowledge: https://wikimediafoundation.org/wiki/Donate
Mediawiki-i18n mailing list Mediawiki-i18n@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-i18n
Jon Harald Søby, 08/10/2012 00:11:
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 /the last/ of the two links instead of the first?
Yes, it would probably be better, but only on wikis which put interwikis at the bottom. The previous links can also come from any page transcluded by mistake, which is more likely in the bulk of the text.
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.
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.
Indeed.
Nemo
mediawiki-i18n@lists.wikimedia.org