Commit graph

254 commits

Author SHA1 Message Date
Alexandre Emsenhuber
1e69ac22e2 Added missing GPLv2 headers in some places.
Also made file/class documentation more consistent.

Change-Id: I4228ed95446558db71e9084e7d505fc0b783fa53
2012-06-08 22:43:32 +02:00
Alexandre Emsenhuber
5b760e4233 Added missing GPLv2 headers in some places.
Also made file/class documentation more consistent.

Change-Id: Ia79634e62a7aee293d4e8534082f503bbc2b614f
2012-06-07 13:06:19 +02:00
Alexandre Emsenhuber
32eaef76b4 Added missing GPLv2 headers in some places.
Also made file/class documentation more consistent.

Change-Id: I7144b26103ef644fbec751ea476760566757cae3
2012-06-06 22:44:55 +02:00
Alexandre Emsenhuber
52aa2aaba1 Added missing GPLv2 headers in some places.
Also made file/class documentation more consistent.

Change-Id: Ie60ee0a8137d750a66892ea5b0cc751c74d662f9
2012-06-05 22:18:51 +02:00
Antoine Musso
0ec77e2b31 (bug 37194) remove obsoletes *.deps.php
PHP had a nasty bug related to late/early binding and referenced at
https://bugs.php.net/bug.php?id=56776 . The workaround was to add some
.deps.php files to make sure code is loaded early.

Upstream PHP issue #56778 was fixed in PHP 5.1.

See also:
http://lists.wikimedia.org/pipermail/wikitech-l/2006-January/021311.html

Change-Id: I4c85f65c6b5f3df3218bb107881547d44f0cf107
2012-05-29 14:05:03 +02:00
Siebrand
051bd65948 Merge "Minor whitespace fix" 2012-04-07 20:19:25 +00:00
Reedy
0a0d84b6b4 Minor whitespace fix
Change-Id: I0329dc06f9b809475197434dc7fbd715badec3f7
2012-04-07 21:16:33 +01:00
Reedy
90db885789 '/Şçʹ/u' => 'Щь'
^ Duplicate array key listed twice

Change-Id: Id24beb982662a5e6c9e1d2b1f1e1ff637e50f2dd
2012-04-07 21:13:12 +01:00
Sam Reed
c27fbf5330 Trim trailing whitespace
Add/improve documentation

Explicitly define a few variables

Change-Id: If0017770a0a47f8f6be178b5bde8ae6691f74b6a
2012-03-21 15:47:05 -07:00
Roan Kattouw
311200ee2c Revert r114067, r114071, r114075, r114079, r114081, r114082, r114084, r114086, r114088, r114089, r114101, r114118, r114137, r114147, r114164, r114172, r114175, r114180, r114208, r114209, r114215, r114219, r114226, r114321, r114322.
This reverts the SpecialCachedPage and formatDuration sagas, with some collateral damage here and there. All of these revisions are tagged with 'gerritmigration' and will be resubmitted into Gerrit after the Gerrit switchover. See also http://lists.wikimedia.org/pipermail/wikitech-l/2012-March/059124.html
2012-03-20 23:03:59 +00:00
Sam Reed
a2dc33a5a3 Trim trailing whitespace
Add/improve documentation

Explicitly define a few variables
2012-03-17 22:52:54 +00:00
Sam Reed
dedc5a1613 Add to documentation
Add a couple of braces

Update code calling Language related deprecated code
2012-03-05 19:17:55 +00:00
Amir E. Aharoni
c53ad1a3ac == comparison for all languages, instead of ===, according to Niklas' suggestion. Follow up to r110485, r110492, r110461. 2012-02-02 14:42:48 +00:00
Antoine Musso
fc6bc233be Fix doxygen docs before REL1_19 branching 2012-02-01 20:53:38 +00:00
Amir E. Aharoni
669db9a186 Fixes r110484. 2012-02-01 15:53:59 +00:00
Amir E. Aharoni
655dbec995 Fixed plural rules for Romanian / Moldovan according to CLDR. Added tests for Romanian and fixed tests for Moldovan. 2012-02-01 15:37:40 +00:00
Amir E. Aharoni
11c69ac6c4 Integer comparison in Hebrew plural forms. 2012-02-01 15:36:00 +00:00
Amir E. Aharoni
780dc34caf "isset( $forms[2] )" is not needed - plural is filled in preConvertPlural if dual is not provided. 2012-01-31 14:47:12 +00:00
Santhosh Thottingal
4682c16bc3 Followup r110279. $count % 100 in 1..19 is few form.
In r110279, it was 2..19.
2012-01-30 13:51:04 +00:00
Santhosh Thottingal
4f2eaa8d80 For Moldavian $count % 100 < 20 is not 'few' form, but $count % 100 in 1..19 is few form.
This was causing 200 considered as 'few' form, while it should be 'other' form as per
http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html#mo

Add phpunit test cases for LanguageMo plural rules
2012-01-30 11:34:36 +00:00
Amir E. Aharoni
8c5c8d1b8f Follow up to r109021, corrected the comment, and added a translation from Russian. 2012-01-16 10:45:01 +00:00
Santhosh Thottingal
0047c07b39 reintroduce the shortcut evaluation removed in r108403 and r108405 2012-01-16 10:05:48 +00:00
Amir E. Aharoni
3af279116e Improved the comment about the two-forms plural shortcut. 2012-01-16 09:46:56 +00:00
Amir E. Aharoni
2e0a3d8b08 A bit of documentation. 2012-01-14 22:32:18 +00:00
Sam Reed
3f704bbe0b Fix whitespace
Fix/improve documentation
2012-01-10 18:42:59 +00:00
Santhosh Thottingal
1605b61f8f Make the javascript implementation of Macedonian(mk) plural consistant with php side rule.
Add a todo in php code since the rules differs from CLDR definition for mk plural.
2012-01-10 04:25:21 +00:00
Santhosh Thottingal
266c6e8515 Cleanup the convertPLural method for Lithuanian(lt)
Add phpunit test cases.
2012-01-09 12:46:53 +00:00
Santhosh Thottingal
3f3766bcae Latest version of CLDR got 6 rules for Welsh(cy). So removing fixme.
http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html#cy
2012-01-09 10:11:54 +00:00
Robin Pepermans
4acc1a7870 Add some letters per https://incubator.wikimedia.org/w/index.php?diff=666382&oldid=664736 2011-12-22 01:27:59 +00:00
Sam Reed
5bd492d51c "else if" to "elseif" 2011-11-25 00:15:27 +00:00
Antoine Musso
464d9c071b bug 28643 improvement to serbian variants conversion
This patch is a PARTIAL merge of /branches/nikola/phase3 ::

r85224 avoid double conversion when text already use the correct variant
r85239 minor fixes to previous
r85308 documentation (@since 1.18 update to 1.19)
r101359 guessVariant doc + boolean typecast
r101369 tests
r103131 additional test

Test plan:
==========
$ ./phpunit.php --filter LanguageSr
PHPUnit 3.6.3 by Sebastian Bergmann.

Configuration read from /srv/trunk/tests/phpunit/suite.xml

.....

Time: 1 second, Memory: 78.50Mb

OK (5 tests, 19 assertions)
$
2011-11-16 15:12:00 +00:00
Platonides
f0f28d3dcb Delete LanguageSr_el.deps.php. LanguageSr_ec.php doesn't
contain any base class used in LanguageSr_el. Not even in r13157.
2011-11-08 23:23:23 +00:00
Sam Reed
1c6f95fec3 Documentation
Explicit member variable definitions

Simplify some code
2011-10-18 17:27:52 +00:00
Sam Reed
ebaad11e83 Update documentation, returns 2011-10-14 21:19:25 +00:00
Brion Vibber
9e9e35923a Revert r84057, r84080, part of r99074: lc() and uc() custom handling for Turkish breaks case-insensitive matches of special page names and parser function keywords (bug 31490)
Deleted extra bug file as that was updated in r99289
2011-10-08 00:30:50 +00:00
Tim Starling
4b52449970 Fixes for r84057 LanguageTr uc/lc:
* Fixed inappropriate use of empty(), see style guide
* Made uc() and lc() respect the $first parameter. Not doing this completely broke the Turkish wikipedia, sending links like [[İngilizce]] to [[İngİlİzce]].
* Use str_replace() instead of preg_replace(). It's not necessary to use a unicode-aware replacement algorithm to do UTF-8 string replacements, due to details of the UTF-8 encoding format. I'm not sure how Hashar concluded that strtr() will produce garbage.
2011-10-06 02:31:38 +00:00
Niklas Laxström
5fd6c07d09 * (bug 30846) New LanguageOs class 2011-09-19 17:00:42 +00:00
Robin Pepermans
3d99669908 Conversion script between Tifinagh and Latin for the Tachelhit language
Preferences: made getLanguageNames include those that don't have a Messages file
2011-09-10 04:09:20 +00:00
Niklas Laxström
dee6d315f8 Array indexes start from zero 2011-07-16 11:40:28 +00:00
Robin Pepermans
2deecd2f96 Follow-up r92068: svn:eol-style:native, and use round bracket 2011-07-13 17:58:27 +00:00
Robin Pepermans
0b1ebe5690 (bug 15802) An easy way to look up messages: language qqx which returns the message keys
(It doesn't show up in preferences, but you can use ?uselang=qqx)

Patch by Conrad Irwin (slightly modified)
2011-07-13 17:46:13 +00:00
Chad Horohoe
69fd49f825 Revert r86623: merging Serbian language improvements to trunk. Per CR: this needs some tests, and I really don't know what's going on here well enough to write them :) 2011-06-28 12:00:04 +00:00
Sam Reed
8bfd19b451 Swap else if for elseif
Trimming trailing whitespace also

Doing in 3 commits (3/3), so hopefully reviewable in CR...
2011-06-17 16:05:35 +00:00
Robin Pepermans
91062cc0b8 Follow-up to r75241 / 75241: rename LanguageBat_smg to LanguageSgs 2011-06-10 22:33:49 +00:00
Sam Reed
b6b807b2bc More documentation! 2011-05-29 16:32:05 +00:00
Sam Reed
6869bd5893 More documentation! 2011-05-29 15:59:47 +00:00
Sam Reed
f54cfa1001 More documentation! 2011-05-29 15:53:18 +00:00
Sam Reed
117fb34efc Some language love 2011-05-29 15:21:03 +00:00
Sam Reed
45b8f9a3cf Some language love 2011-05-29 15:20:43 +00:00
Sam Reed
810610a153 Some language love 2011-05-29 15:03:33 +00:00