Last modified: 2013-06-28 06:51:41 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T44014, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42014 - wrong wgcontentlanguage for subdomain targets
wrong wgcontentlanguage for subdomain targets
Status: NEW
Product: Wikimedia
Classification: Unclassified
Wikidata (Other open bugs)
wmf-deployment
All All
: Lowest minor (vote)
: ---
Assigned To: Wikidata bugs
http://www.wikidata.org/wiki/Wikidata...
: need-volunteer
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-11 15:41 UTC by merl
Modified: 2013-06-28 06:51 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description merl 2012-11-11 15:41:03 UTC
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.
Comment 1 Daniel Kinzler 2012-11-11 20:31:33 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links