Add lang and hreflang attributes to the language links of the login page.
authorDerk-Jan Hartman <hartman@videolan.org>
Sun, 29 Jul 2012 14:06:37 +0000 (16:06 +0200)
committerAlexandre Emsenhuber <ialex.wiki@gmail.com>
Sun, 19 Aug 2012 09:48:11 +0000 (11:48 +0200)
commit0d70409b5e0e84e237f881dbc88f0ad207664b27
tree936b4c64103b0b7ba3bb34e87d0015d41c99eb18
parentde5afdf172ec8fd068c3a3a51afc92574865bdd4
Add lang and hreflang attributes to the language links of the login page.

- Adding these attribues should make them easier to interpret for VoiceOver and other assitive technologies.
- This assumes that people will enter the name of the language in the target language to MediaWiki:loginlanguagelinks, which is a convention but not a requirement of course. However I think making the bet that people actually do that is safe enough.
- Switch the name of the old attr variable to query, which better reflects what it is supposed to be used for.

Change-Id: I0cdae9f1e539b9b9c2b99ea1db1ba62bbbb0bdc5
RELEASE-NOTES-1.20
includes/specials/SpecialUserlogin.php