Last modified: 2008-08-10 18:33:56 UTC
Created attachment 4930 [details] Removing Wikimedia only stuff from LanguageCs.php, + some doc Per bug 14165 moving Wikimedia only stuff from LanguageCs.php to InitialiseSettings.php. The patch to LanguageCs.php must not be applied before the patch to InitialiseSettings.php is done, otherwise live wikis will loose the proper {{grammar:}} function
Created attachment 4931 [details] Moving Wikimedia only stuff to InitialiseSettings (wgGrammarForms)
Created attachment 5135 [details] wgGrammarForms for 'be' Adding $wgGrammarForms for 'be'. Should be removed from LanguageBe.php after configuration.
Created attachment 5136 [details] wgGrammarForms for 'be-tarask'
Created attachment 5137 [details] wgGrammarForms for 'bs' Also see LanguageBs.php.patch to cleanup LanguageBs.php after using this configuration.
Created attachment 5138 [details] Cleanup for LanguageBs.php after wgGrammarForms for 'bs'
Created attachment 5139 [details] wgGrammarForms for 'dsb'
Created attachment 5140 [details] wgGrammarForms for 'hsb'
Created attachment 5141 [details] Cleanup for LanguageDsb.php after wgGrammarForms for 'dsb'
Created attachment 5142 [details] wrong
Created attachment 5143 [details] Cleanup for LanguageHsb.php after wgGrammarForms for 'hsb'
Created attachment 5144 [details] Cleanup for LanguageBe.php after wgGrammarForms for 'be'
Created attachment 5145 [details] Cleanup for LanguageBe_tarask.php after wgGrammarForms for 'be-tarask'
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()"