Commit graph

1486 commits

Author SHA1 Message Date
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
aude 7deac2a8f6 add check for $wgWikimediaJenkinsCI isset
Change-Id: If7e38cc4858fd970b5feb90a44a6787df822de98
2014-02-18 16:06:21 +01:00
tonythomas01 187ae0cd02 Added the $wgPFEnableStringFunctions = true in ParserFunctions tests
Jenkins bot unit tests without setting $wgPFEnableStringFunctions = true;
This triggers all the parser tests for string functions to be skipped

Bug: 61410
Change-Id: I69636d656af851beeed6fd5353e4a01c1ca5c608
2014-02-18 19:40:21 +05:30
Translation updater bot d6c68bdfea Localisation updates from https://translatewiki.net.
Change-Id: I60fec99f3c4e078517ae03a81bf99f01f5c94d84
2014-02-17 20:47:51 +00:00
Translation updater bot 57485764a4 Localisation updates from https://translatewiki.net.
Change-Id: I0ceec52e9aa99c4c26a839ba45f961808577ab95
2014-02-16 20:21:07 +00:00
Anomie cab5a3310e Merge "mb_substr() expects parameter 2 to be long, string given" 2014-02-15 18:06:28 +00:00
Translation updater bot 16cf3e924d Localisation updates from https://translatewiki.net.
Change-Id: I68b01d30bad3505f9e0aee9431d07739c509a7be
2014-02-13 21:18:36 +00:00
Brad Jorsch 4d9ddef2fb Update doc comment
Extension:Lua wasn't the way we went, Extension:Scribunto is.

Change-Id: I7f18fc9586c96e28326fb6e3fdae2a3ae20ffad2
2014-02-07 10:34:43 -05:00
Translation updater bot 0d27e5183a Localisation updates from https://translatewiki.net.
Change-Id: Ia45e303dd6f22aa7d247a44ce85674860883a431
2014-02-01 19:44:34 +00:00
umherirrender 0930b80e05 mb_substr() expects parameter 2 to be long, string given
Adding missing intval as suggested in bug 51834

Bug: 51834
Change-Id: I0bc8d612dc52d32e2cd616325e800b95c4efa23f
2014-01-31 17:03:50 +01:00
Translation updater bot 6a9b2aa2bd Localisation updates from https://translatewiki.net.
Change-Id: I971101efe8416d3647bf467d399f56f65666eb3b
2014-01-23 20:17:30 +00:00
Translation updater bot a2046d0374 Localisation updates from https://translatewiki.net.
Change-Id: I36069573cb6ba57b6341db26d98d18e51e07d7ec
2014-01-19 20:17:48 +00:00