Last modified: 2006-10-01 19:22:54 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T3120, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 1120 - LanguageCs.php updates
LanguageCs.php updates
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
unspecified
All All
: Normal enhancement with 3 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-12-17 13:03 UTC by Mormegil
Modified: 2006-10-01 19:22 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
LanguageCs.php for MediaWiki 1.4 (104.49 KB, patch)
2005-04-14 13:15 UTC, Mormegil
Details
LanguageCs.php for MediaWiki 1.5 (103.67 KB, patch)
2005-04-14 13:18 UTC, Mormegil
Details
LanguageCs.php for MediaWiki 1.4 and 1.5 (66.91 KB, application/octet-stream)
2005-04-15 16:01 UTC, Mormegil
Details
LanguageCs.php for 1.4 (102.24 KB, text/plain)
2005-04-25 09:07 UTC, Mormegil
Details
LanguageCs.php for MediaWiki 1.5 (101.78 KB, text/plain)
2005-04-25 09:09 UTC, Mormegil
Details
LanguageCs.php diff for HEAD (142.61 KB, patch)
2005-06-05 12:24 UTC, Mormegil
Details
LanguageCs.php diff for the 1.4 branch (143.65 KB, patch)
2005-06-05 12:26 UTC, Mormegil
Details
LanguageCs.php patch for the 1.5 branch (160.03 KB, patch)
2005-06-20 10:59 UTC, Mormegil
Details
fix for two bugs in the 1.4 branch (one of them major) (1003 bytes, patch)
2005-06-22 11:58 UTC, Mormegil
Details
LanguageCs.php diff against current HEAD, i.e. 1.82 (52.43 KB, patch)
2006-01-15 16:01 UTC, Mormegil
Details
Updates to MessagesCs.php (r14115) (37.84 KB, patch)
2006-05-07 15:22 UTC, Mormegil
Details
Updates to MessagesCs.php and LanguageCs.php (40.37 KB, patch)
2006-06-10 13:36 UTC, Mormegil
Details
Updates to LanguageCs.php and MessagesCs.php (49.60 KB, patch)
2006-10-01 18:07 UTC, Mormegil
Details
Two more fixes (1.10 KB, patch)
2006-10-01 19:16 UTC, Mormegil
Details

Description Mormegil 2004-12-17 13:03:24 UTC
The LanguageCs.php file both in MediaWiki CVS and in Wikimedia installations contains many wrongly translated items, and many items are missing completely. The file at its current version is in fact unusable.

There is a much more up-to-date version at [[meta:LanguageCs.php]], and cs: Wikipedia has an up-to-date translation in its MediaWiki namespace.
Comment 1 Mormegil 2005-04-14 13:15:02 UTC
Created attachment 420 [details]
LanguageCs.php for MediaWiki 1.4

Updated and corrected LanguageCs.php for MediaWiki version 1.4

Note: this is not a diff, but a complete file, since the version in CVS is _so_
outdated the diff is twice as big as the whole file.

I have tested the file on my local MediaWiki installation.
Comment 2 Mormegil 2005-04-14 13:18:45 UTC
Created attachment 421 [details]
LanguageCs.php for MediaWiki 1.5

Updated and corrected LanguageCs.php for HEAD (MediaWiki version 1.5).

Note: this is not a diff, but a complete file, since the version in CVS is _so_
outdated the diff is twice as big as the whole file.

I have done some basic testing of the file on my local MediaWiki installation.
Comment 3 Ævar Arnfjörð Bjarmason 2005-04-14 16:00:13 UTC
Hi.

When you plan to expand on an array, such as to add one bookstore to it do:

$wgBookstoreListCs = array(
 'Národní knihovna' =>'http://sigm....'
) + $wgBookstoreListEn;

rather than what you currently do, this makes sure that if we ever add another
bookstore to the Language.php file it will propegate through the rest of them,
this also goes for skin names you didn't translate and other such arrays.

Furthermore, there's some redundant code in there, you specify
$wgMonthAbbreviationsCs but don't export it (the code is commented out), if you
plan not to use a piece of code please don't put it in the file.

Finally, why do you think you need checkTitleEncoding() ?
Comment 4 Mormegil 2005-04-15 15:22:39 UTC
(In reply to comment #3)
> When you plan to expand on an array [...]

OK, originally, I went along the lines of other LanguageXx.php files, but now I
see they have changed that recently; I have fixed that.

> Furthermore, there's some redundant code in there, you specify
> $wgMonthAbbreviationsCs but don't export it (the code is commented out), if you
> plan not to use a piece of code please don't put it in the file.

Sorry for that, those were forgotten remnants.

> Finally, why do you think you need checkTitleEncoding() ?

Well, I don't. The function has been there all the time since V_PHASE3REORG, I
just haven't touched it as I have no idea what is it good for.
Comment 5 Mormegil 2005-04-15 16:01:29 UTC
Created attachment 423 [details]
LanguageCs.php for MediaWiki 1.4 and 1.5

updated LanguageCs.php (zip contains both versions)
Comment 6 Mormegil 2005-04-25 09:07:24 UTC
Created attachment 454 [details]
LanguageCs.php for 1.4

Some further little fixes and cleanup.
Comment 7 Mormegil 2005-04-25 09:09:25 UTC
Created attachment 455 [details]
LanguageCs.php for MediaWiki 1.5
Comment 8 Ævar Arnfjörð Bjarmason 2005-05-04 02:24:24 UTC
Removing patch keyword, they're not patches but full attachments.
Comment 9 Mormegil 2005-06-05 12:24:27 UTC
Created attachment 593 [details]
LanguageCs.php diff for HEAD

a diff -u version instead of a full attachment (although it is just a
-everything, +everything)
Comment 10 Mormegil 2005-06-05 12:26:02 UTC
Created attachment 594 [details]
LanguageCs.php diff for the 1.4 branch

a diff -u instead of full attachment
Comment 11 Mormegil 2005-06-20 10:59:34 UTC
Created attachment 621 [details]
LanguageCs.php patch for the 1.5 branch

Two small (but important) fixes, +new items (esp. the Exif heap)
Comment 12 Ævar Arnfjörð Bjarmason 2005-06-20 11:35:55 UTC
(In reply to comment #11)
> Created an attachment (id=621) [edit]
> LanguageCs.php patch for the 1.5 branch
> 
> Two small (but important) fixes, +new items (esp. the Exif heap)

Applied with some changes to HEAD.
Comment 13 Ævar Arnfjörð Bjarmason 2005-06-20 11:42:41 UTC
(In reply to comment #10)
> Created an attachment (id=594) [edit]
> LanguageCs.php diff for the 1.4 branch
> 
> a diff -u instead of full attachment

Applied to REL1_4
Comment 14 Mormegil 2005-06-22 11:58:30 UTC
Created attachment 629 [details]
fix for two bugs in the 1.4 branch (one of them major)

The abovementioned 1.4 patch unfortunately contains two bugs:
1. The NS_MEDIA namespace is wrongly duplicated with NS_IMAGE, so that _no
images work_!
2. Javascript edit toolbar did not work because of quotes used instead of
apostrophes.

(The 1.5 version is correct.)
Comment 15 Ævar Arnfjörð Bjarmason 2005-06-22 12:02:40 UTC
(In reply to comment #14)
> Created an attachment (id=629) [edit]
> fix for two bugs in the 1.4 branch (one of them major)
> 
> The abovementioned 1.4 patch unfortunately contains two bugs:
> 1. The NS_MEDIA namespace is wrongly duplicated with NS_IMAGE, so that _no
> images work_!
> 2. Javascript edit toolbar did not work because of quotes used instead of
> apostrophes.
> 
> (The 1.5 version is correct.)

Applied to REL1_4

Comment 16 Mormegil 2006-01-15 16:01:36 UTC
Created attachment 1311 [details]
LanguageCs.php diff against current HEAD, i.e. 1.82

Update of the Czech translation
Comment 17 Rob Church 2006-01-15 16:43:33 UTC
Reopening to reflect new patch.
Comment 18 Rowan Collins [IMSoP] 2006-01-27 13:58:15 UTC
Committed; it looked sane enough to me. I also uncommented the "magic words"
array, because I couldn't see why it was like that - I hope there wasn't a good
reason!
Comment 19 Mormegil 2006-05-07 15:22:40 UTC
Created attachment 1689 [details]
Updates to MessagesCs.php (r14115)
Comment 20 Mormegil 2006-05-07 15:25:07 UTC
Reopening for the new update
Comment 21 Rob Church 2006-05-07 15:41:20 UTC
Applied to SVN trunk, r14119.
Comment 22 Mormegil 2006-06-10 13:36:18 UTC
Created attachment 1928 [details]
Updates to MessagesCs.php and LanguageCs.php

Implementation of plural and its use in messages, plus a few fixes, updates,
corrections, cleanup etc.
Comment 23 Mormegil 2006-06-10 13:37:22 UTC
Reopening for the new update
Comment 24 Niklas Laxström 2006-06-15 16:37:01 UTC
Following messages failed to apply:
+ 'matchtotals' => 'Zadanému „$1“ odpovídá $2 {{plural:$2|název strany|názvy
stran|názvů stran}} a text $3 {{plural:$3|stran$
+ 'nogomatch' => '      Neexistuje žádná stránka s názvem „$2“. Můžete tuto
stránku [[$1|založit]].',

Rest in 14771.
Comment 25 Mormegil 2006-10-01 18:07:25 UTC
Created attachment 2427 [details]
Updates to LanguageCs.php and MessagesCs.php

updates, fixes to Czech translation of MW
Comment 26 Mormegil 2006-10-01 18:08:12 UTC
Reopening for the new update (and changing summary a bit).
Comment 27 Jimmy Collins 2006-10-01 18:53:43 UTC
Applied to r16722. Please open a new bug the next time.

Thank you!
Comment 28 Mormegil 2006-10-01 19:16:49 UTC
Created attachment 2428 [details]
Two more fixes

Two more fixes: restorelink and undeletedrevisions-files
Comment 29 Jimmy Collins 2006-10-01 19:22:54 UTC
(In reply to comment #28)
> Created an attachment (id=2428) [edit]
> Two more fixes
> 
> Two more fixes: restorelink and undeletedrevisions-files

In r16723.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links