https://bugzilla.wikimedia.org/show_bug.cgi?id=4901

--- Comment #22 from Aryeh Gregor <[email protected]> 2011-05-17 
14:16:56 UTC ---
(In reply to comment #20)
> * Adding an 'hreflang' attribute on interlanguage sidebar links and on inline
> interlanguage links is technically feasible and doesn't hurt. Slight increase
> in output size, but not too bad I think. There could be some users for whom it
> would be welcome.

Sure, but the same could be said of a ton of things.  We could put
rel=something on loads of our links
(http://microformats.org/wiki/existing-rel-values#formats), and start putting
RDFa and microdata all over the place.  hreflang by itself wouldn't take up
much space, but adding every piece of metadata of similar possible utility
would make our output unreasonably long.  For sanity's sake, we need to draw a
line as to what kind of metadata we're going to output, and it's got to be more
restrictive than "someone might be able to use it".

> Current draft HTML 5 spec for hreflang attribute:
> http://www.w3.org/TR/html5/links.html#attr-hyperlink-hreflang

You don't want to use the /TR version of W3C specs -- that's usually months
outdated.  Use the dev.w3.org version instead:

http://dev.w3.org/html5/spec/links.html#attr-hyperlink-hreflang

(Currently that's also labeled Working Draft, but only because a new Working
Draft is awaiting publication.  Usually it's labeled Editor's Draft.)

Alternatively, use the WHATWG version so you don't have to worry about the
W3C's crazy versioning scheme:

http://www.whatwg.org/specs/web-apps/current-work/multipage/links.html#attr-hyperlink-hreflang

The WHATWG version also includes extra features that aren't included in the W3C
version because of feature freeze, plus a handful of minor differences.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to