Last modified: 2006-03-03 05:57:27 UTC
Enhancement of Mediawiki language files to enable viewing pages in Serbian language in 2*2 variants (ekavian/iyekavian and/or Cyrillic/Latin). In order of appearance: 1. Language.php.diff - so everybody can see normal text in variant tabs 2. LanguageSr.php.diff - rename LanguageSr.php to LanguageSr_ec.php, change array and class names and add translations for variant tabs. 3. Names.php.diff - so users can choose (in their settings) what variant they prefer 4. LanguageSr_el.php - messages transliterated to Latin script 5. LanguageSr_jc.php, LanguageSr_jl.php - for iyekavian variant (Cyrillic and Latin), we need help from someone who natively uses or has good enough knowledge of iyekavian variant to fix messages that need fixing
Created attachment 1074 [details] new version of LanguageSr.php
Created attachment 1075 [details] move LanguageSr.php to LanguageSr_ec.php and change array and class names and add translations for variant tabs
Created attachment 1076 [details] add variantname tabs to Language.php
Created attachment 1077 [details] ekavian Latin variant
Created attachment 1078 [details] iyekavian Cyrillic variant (a placeholder, but needed)
Created attachment 1079 [details] iyekavian Latin variant (a placeholder, but needed)
Created attachment 1080 [details] add variantname tabs to Names.php
(In reply to comment #1) > Created an attachment (id=1074) [edit] > add variantname tabs * There's already a LanguageSr.php, please submit a unified diff against that * Please use default LanguageConverter begin/end/codesep/varsep/flagsep markup, srwiki using specialized markup could cause great pain in any future upgrades to the wikisyntax. * Please use tabs for indenting, not spaces.
(In reply to comment #2) > Created an attachment (id=1075) [edit] > move LanguageSr.php to LanguageSr_ec.php and change array and class names and > add translations for variant tabs This one looks good.
(In reply to comment #3) > Created an attachment (id=1076) [edit] > add variantname tabs to Language.php This one looks good.
Created attachment 1081 [details] corrected version of LanguageSr.php - tabed, removed custom variant markers
(In reply to comment #8) > (In reply to comment #1) > > Created an attachment (id=1074) [edit] [edit] > > add variantname tabs > > * There's already a LanguageSr.php, please submit a unified diff against that > * Please use default LanguageConverter begin/end/codesep/varsep/flagsep markup, > srwiki using specialized markup could cause great pain in any future upgrades to > the wikisyntax. > * Please use tabs for indenting, not spaces. I retabbed the file and removed custom markers. As for diff against the existing LanguageSr.php, second attachment was intended for that (I mixed up order when I sent them, that should have been the first). Hope this is ok now.
Tried this earlier today, not all the patched applied to the current HEAD and it spewed errors under E_ALL.
Created attachment 1397 [details] move LanguageSr.php to LanguageSr_ec.php new for CVS version (1.6alpha)
Created attachment 1398 [details] add Serbian variantname tabs to Names.php new for CVS version (1.6alpha)
Created attachment 1399 [details] add Serbian variantname tabs to Messages.php new for CVS version (1.6alpha)
Created attachment 1400 [details] new (converter) version of LanguageSr.php new for CVS version (1.6alpha)
Created attachment 1401 [details] Serbian Ekavian Latin variant file (LanguageSr_el.php) new for CVS version (1.6alpha)
Created attachment 1402 [details] LanguageSr.deps.php new in CVS version (1.6alpha)
Created attachment 1403 [details] LanguageSr_el.deps.php new for CVS version
Created attachment 1404 [details] LanguageSr_jc.deps.php
Created attachment 1405 [details] LanguageSr_jl.deps.php
Created attachment 1406 [details] move MessagesSr.php to MessagesSr_ec.php new, for CVS version (1.6alpha)
Created attachment 1407 [details] Serbian latin ekavian variant messages - MessagesSr_el.php new for CVS version (1.6alpha)
(In reply to comment #13) > Tried this earlier today, not all the patched applied to the current HEAD and it > spewed errors under E_ALL. (Should be) corrected now, updated for HEAD, and tried with E_ALL & E_STRICT; no errors or warnings reported, php 5.0.5, mysql 4.0.25
This extension has been applied to an almost up to date CVS version of 1.6alpha here: http://conversion.vikimedija.org/
Nikerabbit commited it to CVS last night, and Brion presumably sinchronized, so this is applied to the live site. Closing this