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

Nemo <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |INVALID
            Summary|ULS accepts undefined       |Invalid language codes via
                   |language codes              |uselang are used for lang
                   |                            |HTML tag et al.

--- Comment #11 from Nemo <[email protected]> ---
(In reply to comment #7)
> You also confused me when you stated that uselang=xyzzy would affect
> wgContentLanguage - this is not true, it only affects the lang tag on the
> html
> element (and some other places).

So this seems to be the problem; this tag seems to trickle down to
wbDataLangName and to be abused by Wikidata label adder JS.

> Let's concentrate for the uselang=xyzzy first. We allow codes like this
> because
> commons supposedly uses hacks like Special:Upload?uselang=ownwork.

Indeed. So bug 37459 is the problem.
The language validation functions have been added in the meanwhile, so Wikidata
can fix itself.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to