List of steps to reproduce:
- Check the heading of HTML code for any page which its content language has variants (For example, homepage of Chinese Wikipedia)
What happens?:
hreflang Tags' alternate URLs are not fully-qualified
<link rel="alternate" hreflang="zh" href="/zh/Wikipedia:%E9%A6%96%E9%A1%B5">
What should have happened instead?:
hreflang Tags' alternate URLs should be fully-qualified
<link rel="alternate" hreflang="zh" href="https://zh.wikipedia.org/zh/Wikipedia:%E9%A6%96%E9%A1%B5">
Why it matters:
- Search Engine like Google requires the hreflang tag to be fully-qualified. See here for details.
- If you use the hreflang Tags testing tool, the hreflang on Chinese Wikipedia are not following the standard, making the tags in the HTML codes useless.
QA Results - Beta
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | T294716#8559537 |
QA Results - Prod
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | T294716#8567007 |

