Commit graph

1202 commits

Author SHA1 Message Date
Brad Jorsch c5e75dcdd0 Avoid passing null to count()
PHP 7.2 made the questionable decision to raise a warning for
count( null ). So test for null explicitly before calling count in the
one place where null is expected.

Bug: T181891
Change-Id: I94146c14b63e32ad1e9f2ab9de9ebc403b251102
2017-12-04 10:46:34 -05:00
Translation updater bot ffc2019f6f Localisation updates from https://translatewiki.net.
Change-Id: Icbc6316f4bbe91bb2deab572c9cd70ede6059e62
2017-11-28 22:43:40 +01:00
MarcoAurelio 3f8db0e0d8 Add Mirandese (mwl) namespace translations
Author: <https://www.mediawiki.org/wiki/User:Athena_in_Wonderland>

Bug: T180052
Change-Id: If71fb50d0730310d435975b4cdf7557df36b2d74
2017-11-28 11:49:23 +00:00
Translation updater bot 3de2585770 Localisation updates from https://translatewiki.net.
Change-Id: I249eec9a1883d46576367ed85b974a6c2671df40
2017-11-24 23:21:01 +01:00
MarcoAurelio a4f7cbf81a Add Javanese translations for Scribunto
Provided by <https://www.mediawiki.org/wiki/User:Wirjadisastra> in the
linked Phabricator Task.

Bug: T180578
Change-Id: I1dc82427c6ebb95044b0456c8513cbec19e2ab52
2017-11-17 18:34:35 +00:00
Translation updater bot 903ace899d Localisation updates from https://translatewiki.net.
Change-Id: I88bde7d81609be4ca155d415f0863ba504ceb994
2017-11-15 22:36:23 +01:00
Umherirrender ea108db99c build: Always exclude node_modules
Change-Id: I3b5c4b5e25bca16ccd7e99e621760759054d2835
2017-11-11 18:42:26 +01:00
Translation updater bot 7b59d30cfe Localisation updates from https://translatewiki.net.
Change-Id: I4d55a1b2fcbaefb46bda30f008885121a6d9fee0
2017-11-08 22:42:11 +01:00
Translation updater bot aff5fe5d12 Localisation updates from https://translatewiki.net.
Change-Id: Idcd2bfe05989df06c6bc09cba349ed2f9dce01a4
2017-11-07 22:47:50 +01:00
Translation updater bot d307ec0965 Localisation updates from https://translatewiki.net.
Change-Id: I553e8b3303beb1a579477d4793771af9a88a17d5
2017-11-05 22:36:41 +01:00
Kunal Mehta e925e08592 build: Updating mediawiki/minus-x to 0.2.0
Change-Id: Ia150e2910b090340ecb7d347a486c6716385b383
2017-10-30 09:35:52 -07:00
libraryupgrader 83f1afa622 build: Updating mediawiki/mediawiki-codesniffer to 14.1.0
And moved phpcs.xml to .phpcs.xml (T177256).

Change-Id: If93c20dc23af675f6a12b0a7a8c579ade865c411
2017-10-21 04:30:02 +00:00
Translation updater bot 3cc36e484a Localisation updates from https://translatewiki.net.
Change-Id: I9e7be302c02535193f410f33c80c7a43005d7e22
2017-10-17 22:57:39 +02:00
Translation updater bot f97193ead6 Localisation updates from https://translatewiki.net.
Change-Id: I9f614680d9012459652724b831f8382d7c9e1b81
2017-10-13 22:51:28 +02:00
Translation updater bot 1fbeef725d Localisation updates from https://translatewiki.net.
Change-Id: If9c430f92f0f7f17b2890a71002df032b29ab627
2017-10-10 23:06:22 +02:00
Marius Hoch 12acfa95ef Make Scribunto_LuaSandboxTests::testArgumentParsingTime more robust
This should make sure the tests still work, even if the running
node is heavily overloaded.

Bug: T143389
Change-Id: Ic40c8d76c8799c2e9d11f53945276747c199fd02
2017-10-10 10:38:23 +02:00
Translation updater bot f320b8d62b Localisation updates from https://translatewiki.net.
Change-Id: Ib72b36fe65cca46f3e21d16b3629a20fa072f141
2017-10-09 23:03:40 +02:00
Translation updater bot 5f6dd959a1 Localisation updates from https://translatewiki.net.
Change-Id: Ib257e2ca70ec95ae302bbcbc2e80e6e340ddc47e
2017-10-04 22:51:52 +02:00
Umherirrender f73e6a24c4 Improve some parameter docs
Change-Id: Ia21866f266bbd6fad4876485798370764ae13500
2017-09-25 18:07:03 +00:00
Brad Jorsch ff9d5bc171 Remove long-obsolete ScribuntoEngineBase::getLimitsReport()
In 925045a66 the method was renamed from getLimitsReport() to
getLimitReport(), but this instance was overlooked. Since every existing
subclass implements getLimitReport(), that wasn't noticed.

Therefore, when Idffd2d78 deprecated getLimitReport() it too missed this
instance (and, in fact, added its own copy of a base-class
getLimitReport() so it could mark that deprecated instead), and
I0e8e1d56 similarly missed removing it.

So let's kill it now, like it should have been long ago.

Change-Id: I9aa71b4a90b9e7cdda08ce171b3bb004c8ccd8c2
2017-09-25 11:51:37 -04:00
Translation updater bot 862174ece2 Localisation updates from https://translatewiki.net.
Change-Id: I7bc57bafa06e32d6e300cf59deb5a47a7df303fa
2017-09-24 22:57:35 +02:00
libraryupgrader 0e887dbe4a build: Updating mediawiki/mediawiki-codesniffer to 13.0.0
The following sniffs now pass and were enabled:
* MediaWiki.ControlStructures.AssignmentInControlStructures.AssignmentInControlStructures

Change-Id: I46b57e97547d05722f3c72722e7a6587db96831a
2017-09-24 05:32:54 +00:00
Brad Jorsch 3b4dc92716 Remove deprecated stuff from composer.json
I'm told[1] these keys are for making the exitension installable via
composer, which is something we don't want and is deprecated.

The keys kept are for installing dependencies of the extension via
composer, which we do want.

[1]: See http://bots.wmflabs.org/~wm-bot/logs/%23wikimedia-dev/20160823.txt at timestamp 17:46:17.

Change-Id: I87c2ea5960444218646de166ca8dd0e2d730712f
2017-09-23 17:18:11 +00:00
Translation updater bot 877ddb8e05 Localisation updates from https://translatewiki.net.
Change-Id: I743552c5aa40cf227f045feb4319854bfc557aa8
2017-09-22 23:21:48 +02:00
Translation updater bot dde1d03384 Localisation updates from https://translatewiki.net.
Change-Id: Idf16a29cadc378af19935dab3059ce30411fc8e7
2017-09-21 22:52:15 +02:00
jenkins-bot dd971b8fae Merge "Replace uses of each()" 2017-09-20 14:28:13 +00:00
Translation updater bot 93d6128df7 Localisation updates from https://translatewiki.net.
Change-Id: I74437315eb57bb80be2e548fe978b37f2e9eb972
2017-09-19 23:09:08 +02:00
Brad Jorsch 9fefb11d56 Replace uses of each()
It's deprecated in PHP 7.2, may as well replace it now.

Bug: T174354
Change-Id: I2c37229d69a9646edaa61e25e28b13e8190a8359
2017-09-19 16:46:51 -04:00
Translation updater bot 49bd05cd2a Localisation updates from https://translatewiki.net.
Change-Id: Ie08388bc0ce4c3b1a396c513d81cb92ebb18ad75
2017-09-17 22:39:40 +02:00
Kunal Mehta 72f0a19560 Add minus-x to "composer test"
See <https://www.mediawiki.org/wiki/MinusX>.

Change-Id: I316b9ac9246fe61301d302b73a402bd7dfcf1dda
2017-09-12 23:47:16 -07:00
Translation updater bot 236dac2fd5 Localisation updates from https://translatewiki.net.
Change-Id: Icafc251a1570736f1fbda73855306e077443522c
2017-09-12 22:49:32 +02:00
Kunal Mehta 6831174a91 Don't use Title::setFragment()
It's deprecated for public usage.

Change-Id: I063d9683910cf55e84f05ce29c9ebf5ac2ea2bee
2017-09-10 15:22:25 -07:00
Translation updater bot 8384abb59b Localisation updates from https://translatewiki.net.
Change-Id: Ib3d064bd763677727b3ea0349bfb0727465372ca
2017-09-07 23:35:58 +02:00
Brad Jorsch 7418a571ac Fix tests
Iaa880531 added extra frames in the call stack, so the frame being
tested by the "setfenv invalid level" and "getfenv invalid level" tests
was no longer invalid.

Bug: T175065
Change-Id: Id1028e7c8bbb92fb9d7d01ebeabd94e8ba284b1c
2017-09-05 15:44:55 -04:00
Translation updater bot 1f2e79b8e9 Localisation updates from https://translatewiki.net.
Change-Id: I061735994a4cfa05330ec801c0c3133a0492e400
2017-09-03 22:33:51 +02:00
libraryupgrader 4b15b35775 build: Updating mediawiki/mediawiki-codesniffer to 0.12.0
The following sniffs are failing and were disabled:
* MediaWiki.Files.ClassMatchesFilename.NotMatch
* MediaWiki.Files.OneClassPerFile.MultipleFound

Change-Id: I1d70fb8c7ef406b40303bf21fdc9bc130e0585a6
2017-09-01 04:56:49 +00:00
Translation updater bot ea0f3491ba Localisation updates from https://translatewiki.net.
Change-Id: I65500f7ef47359efe45b50d49222ebea5c698273
2017-08-29 09:09:35 +02:00
Brad Jorsch ca85f20099 Make mw.uri.encode 'WIKI' mode match core {{urlencode:}}
The core {{urlencode:}} parser function doesn't encode various
characters in WIKI mode that it does in other modes. mw.uri.encode
should match that.

Bug: T174239
Change-Id: I2be0811cf39c02c5c0ad3433e4b0ef9030350e24
2017-08-28 10:34:16 -04:00
Translation updater bot ca81c50000 Localisation updates from https://translatewiki.net.
Change-Id: I073d9fea6f53b39d940372e21dbe5dc50f2b8bab
2017-08-28 13:32:12 +02:00
Translation updater bot 6a5b8bf6bb Localisation updates from https://translatewiki.net.
Change-Id: I456a5c8eb7523203b7caf31c7ce0e8e83271686c
2017-08-25 09:53:20 +02:00
Translation updater bot 209c36f51d Localisation updates from https://translatewiki.net.
Change-Id: Ie99ff356bdc3395b213fca4522ace3d6c4529f34
2017-08-24 09:37:27 +02:00
jenkins-bot 95f8640853 Merge "Remove some PHP 5.3 compat code" 2017-08-23 16:28:58 +00:00
Kunal Mehta f49ad9081c Remove some PHP 5.3 compat code
Change-Id: I433ab9754606e2cbbaef534a1a5b70bad9b9387c
2017-08-22 22:39:15 -07:00
Translation updater bot fe67e6c78f Localisation updates from https://translatewiki.net.
Change-Id: I6e95f12181080d43b346e9dac4459eec9114ca31
2017-08-22 09:13:11 +02:00
Kunal Mehta b8ff734aa4 Use namespaced ScopedCallback
The non-namespaced version is deprecated since 1.28

Change-Id: Icb3fed78882913a26aad4bdb1a84cb5a3e8ca6bb
2017-08-21 14:06:34 -07:00
jenkins-bot ee3c867da8 Merge "Use json extension for .stylelintrc" 2017-08-19 21:43:18 +00:00
Umherirrender 84b9870e88 Use json extension for .stylelintrc
Bug: T173516
Change-Id: I4b5293769f5cce7ebd86218d9629a272695bbbbb
2017-08-19 10:27:54 +02:00
Translation updater bot c67dc4d364 Localisation updates from https://translatewiki.net.
Change-Id: Idfca2375b4d6833568bf18507e1fbf34cd48b4f2
2017-08-19 09:16:18 +02:00
Translation updater bot a07591e5d9 Localisation updates from https://translatewiki.net.
Change-Id: Ia4b484db65785f5c1385978577403cdbe5ecd2e9
2017-08-17 09:08:45 +02:00
jenkins-bot 2624f529b5 Merge "Remove retrieval of deprecated pageviews statistics" 2017-08-16 19:58:26 +00:00