Commit graph

1747 commits

Author SHA1 Message Date
Chad Horohoe 9193587357 Remove obvious function-level profiling
Change-Id: I50b125f288247458f1d193789ebf1e1191bde538
2015-02-12 12:06:09 -08:00
Translation updater bot 230947625a Localisation updates from https://translatewiki.net.
Change-Id: I6f17ca4fbd257dcc288c3684257846641ae1989c
2015-01-18 22:21:32 +01:00
Ori Livneh 085ac33f03 MWException -> Exception
Change-Id: Ia0607f91714129c6c9861f23177e1b999d0ba20a
2015-01-09 17:57:53 -08:00
umherirrender 7075df5dd7 mb_strpos() expects parameter 3 to be long, string given
Adding missing intval, similar to
I0bc8d612dc52d32e2cd616325e800b95c4efa23f

Bug: T72325
Change-Id: If5600a8e6630cf4568cd2a9ab9be336a9a9e40bb
2014-12-30 18:23:43 +00:00
Translation updater bot bdda4a1c82 Localisation updates from https://translatewiki.net.
Change-Id: If84dc1f9258bdf012a9035c4376e1b5934af53ee
2014-12-27 19:53:07 +01:00
umherirrender 082e682c95 Use Parser::SFH_OBJECT_ARGS class const
Instead of the global const

Change-Id: I3b32231d8237f936a0960449bfbf0b2e00fab9e8
2014-11-18 19:47:12 +01:00
Translation updater bot 693a2e9bf3 Localisation updates from https://translatewiki.net.
Change-Id: I6e5a17d58f3abf3ee5ace1ef293b827797d7d652
2014-11-16 22:51:45 +01:00
Translation updater bot 3cce17d550 Localisation updates from https://translatewiki.net.
Change-Id: I5928344ab2cee4482e32915a3f565fc11469c1b1
2014-11-14 22:25:31 +01:00
Translation updater bot 26a1f4ca57 Localisation updates from https://translatewiki.net.
Change-Id: I297312df684434f65e1c32b205a33790fd5dd2bb
2014-10-30 23:31:00 +01:00
Kevin Israel 0b96cbad0e Use Parser::killMarkers() from core for string functions
Change-Id: I57a4373be735ec1a3c0ee3d67143be33147a32f1
2014-10-20 03:28:31 -04:00
Jackmcbarn d207d6493d Return registerInterface() per Ibdc1f4ef
Change-Id: I8106ccc03f1bd64afe6dacd45263d400e342c0be
2014-10-03 10:47:45 -04:00
Jackmcbarn 28072281fd Call Title::exists() instead of checking the ID
Bug: 70495
Change-Id: I8ad9eeb2145727999c553415f80b3c8d95d7573b
2014-09-15 18:39:36 -04:00
Translation updater bot 50a715006f Localisation updates from https://translatewiki.net.
Change-Id: I7454c9c261519d19f43338ede3fc09ee5e072673
2014-08-20 22:30:08 +02:00
addshore 0416c4590d Use public instead of var in classes
Change-Id: Ic7b0455a4759579ef85b3c18bac55fb4f0e07183
2014-08-17 22:10:15 +01:00
Translation updater bot 057d585fa1 Localisation updates from https://translatewiki.net.
Change-Id: I8ed2086e441ebb76d5cb2011bb34bf59d24990ae
2014-08-09 19:59:32 +02:00
Translation updater bot 6edc38ae07 Localisation updates from https://translatewiki.net.
Change-Id: I1223c63fa5a42e16f4be6809f2e2e65a98c69bec
2014-07-30 21:58:44 +02:00
Translation updater bot 870353c24e Localisation updates from https://translatewiki.net.
Change-Id: Ic5f826826ca57a8e022a6af9df1e13f56e300079
2014-07-18 21:29:39 +02:00
Brad Jorsch b386038c00 #switch should not match #default as a prefix
For example, "{{#switch:x|#defaultWTF? = This is crazy}}" should not
return "This is crazy".

Bug: 67871
Change-Id: Ie3f2e6b254b9f44028156268bd8d67aa3dd1cc62
2014-07-11 18:16:11 +00:00
Marcus Brinkmann 23dd608020 Fix #switch #default to match next (not last) named parameter.
Bug: 23192
Change-Id: I3a726b3aacb2a598f79c0dbebaa4f400ee2d9aa2
2014-07-11 14:02:12 -04:00
Brian Wolff 5497989886 Add unit tests for #ifexist in NS_MEDIA with file redirects
Bug: 32031
Change-Id: I6be56d9b1942caf85c26af1b08bda37b1f70b82c
2014-07-09 18:10:00 +00:00
Jackmcbarn b34f264e0c Unstub $langObject
The first time we use $langObject, it's a function call with a parameter
by reference, so it needs to be unstubbed first.

Change-Id: I43cdb0a8b2728d0f69a11fd778c6a3ff03487ef3
2014-07-03 16:03:14 -04:00
Translation updater bot 4c65fc8600 Localisation updates from https://translatewiki.net.
Change-Id: I84a8e4a2a1f6bbe8bbba444c3589741dce32e605
2014-06-30 20:38:22 +00:00
Brian Wolff 3c3e0751d7 Decode html entities before comparing strings in #ifeq: and #switch
This makes foo's equal to foo's. This is particularly important
since {{PAGENAME}} and friends html encode certain characters.

This change should be communicated to users before it hits wikis.
I don't think anyone is relying on the current behaviour, but
you never know.

Bug: 35628
Change-Id: I0035ac541d22491fcf15f55f2589aaab394ed0ed
2014-06-25 16:21:58 -03:00
jenkins-bot 016d9eac4b Merge "Add a TTL to #time and #timel output" 2014-06-24 22:54:38 +00:00
Niklas Laxström 7266842900 Style fixes
Change-Id: I0ed5048a52a042e67ee24824a418ec50d2993142
2014-06-21 18:49:27 +00:00
Translation updater bot 962fab529b Localisation updates from https://translatewiki.net.
Change-Id: I299e9d515166551783263d2d945e4d8724ed7d27
2014-06-15 19:53:06 +00:00
jenkins-bot ea7bc2880a Merge "Allow calling #expr from Lua without the parser" 2014-06-06 15:40:53 +00:00
Jackmcbarn 334f1f0ee3 Add a TTL to #time and #timel output
Set the appropriate TTL when using #time or #timel. Needs I412febf3 and
I3f5a80aa in core to function.

Change-Id: I2e8b8918482b0b3f4adf154af795b6bb53b99497
2014-06-01 14:16:43 -04:00
Translation updater bot ac63ba7337 Localisation updates from https://translatewiki.net.
Change-Id: I04966101a0bbbb79810aca36be0316d51c0d1ee7
2014-05-31 19:01:42 +00:00
Translation updater bot eb812e3922 Localisation updates from https://translatewiki.net.
Change-Id: I65f85b68d01c0c1a8f36775848b27929704d5078
2014-05-24 15:22:15 +00:00
Translation updater bot de8c14b388 Localisation updates from https://translatewiki.net.
Change-Id: Id0ac2fcc9b40ed3d3c14ca1ee082145d45890e47
2014-05-07 20:00:54 +00:00
Jackmcbarn f7bd89e435 Allow calling #expr from Lua without the parser
Add mw.ext.ParserFunctions.expr, allowing #expr to be used without needing
to use frame:callParserFunction.

Change-Id: I64c78fafad7da503b141efb36da64c3e3d8501a5
2014-05-05 17:58:40 +00:00
Translation updater bot 0135097cf1 Update i18n shim
A performance issue was fixed in the shim(s) generated by
generateJsonI18n.php, so it needed to be updated.

Change-Id: Ieb6569a1679a7c084ab2929a64065c7d6b8d58fb
2014-04-22 13:35:45 +00:00
Translation updater bot 603d30332b Localisation updates from https://translatewiki.net.
Change-Id: Ie842d1d0ba9c0fd60b4cb52976cf50cfb7e6b7c3
2014-04-17 19:00:25 +00:00
Translation updater bot 0f3008171c Localisation updates from https://translatewiki.net.
Change-Id: I0a1d969da0ee25c0dc772026848675f36a7400c9
2014-04-16 15:46:17 +00:00
Translation updater bot 0fb4639c59 Localisation updates from https://translatewiki.net.
Change-Id: I58d6855e1c5b3acb7258096b0b2d01db374ff3de
2014-04-14 19:45:10 +00:00
Translation updater bot bdc4fe67a1 Localisation updates from https://translatewiki.net.
Change-Id: I69b413958fa77aa4829979d48660ec33cde5e63c
2014-04-13 19:16:33 +00:00
Translation updater bot 27b040936e Localisation updates from https://translatewiki.net.
Change-Id: I03f6f8e287ca2b1ca3e4791aba04915977f1ab45
2014-04-10 20:30:30 +00:00
Translation updater bot 350458540a Localisation updates from https://translatewiki.net.
Change-Id: I6c2ab84cfb9792e26fb3d9f660430a5f2eca2d9b
2014-04-09 19:39:37 +00:00
Translation updater bot a07a84fa35 Localisation updates from https://translatewiki.net.
Change-Id: I17775df04c5ad4f2bb84e634e87b0e9699f17e0d
2014-04-01 19:49:10 +00:00
Translation updater bot 53b972bc27 Localisation updates from https://translatewiki.net.
Change-Id: I8088b74773973b8a8018beb476e5791dba33bc09
2014-03-31 20:16:02 +00:00
Translation updater bot 4de20f7b4c Localisation updates from https://translatewiki.net.
Change-Id: I5e5b9c3ae845f4dbcfc20f2d68cd8d58562ca733
2014-03-29 21:17:48 +00:00
Translation updater bot a053683fb5 Localisation updates from https://translatewiki.net.
Change-Id: I958121af9e0a06b7e8eecaa668de7721f9bfe2e6
2014-03-28 19:31:39 +00:00
Siebrand Mazeland 472cc18534 Migrate to JSON i18n
Procedure per https://www.mediawiki.org/wiki/Manual:GenerateJsonI18n.php
with shim.

Change-Id: I14f32ccb8bcaf3d3c38b3267b1fcb2a2f611c424
2014-03-28 12:15:51 +01:00
Translation updater bot 36bc3e0a2c Localisation updates from https://translatewiki.net.
Change-Id: Ief865cc3dfc0dc4a3664c0483354ec654e413f01
2014-03-21 20:47:48 +00:00
Translation updater bot 316c2edf94 Localisation updates from https://translatewiki.net.
Change-Id: I33f2f51f4c7f2b2cb2cadd9bce1a43d10c15d87e
2014-03-03 21:07:21 +00:00
Translation updater bot b70e42c910 Localisation updates from https://translatewiki.net.
Change-Id: I644ba7ac6d19ec7a5ecd60c0c678ba0089781b98
2014-03-02 20:40:21 +00:00
Translation updater bot b6ffa26a75 Localisation updates from https://translatewiki.net.
Change-Id: I873d4674d5bdf144c17b7aa89c9262dbd138cac3
2014-02-23 21:42:37 +00:00
Translation updater bot c7b1847047 Localisation updates from https://translatewiki.net.
Change-Id: I0fdd1ee34e590032dbcb697c2b18d19d95365d36
2014-02-20 21:05:12 +00:00
Translation updater bot 7287955504 Localisation updates from https://translatewiki.net.
Change-Id: Iba7e458b8f93a1822530cb91a2d9c2b22599066e
2014-02-19 20:09:18 +00:00