In the old sidebar for interwiki links, hreflang is provided for the targeted language.
ULS should do so also. It's honestly halfway to a bug that it does not given the point of the component.
Izno | |
Jan 22 2023, 12:39 AM |
F36931078: Screenshot 2023-03-28 at 9.52.20 AM.png | |
Mar 28 2023, 2:59 PM |
F36931079: Screenshot 2023-03-28 at 9.49.31 AM.png | |
Mar 28 2023, 2:59 PM |
F36931090: Screenshot 2023-03-28 at 9.56.46 AM.png | |
Mar 28 2023, 2:59 PM |
In the old sidebar for interwiki links, hreflang is provided for the targeted language.
ULS should do so also. It's honestly halfway to a bug that it does not given the point of the component.
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Set hreflang attribute to the links | mediawiki/extensions/UniversalLanguageSelector | master | +2 -1 |
Change 882245 had a related patch set uploaded (by Santhosh; author: Santhosh):
[mediawiki/extensions/UniversalLanguageSelector@master] Set hreflang attribute to the links
Change 882245 merged by jenkins-bot:
[mediawiki/extensions/UniversalLanguageSelector@master] Set hreflang attribute to the links
@EChukwukere-WMF I think the only thing that needs to be checked is to inspect language link elements provided by the ULS and check that the a element has a (correct) hreflang attribute. (The ones I checked just now did.)
@jhsoby thanks alot for clarifying that!
Test status: QA PASS
the hreflang attributes are displayed in the a tags