Commit graph

1219 commits

Author SHA1 Message Date
Brion Vibber 47042d2584 fix regression -- bc compat check was reversed; attempting to call bcpow() when no bc :) 2009-02-18 05:23:56 +00:00
Andrew Garrett 5a331c7c28 Handle precision=0 correctly in bcround (it's the default anyway!) 2009-02-18 05:12:01 +00:00
Siebrand Mazeland a5f70ba2fb Localisation updates for extension messages from translatewiki.net (2009-02-17 21:00 UTC) 2009-02-17 21:23:38 +00:00
Raimond Spekking 5db0d1728c Localisation updates for extension messages from translatewiki.net (2009-02-16 17:30 UTC) 2009-02-16 18:44:29 +00:00
Roan Kattouw 3c6bd5a6ec ParserFunctions: Fix undefined variable warnings introduced in r47205 2009-02-16 10:08:31 +00:00
Alexandre Emsenhuber e2eb7eb6e3 svn:eol-style native 2009-02-14 14:45:49 +00:00
Siebrand Mazeland 432bef232b Localisation updates for extension messages from translatewiki.net (2009-02-14 11:51 UTC) 2009-02-14 12:03:26 +00:00
Andrew Garrett 67ad2159a1 Fix handling of 0, 0.0, 0.00 etc in logical functions. 2009-02-13 00:28:40 +00:00
Andrew Garrett 29f573fe22 Per Simetrical on code review, fix confused implementation of log (just convert to doubles and use the inaccurate floating-point math for now), and move initialisation to doExpression, instead of haveBC. 2009-02-12 23:49:30 +00:00
Andrew Garrett d9fd747f2d Revert "Adds explicit round-off checking to operations that are sensitive to floating point vs. integer round-off errors.", et al. ( r46683, r46671 )
Reimplement, but better! Use BC Math library where possible, for fixed-point math operations. The tolerance aspect has been included by doing math internally at 16 digits, but discarding the last two digits for the purpose of comparison.
2009-02-12 22:29:32 +00:00
Siebrand Mazeland 29fcf23a4c Localisation updates for extension messages from translatewiki.net (2009-02-10 23:29 UTC) 2009-02-10 23:48:58 +00:00
Siebrand Mazeland 27b4bb6801 Localisation updates for extension messages from translatewiki.net (2009-02-08 22:48 UTC) 2009-02-08 23:02:36 +00:00
Siebrand Mazeland 216996cc90 Gotta love having to type that language code every time. 2009-02-08 14:30:28 +00:00
Philip Tzou fedec8161a New translations of Chinese for ParserFunctions extension. 2009-02-08 14:15:03 +00:00
Andrew Garrett 54de74c0ef Fix glaring fatal. 2009-02-06 21:18:32 +00:00
Rotem Liss 0d727facf3 ParserFunctions localized for yi:. 2009-02-02 17:45:44 +00:00
Robert Rohde a0fdcf7415 Adds explicit fractional tolerance checks to comparison functions. Currently set to 1e-10.
Addresses concerns related to r46671.
2009-02-01 18:40:26 +00:00
Robert Rohde 8f6382337c Adds explicit round-off checking to operations that are sensitive to floating point vs. integer round-off errors.
Where applied, it assumes that any floating point number that is an integer to within one part in 10^10 should be replaced with that integer.
2009-02-01 03:56:24 +00:00
Siebrand Mazeland de9b42156f Localisation updates for extension messages from Betawiki (2009-01-29 21:14 UTC) 2009-01-29 21:36:03 +00:00
Siebrand Mazeland 1dee070c01 Localisation updates for extension messages from Betawiki (2009-01-25 23:00 UTC) 2009-01-25 23:10:35 +00:00
Raimond Spekking a50ed0fb9e Localisation updates for extension messages used by WMF from Betawiki 2009-01-15 16:45:03 +00:00
Siebrand Mazeland 247d07be39 Localisation updates for extension messages from Betawiki (2008-12-31 00:24 CET) 2008-12-30 23:41:31 +00:00
Danny B. 349df8c5fc * handle the "o" format character for PHP 5.1.0+, older versions need emulation 2008-12-30 22:55:56 +00:00
Alexandre Emsenhuber 58c7808057 Update url in extension's credits 2008-12-30 14:55:45 +00:00
Siebrand Mazeland d4a2a4eeb1 Localisation updates for extension messages from Betawiki (2008-12-29 23:29 CET) 2008-12-29 22:48:02 +00:00
Siebrand Mazeland 488d409a97 Localisation updates for extension messages from Betawiki (2008-12-29 00:24 CET) 2008-12-29 00:03:59 +00:00
Siebrand Mazeland 0aaae88878 Localisation updates for extension messages from Betawiki (2008-12-28 00:53 CET) 2008-12-28 00:13:27 +00:00
Siebrand Mazeland dbab834cff Localisation updates for extension messages from Betawiki (2008-12-27 09:49 CET) 2008-12-27 09:16:21 +00:00
Siebrand Mazeland 5d540745bd Localisation updates for extension messages from Betawiki (2008-12-26 19:04 CET) 2008-12-26 18:16:42 +00:00
Siebrand Mazeland acbe26eb6e Localisation updates for extension messages from Betawiki (2008-12-26 11:15 CET) 2008-12-26 10:42:00 +00:00
Siebrand Mazeland ed24f56dca Localisation updates for extension messages from Betawiki (2008-12-25 00:00 CET) 2008-12-24 23:13:57 +00:00
Siebrand Mazeland b3fc18d352 Localisation updates for extension messages from Betawiki (2008-12-18 00:40 CET) 2008-12-17 23:51:14 +00:00
Siebrand Mazeland a173b05a72 Localisation updates for extension messages from Betawiki (2008-12-04 10:28 CET) 2008-12-04 09:47:11 +00:00
Siebrand Mazeland 152437cb72 Localisation updates for extension messages from Betawiki (2008-12-01 09:20 CET) 2008-12-01 08:47:02 +00:00
Andrew Garrett d39259e0fa Revert "Follow up on r43982. Reduce dirname(__FILE__) calls in core and extensions."
Uses $dir in extension files, and assumes that it remains unchanged in require_once( 'maintenance/commandLine.inc' ).
In fact, it is likely that '$dir' will be set when setting up command-line, as some extensions will use the same var.

Recommended fix: Use $CentralAuth_dir, $EmailPage_dir, etc.
2008-11-30 03:15:22 +00:00
Siebrand Mazeland f60e4324bb Localisation updates for extension messages from Betawiki (2008-11-28 10:35 CET) 2008-11-28 10:12:32 +00:00
Siebrand Mazeland ec013e2112 Follow up on r43982. Reduce dirname(__FILE__) calls in core and extensions. 2008-11-26 23:17:15 +00:00
Siebrand Mazeland 401182420d Localisation updates for extension messages from Betawiki (2008-11-20 12:57 CET) 2008-11-20 12:14:32 +00:00
Siebrand Mazeland b314efa650 Localisation updates for extension messages from Betawiki (2008-11-13 09:37 CET) 2008-11-13 09:08:58 +00:00
Siebrand Mazeland 7b78f6b610 Localisation updates for extensions messages. Rebuilt all messages files, export missed translations from Betawiki. 2008-11-10 14:15:37 +00:00
Siebrand Mazeland b0a970466d Localisation updates for extensions messages from Betawiki (2008-11-10 14:18 CET) 2008-11-10 13:28:01 +00:00
Siebrand Mazeland d6a57d46c5 Localisation updates for extension messages from Betawiki (2008-11-08 20:20 CET) 2008-11-08 19:37:12 +00:00
Siebrand Mazeland 887cd1c289 Localisation updates for extension messages from Betawiki (2008-11-02 00:14 CET) 2008-11-01 23:38:17 +00:00
Siebrand Mazeland d14a7fcf0a Localisation updates for extension messages from Betawiki (2008-11-01 00:21 CET) 2008-10-31 23:35:48 +00:00
Brion Vibber 8a8fcf7466 * (bug 11686) Make #time work with pre-1970 dates
Uses DateTime class in PHP 5.2+ to support dates outside the 1970-2038 range. On earlier versions will still fall back to strtotime with the old 32-bit Unix timestamp range limitations.
Patch by rememberthedot -- https://bugzilla.wikimedia.org/attachment.cgi?id=5416

Added a couple quick parser test cases to confirm the new behavior. However I am seeing some annoyances with how input time zones are handled, so we'll want to clean that up at some point. :)
2008-10-27 17:56:58 +00:00
Raimond Spekking 3141cddd5e * (bug 15730) #iferror catches more errors so any amount of other classes may precede or succede /error/.
Patch by René Kijewski
2008-10-09 11:45:20 +00:00
Siebrand Mazeland b8dbdce7f9 Localisation updates for extension messages from Betawiki (2008-10-02 19:53 CEST) 2008-10-02 17:59:56 +00:00
Siebrand Mazeland 9ba238ae8b Localisation updates for extensions messages from Betawiki (2008-09-28 00:01 CEST) 2008-09-27 22:35:17 +00:00
Tim Starling 7f9f5c56c3 In #ifexist: add the link to the parser output even if it's in the link cache already 2008-09-26 08:42:27 +00:00
Siebrand Mazeland b1dc2783d7 Localisation updates for extension messages from Betawiki (2008-09-21 13:19 CEST) 2008-09-21 12:00:30 +00:00