Commit graph

1713 commits

Author SHA1 Message Date
Translation updater bot 26066bfc04 Localisation updates from http://translatewiki.net.
Change-Id: I79da4bb689a6f5ab25351116cf57aca51a1ec5a5
2012-11-28 20:17:54 +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 d707238b86 Localisation updates from http://translatewiki.net.
Change-Id: I700313063e14b83fc4670df5aea380706a786174
2012-11-22 20:45:23 +00:00
Translation updater bot 71ae828026 Localisation updates from http://translatewiki.net.
Change-Id: I4cc2c43139e57a94754f7b759b0f6df25cbe86c5
2012-11-17 20:49:02 +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 1df4e0605d Localisation updates from http://translatewiki.net.
Change-Id: I25c8c024185b9ddcba5e83a1a34393e9899d519e
2012-11-09 10:35:59 +00:00
Gabriel Wicke e48bb4b2a9 Add test for special parameter whitespace stripping behavior
ParserFunctions strip whitespace from positional parameters, while normal
templates do not.

Change-Id: I9c736bedf103a668b324e7fd453d205d9824b9e4
2012-11-09 06:39:36 +00:00
Gabriel Wicke ff2801b0df Add a test for the preservation of tags in the #switch default value
This test is inspired by the Parsoid commit
https://gerrit.wikimedia.org/r/#/c/28623/, but applies to the PHP version too.

Change-Id: I4814b98597f2dd6a2279b8cdcc90a26fbbdecc71
2012-11-08 10:43:10 -08: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
Siebrand Mazeland 5dee345880 ParserFunctions extension maintenance.
* Use Message class instead of wfMsg* methods.
* Replace additional deprecated methods.
* Fixed incorrect tag in i18n file.
* Update .gitignore.

Conflicts:
	ParserFunctions.i18n.php

Change-Id: If21300c11ec628506cb56550bc91a24a5d7c45d2
2012-10-03 20:58:43 +00:00
Translation updater bot 0a12e5e3fe Localisation updates from http://translatewiki.net.
Change-Id: Iffed2ee5874e9fc248416aa7d0fedd048623e2b4
2012-10-03 20:17:29 +00:00
umherirrender d7668a3581 Use Parser::incrementExpensiveFunctionCount direct for ifexist
No need to do it self and now the limit of the ParserOptions is used.

Change-Id: Id13796d0424fb3b5501a774e1ace3ea065864e49
2012-10-02 23:47:52 +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 193e69abee Localisation updates from http://translatewiki.net.
Change-Id: I6fe46ae2c310f9965fd16c86d99eff10dca932d4
2012-09-25 19:47:06 +00:00
Translation updater bot 82a0ab9634 Localisation updates from http://translatewiki.net.
Change-Id: I69877ab64a312562fad8800c35ede1d06298b6a1
2012-09-23 19:04:09 +00:00
Translation updater bot a459b1d0c5 Localisation updates from http://translatewiki.net.
Change-Id: I4a78800e6e3b4c192cd30e6237f7b03d804e1ae2
2012-09-18 19:16:05 +00:00
Niklas Laxström 2763315952 Removed more leftovers of convert reversion
Change-Id: I891bd6f94a32d145ab8909b481347bc876043dda
2012-09-17 20:50:15 +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
Reedy e91a53942a Merge "Cleanup I730624f4: Bug 40039 - Remove ConvertParser from ParserFunctions" 2012-09-11 01:24:41 +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
umherirrender 99b150fab4 Cleanup I730624f4: Bug 40039 - Remove ConvertParser from ParserFunctions
Remove unused vars and dead entries for classes and tests

Change-Id: I0920f0294043fa1cca0ca5622fb7eae4a8c61fcb
2012-09-08 19:30:30 +02:00
Reedy 7a3619ea8d Bug 40039 - Remove ConvertParser from ParserFunctions
Change-Id: I730624f455dcd8cf0375b9147efe4abee5b203bb
2012-09-06 15:44:12 +01:00
Reedy fdd7c091bd Minor documentation additions
Change-Id: I876de41b2c81d93df34ee2a8222aff6dc8176aae
2012-07-23 20:56:17 +01:00
Reedy 8d2534bc77 Add .gitignore
Change-Id: I7e80967be0af17caa2f983f9cf19a2c5ed85f8d0
2012-05-21 01:41:15 +01:00
Peter Gehres 4367239a72 Adding .gitreview
Change-Id: I96adaf0e412fe047bcb2a8ca9fec821e475bb62b
2012-03-23 10:31:59 -07:00
Mark A. Hershberger fb5864083d w/s 2012-02-06 04:37:05 +00:00
Chad Horohoe e60a8ed523 Stop using in_string(). WikiScripts and AbuseFilter are the only exts still using this silly thing. 2012-01-11 14:47:27 +00:00
Sam Reed c31468e363 * (bug 33421) ParserFunction 1.18 has incorrect italian string 2011-12-29 22:20:04 +00: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
Siebrand Mazeland aabd2bf24f Add test and output for {{#time:d F Y|1988-02-28|nl}}. This test should pass.
Would be nice if it was possible to add a test for {{#time:d F Y|1988-02-28|user}} where user language is "nl", because that does not work. Ref bug 28655 comment 10 and comment 17.
2011-12-21 21:59:38 +00:00
Sam Reed ee97278b4d Add some braces and also some documentation 2011-12-19 23:44:11 +00:00
Max Semenik 2aacab3186 ParserFunctions: made {{#time}} respect parser's timestamp, just as {{CURRENTDATE}} and friends do 2011-12-19 11:18:13 +00:00
Max Semenik d605269ce8 ParserFunctions: ditch PHP pre 5.2 compatibility 2011-12-19 10:51:39 +00:00
Sam Reed 8e61fa2f32 Flesh out documentation
Remove some more < 1.12 back compat code
2011-12-19 00:54:31 +00:00
Sam Reed 1eec35dabd Fix function name typo "date_defaulttimezone_get()" to "date_default_timezone_get()" from r105459 2011-12-19 00:51:36 +00:00
Sam Reed 0b1347bdd2 SFH_OBJECT_ARGS was added pre 1.12...
Kill ancient back compat, and code where unused
2011-12-19 00:38:10 +00:00
Alexandre Emsenhuber f4d9df85d5 * Only get the LinkCache instance when really necessary
* Do not assign a variable inside a condition check
2011-12-18 19:00:53 +00:00
Brion Vibber dcfa8e0c50 Update a butt-ton of extension about URLs to point to https://www.mediawiki.org/ 2011-12-13 23:49:33 +00:00
Brian Wolff c763bf6ce1 (bug 32351) Make #time[l] support explicitly specified timezones. Patch by Van de Bugger.
This would make something like {{#time:H:i:s| 9:30 January 1, 2012 MST}} convert the time from 9:30 mountatin standard time to whatever it is in UTC.

I made one minor change from the patch on bugzilla in changing an @ to a wfSuppressWarnings. (The @ was already in the code, it wasn't introduced by the patch).
2011-12-07 20:52:41 +00:00
Sean Colombo a76aa995fe ParserFunctions: The third param turned out to have the same issue as the second (was throwing warnings in production since empty-strings were making their way in). Followup to r103834. 2011-11-21 21:18:18 +00:00
Sean Colombo 4d02a43a53 ParserFunctions: made #sub stronger against bad params (was throwing a ton of warnings in production at Wikia). 2011-11-21 21:09:19 +00:00
Sam Reed 34dbdcfd82 Comments, braces, explicit member variables
Remove a couple of unused variables
2011-11-16 13:22:03 +00:00
Chad Horohoe e188af9e04 Swap ParserFuncs to use the timezone funcs (like r60825) rather than putenv() magic.
putenv( 'TZ=foo' ) doesn't work with the 5.4 beta ;-)
2011-09-29 18:20:10 +00:00