Page MenuHomePhabricator

wrong wgcontentlanguage for subdomain targets
Closed, InvalidPublic

Description

If you visit de.wikidata.org it redirects to http://www.wikidata.org/wiki/Wikidata:Hauptseite. But this page has set "wgPageContentLanguage":"en" which is wrong because it is "de".

I know that there is currently no possibility to change this easily, but in long term it should be changed. Perhaps a new feature must first be implemented at mediawiki.


URL: http://www.wikidata.org/wiki/Wikidata:Hauptseite

Details

Reference
bz42014

Related Objects

StatusSubtypeAssignedTask
OpenNone
InvalidNone

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 22 2014, 12:58 AM
bzimport set Reference to bz42014.
bzimport added a subscriber: Unknown Object (MLST).

The page content language is now controlled by the ContentHandler. That makes it possible to determine the language in the wikitext, with something like {{LANGUAGE:DE}} or some such. That should be easy to do, but I'm not sure whether it is efficient.

Note that bug 41807 would also provide a partial solution: it would allow us to set the site wide content language for wikidata.org to "mul", meaning "multilingual". That would at least no longer be wrong, but it wouldn't be very helpful either.

Lydia_Pintscher removed a subscriber: Unknown Object (MLST).
Lydia_Pintscher removed a subscriber: Unknown Object (MLST).
Addshore subscribed.

de.wikidata.org and other subdomains no longer exist