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

       Web browser: ---
             Bug #: 32483
           Summary: en.wp uses lang="simple" for simple: interlang links.
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Internationalization
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified


'simple' isn't a valid language code, though we're outputting it for
interlanguage links.

We 'could' add in a simple hack here that will make 'simple' output lang="en"
instead.

Though I do have a bit of a more interesting idea. Instead of what, how about
we swap simple for en-x-Simple and add in a code that lets us create aliases
for language codes so that simple: will still be equivalent to en-x-Simple.

Going by bcp47 (https://www.rfc-editor.org/rfc/bcp/bcp47.txt) the code
en-x-Simple is valid. It's an 'en' lang code with a private subtag of 'Simple'.
bcp47 reserves x-* for private use purposes, things that wouldn't be
registered, essentially that's what we're talking about here.

-- 
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