Last modified: 2010-05-15 15:33:17 UTC
Patches for HEAD (based on 1.423 Language.php) and REL1_4 (on 1.390.2.29) A lot of fixes and improvements (removed hardcoded links, renamed talk namespaces, new convertGrammar function, new messages etc). It has been tested at local Mediawiki site (v1.4beta5 and v1.5pre-alpha). New translations was discussed at special Russian Wikipedia talk page http://ru.wikipedia.org/Википедия_обсуждение:Языковой_файл
*** Bug 1416 has been marked as a duplicate of this bug. ***
Created attachment 245 [details] LanguageRu.php patch for HEAD
Created attachment 246 [details] LanguageRu.php patch for REL1_4
This seems to include a lot of hardcoded uses of the name 'Wikipedia'. They need to be excised and made generic for general release.
I'm sorry, but it is practically impossible to use $wgMetaNamespace var and convertGramar function, because of several word-case (nominative, genitive, dative, accusative, instrumental, prepositional) and grammatical gender (masculine, feminine, neuter) in Russian language. But I can use word "wiki-project" instead of "Wikipedia" in messages. I'll rebuild patches tomorrow.
Created attachment 257 [details] LanguageRu.php patch v2 for HEAD
Created attachment 258 [details] LanguageRu.php patch v2 for REL1_4
Done. 'Wikipedia' name was excised.
Comment on attachment 258 [details] LanguageRu.php patch v2 for REL1_4 based on Language.php 1.424
I've applied the patch to HEAD for now. Note that some of the email notification messages have changed and should be updated. (There will be other message changes before 1.5 release, of course...) I'm holding off on the REL1_4 patch for now. The patch changes the name of the Special: namespace and several talk namespaces, but doesn't provide the old names as alternates in getNsIndex(); this would break existing links.
Created attachment 280 [details] LanguageRu.php patch v3 for REL1_4
Fixed
WONTFIX because of Release Candidate
Reopening.
When I use last patch (LanguageRu.php patch v3 for REL1_4), I get error: patching file LanguageRu.php patch: **** malformed patch at line 2562: + return $word;
What's the status of this?
Created attachment 689 [details] Tweaked LanguageRu.php patch v3 for REL1_4 Tweaked the line-count for LanguageRu_rel1_4_v3.patch (LanguageRu.php patch v3 for REL1_4), so that patch no longer reports "malformed" error. v3 had added five lines directly to the v2 patch without adjusting the line count.
Is here still something that needs to be done? 1.5 is soon out and has afaik up-to-date Russian translations.