Last modified: 2006-05-09 20:51:08 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 5887 - lang attribute for interlanguage wikis
lang attribute for interlanguage wikis
Status: RESOLVED DUPLICATE of bug 4901
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
unspecified
PC Linux
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-05-09 19:22 UTC by suruena
Modified: 2006-05-09 20:51 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description suruena 2006-05-09 19:22:26 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
Comment 1 Brion Vibber 2006-05-09 20:51:08 UTC

*** This bug has been marked as a duplicate of 4901 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links