Last modified: 2006-05-09 20:51:08 UTC
Hello, this is an easy one: The interwikis inside the "in other languages" box (linking to the same article in other wikipedias) is a list of languages written in their own language. Therefore, that content isn't in the same language of the HTML page and should be tagged using the 'lang' attribute. For example: <li ...><a lang="es" xml:lang="es" href="http://es.wikipedia.org/wiki/...">Español</a></li> <li ...><a lang="eo" xml:lang="eo" href="http://eo.wikipedia.org/wiki/...">Esperanto</a></li> This is useful for [[web accessibility]] reasons, and also to let the browser choose adequate fonts (specially for Asian languages). However, IMHO it's not a good idea to also add automatically the 'lang' attribute for embedded interwikis (interwikis inside the article's text, i.e. [[:es:other article]] instead of [[es:same article]]). The link's title is the target name and not language name, and it could be in the foreign language or not (the editor can specify whether the link is in another language using the {{lang|...|...}} template). Neither is a good idea to automatically add the 'hreflang' attribute, a lot of wikipedias have some help articles in English, for example. Thanks for your attention. Best regards, Santi
*** This bug has been marked as a duplicate of 4901 ***