Last modified: 2014-06-26 09:58:12 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 T69099, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 67099 - language code de-ch (for Swiss German) sent by Collection extension but not supported by render service
language code de-ch (for Swiss German) sent by Collection extension but not s...
Status: UNCONFIRMED
Product: MediaWiki extensions
Classification: Unclassified
Collection (Other open bugs)
master
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-25 21:22 UTC by Christian d'Heureuse
Modified: 2014-06-26 09:58 UTC (History)
2 users (show)

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


Attachments

Description Christian d'Heureuse 2014-06-25 21:22:53 UTC
In the MediaWiki Collection extension, doRender() in RenderingAPI.php uses $wgContLang->getCode() to get the language code for the render service.

For our MediaWiki installation, getCode() returns "de-ch". The render service does not understand this and uses English.

As a temporary fix, I patched doRender() to use "de" as the language code:

   $params['language'] = 'de';

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


Navigation
Links