[Mediawiki-i18n] FYI: Language link behavior change in next MW rollout

Jon Harald Søby jhsoby at gmail.com
Sun Oct 7 22:11:01 UTC 2012

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

2012/10/7 Erik Moeller <erik at 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 at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-i18n

Jon Harald Søby <http://meta.wikimedia.org/wiki/User:Jon_Harald_S%C3%B8by>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wikimedia.org/pipermail/mediawiki-i18n/attachments/20121008/bb6ce605/attachment.html>

More information about the Mediawiki-i18n mailing list