Commit graph

482 commits

Author SHA1 Message Date
Translation updater bot e68dd57253 Localisation updates from http://translatewiki.net.
Change-Id: I0a8fa5c4746130c43d7401514e00df6f5be912a0
2013-04-27 20:28:28 +00:00
Translation updater bot d03383535b Localisation updates from http://translatewiki.net.
Change-Id: Ib80177de7dceaf54bde6868504043118b7f29886
2013-04-26 22:13:30 +00:00
Translation updater bot b3ca0bfc5e Localisation updates from http://translatewiki.net.
Change-Id: Ie0ca0a9999afcf51749ef1b3b80f81b9b43781c4
2013-04-23 20:10:32 +00:00
Translation updater bot 371a108664 Localisation updates from http://translatewiki.net.
Change-Id: I001bd7407234f11b5c86b556758caad4e20202ae
2013-04-20 22:43:12 +00:00
Brad Jorsch d335043d74 Don't pass negative years to Language::sprintfDate
Language::sprintfDate cannot handle negative years, so don't pass them.
Return an appropriate error instead.

Change-Id: I87ce19a32312bb7db0740b4daddb995132eef683
2013-04-19 17:59:31 -04:00
Translation updater bot 17a082b99c Localisation updates from http://translatewiki.net.
Change-Id: I5f763c0ec6241c8889cd35c69d570eac509d6a61
2013-03-29 20:42:38 +00:00
Translation updater bot 2b9ea5ab02 Localisation updates from http://translatewiki.net.
Change-Id: I625eddb26cb036510a4763a969424901d09ad97a
2013-03-26 21:18:02 +00:00
Translation updater bot 45c5ff79d7 Localisation updates from http://translatewiki.net.
Change-Id: I499baa136e3c36025692e574073d90b529478ba7
2013-03-25 20:04:42 +00:00
Translation updater bot 1a56097cfe Localisation updates from http://translatewiki.net.
Change-Id: I335e922b50b609dc0a53323057c9de52f9902c02
2013-03-20 20:56:32 +00:00
Translation updater bot ffe91ec82d Localisation updates from http://translatewiki.net.
Change-Id: I503b39c4ff9d4e11a1215922e48c9d6aa0bb2d17
2013-03-19 21:41:41 +00:00
Translation updater bot e3044ed1ef Localisation updates from http://translatewiki.net.
Change-Id: I1b77f17cb152a2cb41a41085aa5736d1aa0aa6b2
2013-03-06 21:55:40 +00:00
shirayuki ba95573759 American spelling for "Unrecognized"
Change-Id: I9ca7603214769ed42f3eb792312506da3ac4b724
2013-03-05 21:32:36 +09:00
Translation updater bot 76f1137050 Localisation updates from http://translatewiki.net.
Change-Id: I1f5a8dc00615f0786606622950c5e5a9b9266771
2013-02-23 20:39:14 +00:00
Translation updater bot d5b64091f1 Localisation updates from http://translatewiki.net.
Change-Id: Ie35461bc772d32ab37a5d2f6ddf22f89f020b5e8
2013-02-22 20:13:05 +00:00
Translation updater bot 29840d5c69 Localisation updates from http://translatewiki.net.
Change-Id: Ib47ce084dc206b8907794f1ef1c677cb69342853
2013-02-15 20:36:31 +00:00
Translation updater bot c7c899d1a6 Localisation updates from http://translatewiki.net.
Change-Id: I63e0bfff57fe32fbfdb745ec49ed38b7ecfd9dc1
2013-02-11 20:22:18 +00:00
Translation updater bot 40cfb1e332 Localisation updates from http://translatewiki.net.
Change-Id: I08228c22aa2d41f07ebbeff495b3495e46d55ba0
2013-02-08 21:33:40 +00:00
Translation updater bot 5df86ee780 Localisation updates from http://translatewiki.net.
Change-Id: I4493af79365cb94c72bd2c6c11e9be25986ad321
2013-02-06 20:16:53 +00:00
Translation updater bot e7cde0ac3a Localisation updates from http://translatewiki.net.
Change-Id: I182930b773d3bd10cf842be7c9bf572bd7002055
2013-01-26 20:14:31 +00:00
Translation updater bot 76f14a362a Localisation updates from http://translatewiki.net.
Change-Id: I941e71843ff831e82441ed9eed3f0dbe08cdb95d
2013-01-20 19:45:19 +00:00
Translation updater bot f29d088a5a Localisation updates from http://translatewiki.net.
Change-Id: I526939f4607be2555cec4fd66ea12db5415ee483
2013-01-15 21:33:27 +00:00
Translation updater bot 58bd38b9ba Localisation updates from http://translatewiki.net.
Change-Id: Id899262370d9d0274ba13cf061656a90729fcbb7
2013-01-14 21:55:33 +00:00
Translation updater bot 6250579431 Localisation updates from http://translatewiki.net.
Change-Id: If0627854c2d2d324f75ebdcbf5e3aad0e490ba41
2013-01-13 20:39:55 +00:00
Translation updater bot 73eec8dffe Localisation updates from http://translatewiki.net.
Change-Id: Ifc4de53066b8d3ad2955d7d1518cb6c06253b432
2012-12-31 20:55:37 +00:00
Translation updater bot 6406e83a20 Localisation updates from http://translatewiki.net.
Change-Id: Ib26f8dbde3cebe3eed9ba7836079632b2cb67089
2012-12-27 21:25:18 +00:00
Translation updater bot bc6049bd0e Localisation updates from http://translatewiki.net.
Change-Id: Ia55c28d4e8d2fa7d00f27fcdd1ac5683a4185a17
2012-12-26 21:12:56 +00:00
Translation updater bot f007371a70 Localisation updates from http://translatewiki.net.
Change-Id: I6f829731e5fb997730b441c19f04da3742d94a5c
2012-12-23 21:56:10 +00:00
Translation updater bot 02e42d9434 Localisation updates from http://translatewiki.net.
Change-Id: I3ef36d1d308f4a306987ab999838cbd36bb0c5b6
2012-12-22 22:15:59 +00:00
Tim Landscheidt c46d34e906 Remove wikitext from translated error messages.
Error messages are passed through escaped() and thus should not contain
wikitext.

Change-Id: I388cb970941c11d3eb47dcd9022076b3833ff64d
2012-12-17 10:04:36 +00:00
Translation updater bot d5fa9368a7 Localisation updates from http://translatewiki.net.
Change-Id: I9e094550cd96bb3bd08123431fcd77fee1113bf3
2012-12-15 23:56:19 +00:00
Translation updater bot 6ebf21833f Localisation updates from http://translatewiki.net.
Change-Id: I597a6075bb261e85e92ba386dd9a7d139d8f0008
2012-12-12 21:15:15 +00:00
Translation updater bot 88edb15903 Localisation updates from http://translatewiki.net.
Change-Id: I60ff90062b45cbe14ae0d657850029c069743eb4
2012-12-11 22:53:47 +00:00
Translation updater bot 464ae18eb4 Localisation updates from http://translatewiki.net.
Change-Id: Id81a93f94b6a6f7bdce0d311f3cffcb7ce596960
2012-11-27 21:07:41 +00:00
Translation updater bot 55d4b07d5b Localisation updates from http://translatewiki.net.
Change-Id: Ie1d705134d4698e7ac497d43ed7911198c2815ac
2012-11-25 20:51:32 +00:00
Translation updater bot c5f24a34d8 Localisation updates from http://translatewiki.net.
Change-Id: I307e44a18f95aa6fc3c1d3344e7429f59ee9974d
2012-11-11 20:57:57 +00:00
Translation updater bot c3d5c4b31e Localisation updates from http://translatewiki.net.
Change-Id: I199320db6554e4e34cf7567bf0fd15f2d4e0536d
2012-10-22 01:39:02 +00:00
Translation updater bot cee2771658 Localisation updates from http://translatewiki.net.
Change-Id: Ia50df2f81aafc4d3ccd121ffdb89b19d9fb1c98b
2012-10-18 19:22:47 +00:00
Translation updater bot b5f7c68452 Localisation updates from http://translatewiki.net.
Change-Id: I56fcabb7439c9c1a6f638d872656a39e9ecb6525
2012-10-12 21:19:44 +00:00
Translation updater bot 49a850f0f7 Localisation updates from http://translatewiki.net.
Change-Id: I5691bb949e74290457d117b10402a0d3003eb998
2012-10-02 13:51:43 +00:00
Translation updater bot 33fa60a8fc Localisation updates from http://translatewiki.net.
Change-Id: I7a552dbe96421aad415f5adebc77518e4870b009
2012-09-15 19:52:49 +00:00
Translation updater bot 0d7f81da72 Localisation updates from http://translatewiki.net.
Change-Id: Ie86a166d693df4ed14da00625833cd9f697710ba
2012-09-14 21:10:13 +00:00
Translation updater bot e6dc8d46ea Localisation updates from http://translatewiki.net.
Change-Id: I122f3e115aa0b13aa86b499fba7df320f012d7f6
2012-09-13 20:44:46 +00:00
Translation updater bot 5c4083779a Localisation updates from http://translatewiki.net.
Change-Id: I979ee7b6917ef03717ca72cc961f1483c3a462b5
2012-09-10 19:32:53 +00:00
Translation updater bot 9c273d734a Localisation updates from http://translatewiki.net.
Change-Id: Iff4807176af65bfbf7ce651ceed66f981454659d
2012-09-09 19:34:08 +00:00
Translation updater bot 90b4897c26 Localisation updates from http://translatewiki.net.
Change-Id: Icdbd1130257d45817a8573189d1ff619899ffe2b
2012-09-08 19:01:06 +00:00
Reedy 7a3619ea8d Bug 40039 - Remove ConvertParser from ParserFunctions
Change-Id: I730624f455dcd8cf0375b9147efe4abee5b203bb
2012-09-06 15:44:12 +01:00
Siebrand Mazeland 7695c55756 Rename no to nb (step 4/4): Change 'no' to 'nb' in remaining files. 2011-12-25 09:42:00 +00:00
Platonides 86c86a3766 Add the position of the text to the messages so that
the position can be changed depending on the plural, as requested by Amir in
http://lists.wikimedia.org/pipermail/mediawiki-i18n/2011-August/000338.html

Placing the text after the unit could get funny in cases where there is
more text than just the number and the unit, but it's not a problem for the 
parserfunction to fix.

The transformations for ParserFunctions.i18n.php were
On pfunc-convert-unit messages: s/$2/$3/, s/$1/$2/
s/'pfunc-convert-unit-.*' *=> '/\0$1/
2011-09-01 18:45:53 +00:00
Raimond Spekking a9d3e4043a Localisation updates for core and extension messages from translatewiki.net 2011-08-31 20:28:36 +00:00
Raimond Spekking 3438161145 Localisation updates for core and extension messages from translatewiki.net 2011-08-30 19:49:07 +00:00
Raimond Spekking 6e6c4792e8 Localisation updates for core and extension messages from translatewiki.net 2011-08-29 20:32:44 +00:00
Raimond Spekking 4fddfcd1f7 Localisation updates for core and extension messages from translatewiki.net 2011-08-27 19:09:42 +00:00
Happy-melon 6821c2b083 Follow-up r95525: restore some translations of "mili" that were actually correct. 2011-08-26 19:06:24 +00:00
Happy-melon 45b53a4eb8 Follow-up r81074: fix typos in some unit names and messages ("mili" instead of "milli"). 2011-08-25 21:22:28 +00:00
Raimond Spekking b0b48635e4 Localisation updates for core and extension messages from translatewiki.net 2011-08-25 20:41:28 +00:00
Raimond Spekking 13a9beb015 Localisation updates for core and extension messages from translatewiki.net 2011-08-24 20:28:02 +00:00
Raimond Spekking 3fe5736c62 Localisation updates for core and extension messages from translatewiki.net 2011-08-23 20:11:33 +00:00
Raimond Spekking 04a25f18f1 Localisation updates for core and extension messages from translatewiki.net 2011-08-21 19:37:43 +00:00
Raimond Spekking acf750d768 Localisation updates for core and extension messages from translatewiki.net 2011-08-20 20:54:50 +00:00
Raimond Spekking 7933e1ca0c Localisation updates for core and extension messages from translatewiki.net 2011-08-19 20:01:08 +00:00
Raimond Spekking 5e7ba87fcc Localisation updates for core and extension messages from translatewiki.net 2011-08-18 20:35:31 +00:00
Raimond Spekking 61fbf329ca Localisation updates for core and extension messages from translatewiki.net 2011-08-17 20:43:00 +00:00
Siebrand Mazeland 5879b1bc18 Two more punctuation issues missed in r94734. 2011-08-17 08:27:01 +00:00
Siebrand Mazeland 8e4c0973ff Update punctuation on error messages
Update capitalisation after colon for US English.
2011-08-17 08:24:44 +00:00
Siebrand Mazeland 8397d2a8fb Localisation updates from http://translatewiki.net. 2011-08-17 08:20:27 +00:00
Siebrand Mazeland f1641f2c56 Partial revert of r94714.
Also revert r81090 and 81091 that caused this; the ignored messages should have been removed by now.
2011-08-17 07:42:17 +00:00
Siebrand Mazeland 3d643d60be Localisation updates from http://translatewiki.net.
Full rebuild of all messages files for extensions supported by Translate.
2011-08-17 00:10:33 +00:00
Raimond Spekking f84714259c Localisation update for core and extension messages from translatewiki.net (2011-08-11 19:50:00) 2011-08-11 20:12:53 +00:00
Raimond Spekking dacbfc4136 Localisation update for core and extension messages from translatewiki.net (2011-08-04 12:30:00) 2011-08-04 13:28:09 +00:00
Raimond Spekking 896325ca10 Localisation updates for core and extension messages from translatewiki.net (2011-07-17 19:25:00 UTC) 2011-07-17 19:50:15 +00:00
Raimond Spekking df11f533c6 Localisation updates for core and extension messages from translatewiki.net (2011-07-16 19:52:00 UTC)
Ping r92057: Full export of core and ext-installer
2011-07-16 20:06:00 +00:00
Raimond Spekking 453e1bb5be Localisation updates for core and extension messages from translatewiki.net (2011-06-30 20:09:00 UTC) 2011-06-30 20:17:56 +00:00
Raimond Spekking 3e2d67f54f Localisation updates for ToolserverI18N messages from translatewiki.net (2011-06-26 19:34:00) 2011-06-26 20:00:58 +00:00
Raimond Spekking c3a1e690eb Localisation updates for core and extension messages from translatewiki.net (2011-06-23 20:15:00 UTC) 2011-06-23 20:36:17 +00:00
Raimond Spekking c1b0a9443a Localisation updates for core and extension messages from translatewiki.net (2011-06-17 19:08:00 UTC) 2011-06-17 19:27:16 +00:00
Raimond Spekking 2f18403c5d Localisation updates for core and extension messages from translatewiki.net (2011-06-07 20:35:00 UTC) 2011-06-07 20:55:30 +00:00
Raimond Spekking 85ac41ee26 Localisation updates for core and extension messages from translatewiki.net (2011-06-06 20:43:00 UTC) 2011-06-06 20:57:48 +00:00
Raimond Spekking 8c64f87edb Localisation updates for core and extension messages from translatewiki.net (2011-05-30 20:19:00 UTC) 2011-05-30 20:28:52 +00:00
Raimond Spekking 4f959272ca Localisation updates for core and extension messages from translatewiki.net (2011-05-24 20:59:00 UTC) 2011-05-24 21:34:27 +00:00
Raimond Spekking 1a6d59e655 Localisation updates for core and extension messages from translatewiki.net (2011-05-20 20:10:00 UTC) 2011-05-20 20:22:23 +00:00
Raimond Spekking af22aff90a 2011-05-17 20:25:48 +00:00
Raimond Spekking 933f6936eb Localisation updates for core and extension messages from translatewiki.net (2011-05-16 20:37:00 UTC) 2011-05-16 20:57:27 +00:00
Raimond Spekking 02d2afd591 Localisation updates for core and extension messages from translatewiki.net (2011-05-10 20:34:00 UTC) 2011-05-10 21:00:25 +00:00
Raimond Spekking 77cd1fef37 Localisation updates for core and extension messages from translatewiki.net (2011-05-09 21:19:00 UTC) 2011-05-09 21:32:46 +00:00
Raimond Spekking 1336e93ebc Localisation updates for core and extension messages from translatewiki.net (2011-05-06 22:02:00 UTC) 2011-05-06 22:11:48 +00:00
Raimond Spekking a79369b072 Localisation updates for core and extension messages from translatewiki.net (2011-05-04 19:40:00 UTC) 2011-05-04 20:09:49 +00:00
Raimond Spekking a54d7c2278 Localisation updates for core and extension messages from translatewiki.net (2011-05-02 20:13:00 UTC) 2011-05-03 20:29:05 +00:00
Ryan Kaldari 752dd28e01 fix issues from r86927, user language and years over 9999 2011-05-02 22:21:56 +00:00
Raimond Spekking a78e4d434f Localisation updates for core and extension messages from translatewiki.net (2011-04-29 19:47:00 UTC) 2011-04-29 20:09:54 +00:00
Raimond Spekking ac9d9392b8 Localisation updates for ToolserverI18N messages from translatewiki.net (2011-04-14 19:30:00 UTC) 2011-04-14 19:49:05 +00:00
Raimond Spekking 7e5ace340c Localisation updates for core and extension messages from translatewiki.net (2011-04-04 12:51:00 UTC) 2011-04-04 13:21:39 +00:00
Raimond Spekking aa01da8b7f Localisation updates for core and extension messages from translatewiki.net (2011-03-27 19:42:00 UTC) 2011-03-27 20:12:23 +00:00
Raimond Spekking f251e8e2d3 Localisation updates for core and extension messages from translatewiki.net (2011-03-09 21:26:00 UTC) 2011-03-09 22:15:15 +00:00
Raimond Spekking a404c392f0 Localisation updates for core and extension messages from translatewiki.net (2011-03-03 21:42:00 UTC) 2011-03-03 21:51:07 +00:00
Happy-melon fd1620e14b Follow-up r81074, r81517: implement SI prefixes as a separate structure. You can now specify which units should take SI, and then they accept *all* SI prefixes centrally. Some care is still needed to avoid unit conflicts, but this substantially reduces the number of messages required.
The translations of prefixed units in some languages may be a little tricky if the prefix is inflected etc, but you know what?  You can always use ParserFunctions!!  :-D
2011-02-16 10:27:42 +00:00
Raimond Spekking 3b0d115620 Localisation updates for core and extension messages from translatewiki.net (2011-02-14 21:31:00 UTC) 2011-02-14 21:56:30 +00:00
Happy-melon c65d2f8bbc Follow-up r81074: succumb, though it breaks my heart to do so (:P), to American linguistic imperialism... 2011-01-29 15:45:07 +00:00
Raimond Spekking f7f2327e11 Localisation updates for core and extension messages from translatewiki.net (2011-01-27 21:09:00 UTC) 2011-01-27 21:35:41 +00:00
Happy-melon 65e9e69202 (bug 235) parser function for conversion of units of measurement.
[[Template:Convert]] on enwiki is a behemoth of a construction that just about manages to do this sort of conversion, taking {{convert|5|mi|km}} and outputting "5 miles (8 km)", etc.  To port this to another wiki requires copying over three and a half thousand subtemplates.  The additional load produced by including numerous copies of this template is measurable on large pages on enwiki, and it eats voraciously into the template limits.

This revision introduces {{#convert: 5 mi | km }}, outputting "8 km" or thereabouts.  See http://www.mediawiki.org/wiki/User:Happy-melon/Convert for more details, or look at the examples in the parser tests.  

In a very rough profile, comparing 50 calls to {{convert}} verses the same 50 calls to the wrapper template shown at the link above, the parser function implementation reduces page load time by 72%, preprocessor node count by 83%, post-expand include size by 86% and template argument size by 97%.  More detailed profiling would probably reveal places where extra caching could improve performance further.

The primary reason for putting it in ParserFunctions instead of its own extension is availability: PFs are already available across the cluster, and it's accepted as an essential extension for any wiki wishing to emulate or mirror WMF content.  One less separate extension installed on the cluster is one less extension which has to be matched by reusers.  

It's still missing a lot of units, which I ran out of patience to copy from {{convert}}; I thought I'd get some feedback on the infrastructure first.
2011-01-27 00:13:10 +00:00
Siebrand Mazeland e512f7f3cd Localisation updates for extensions from translatewiki.net. 2011-01-22 20:08:34 +00:00