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

           Summary: Use <link rel="alternate"> for language-variant links
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: easy, i18n
          Severity: enhancement
          Priority: Normal
         Component: Language converter
        AssignedTo: philip....@gmail.com
        ReportedBy: a...@pigsonthewing.org.uk


For each variant link, for example:

<a
href="/zh-tw/Wikipedia:%E4%BA%92%E5%8A%A9%E5%AE%A2%E6%A0%88/%E6%B6%88%E6%81%AF"
>台灣正體</a>

add a <link> element to the <head> section of the document, thus:

<link href="/zh-tw/A" lang="zh-tw" hreflang="zh-tw" rel="alternate"
title="台灣正體">

Bug 24742 is similar, but does not cover link headers.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to