https://bugzilla.wikimedia.org/show_bug.cgi?id=67099
Bug ID: 67099
Summary: language code de-ch (for Swiss German) sent by
Collection extension but not supported by render
service
Product: MediaWiki extensions
Version: master
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Unprioritized
Component: Collection
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Web browser: ---
Mobile Platform: ---
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';
--
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