Last modified: 2008-08-10 18:34:06 UTC
13 LanguageXx.php files contain WMF specific settings that should be migrated to the Wikimedia configuration and taken out of the standard product. In all these cases, I am referring to conjugations of Wikimedia project names, that should end up in 'wgGrammarForms' in InitialiseSettings.php. The following files contain settings that should be migrated to the local WMF configuration: * LanguageBe.php * LanguageBe_tarask.php * LanguageBs.php * LanguageCs.php * LanguageDsb.php * LanguageGa.php * LanguageGsw.php * LanguageHsb.php * LanguageHu.php * LanguageLv.php * LanguageRmy.php * LanguageSk.php * LanguageSl.php
LanguageCs.php solution in bug 14294.
* LanguageBe.php * LanguageBe_tarask.php * LanguageBs.php Solution for the above also in bug 14294.
* LanguageDsb.php * LanguageHsb.php Solution for the above also in bug 14294.
Created attachment 5146 [details] wgGrammarForms for 'gsw' After configuring this, LanguageGsw.php can be deleted. There is no longer added functionality.
Created attachment 5147 [details] wgGrammarForms for 'ga'
Created attachment 5148 [details] Cleanup for LanguageGa.php after wgGrammarForms for 'ga'
Created attachment 5149 [details] wgGrammarForms for 'hu'
Created attachment 5150 [details] Cleanup for LanguageHu.php after wgGrammarForms for 'hu'
Created attachment 5151 [details] wgGrammarForms for 'lv'
Created attachment 5152 [details] Cleanup for LanguageLv.php after wgGrammarForms for 'lv'
Created attachment 5153 [details] wgGrammarForms for 'rmy' After configuring this, LanguageRmy.php can be deleted. There is no longer added functionality.
Brion suggested a different, probably better solution, that is also much easier for Wikimedia shell operators: add all this stuff to the extension WikimediaMessages, and as a consequence, remove the section 'wgGrammarForms' from http://noc.wikimedia.org/conf/InitialiseSettings.php.html. I have already made all necessary changes to files on my local system. Will discuss this on IRC when brion, Tim, or JeLuF is available.
Fixed in r39077. * (bug 14165, bug 14294) Wikimedia specific configuration in convertGrammar() for 13 localisations (be, be-tarask, bs, cs, dsb, ga, gsw, hsb, hu, lv, rmy, sk, sl) removed. The settings have been put in extension WikimediaMessages. For be, be-tarask, bs, dsb, hsb some duplicates (1=1) were removed. Patch for Czech by Danny B. * Also put the wgGrammarForms from the Wikimedia configuration in here, so everything is in one place. Bonus with this setup is that there will be a little less work for Wikimedia shell operators, as the wgGrammarForms configuration is now accessible to i18n committers. * Header for WikimediaMessages.php, and add myself to extension credits. WARNING to Wikimedia shell operators: the whole section "wgGrammarForms" in InitialiseSettings.php.html should be remove after updating to this version. It will most probably overrule all settings in WikimediaMessages because of "'default' => array()"