Commit graph

2021 commits

Author SHA1 Message Date
jenkins-bot 252d117fdd Merge "Improve some parameter docs" 2018-01-16 16:21:51 +00:00
Translation updater bot ec96dc78e9 Localisation updates from https://translatewiki.net.
Change-Id: I0e34c009054ac363b81a633cd80198647298fdb2
2018-01-15 22:25:31 +01:00
Translation updater bot dbca18ad95 Localisation updates from https://translatewiki.net.
Change-Id: Ie54c2c53b153528ffeb613c3a3611c10b039ae73
2018-01-14 22:17:15 +01:00
Translation updater bot 4a3e803268 Localisation updates from https://translatewiki.net.
Change-Id: I209c4b1db263a3243062a12a70ae457c5df87bbb
2018-01-13 22:15:29 +01:00
Kunal Mehta 82584edd0e Don't use deprecated wfMemcKey() or wfGlobalCacheKey()
Change-Id: I7fe5a45226a92ef19c25790a800a7ae7b7a3a57a
2018-01-13 01:07:50 +05:30
Kunal Mehta f5a195a3db Remove no longer needed backwards-compatibility
This extension requires 1.31 (it follows the release branches compatibility
policy), so we can remove a lot of legacy checks and code.

Change-Id: Ieb42073010caffb1f6811d3a2f629aa60c1d2034
2018-01-12 07:07:21 +05:30
Umherirrender cfbd0a1a1b Improve some parameter docs
Change-Id: Ic85f74fc8dcefe86a3620e2d12f0b2ad2386ee23
2018-01-11 21:27:53 +01:00
Kunal Mehta 76dbe5d804 Treat phpdbg as being run from the command-line
The two lualib/ustring generation scripts run independently of MediaWiki, so
the new wfIsCLI() isn't usable there.

Bug: T184043
Change-Id: I217657d12e16a7b76dc814be5fed03540c461e7c
2018-01-10 19:47:19 +05:30
Translation updater bot a4106b391a Localisation updates from https://translatewiki.net.
Change-Id: Ia870740d66821bf3550d6a25492ed41a0be0cc84
2018-01-09 22:29:51 +01:00
Translation updater bot 42715e8481 Localisation updates from https://translatewiki.net.
Change-Id: I7f3d98c1c515204da53565b37278b9a7642f39ad
2018-01-08 22:36:16 +01:00
MarcoAurelio e28870dc62 Amend Abkhazian namespace translation
Bug: T182654
Change-Id: I975cf3010e691d8ee5bc27c8218a71e4c4669501
2018-01-01 11:01:26 +00:00
libraryupgrader a3334f72d8 build: Updating mediawiki/mediawiki-codesniffer to 15.0.0
The following sniffs are failing and were disabled:
* Generic.Files.OneObjectStructurePerFile.MultipleFound
* Squiz.Scope.MethodScope.Missing

The following sniffs now pass and were enabled:
* MediaWiki.Files.OneClassPerFile.MultipleFound

Change-Id: I7499d975eb378abd500619f0026a32b59fe6dda6
2017-12-30 02:28:08 +00:00
Rafid Aslam 07218fd02f Fix the return type of Scribunto_LuaLibraryBase::register()
Before this, tools like Phan and others read
`Scribunto_LuaLibraryBase::register()` returns `\Lua` type
from the document comment,
but it actually returns `array` type since the implementation
of this function should returns the value of
`Scribunto_LuaEngine::registerInterface()` which returns
`array` type.

Change-Id: I25beea963444b715bed7b2890475c0c812949520
2017-12-25 15:08:16 +07:00
Translation updater bot 92d35aaf35 Localisation updates from https://translatewiki.net.
Change-Id: I2b5b70397c830811f24c6e5bbcf23f41d8d2faeb
2017-12-18 23:07:06 +01:00
MarcoAurelio 19dd2170e7 Add Abkhazian namespace translation
Author: <https://www.mediawiki.org/wiki/User:Surprizi>

Bug: T182654
Change-Id: If953006f9d98b1e2bdc727f51c2770ffce67b838
2017-12-13 10:02:40 +00:00
Translation updater bot 96bfe05443 Localisation updates from https://translatewiki.net.
Change-Id: Ie349e9888f0118ca5affc823b46088632d313fff
2017-12-12 22:52:56 +01:00
Translation updater bot 80f3306d33 Localisation updates from https://translatewiki.net.
Change-Id: I0c8b5cd2bc2128fcbe42968d4a2c5aafd9b29a12
2017-12-11 23:39:06 +01:00
libraryupgrader cc01666f67 build: Updating mediawiki/minus-x to 0.2.1
Change-Id: If3752fda98df9b6f80c1c54da967478042d8b449
2017-12-11 07:12:41 +00:00
Translation updater bot 55de7a285d Localisation updates from https://translatewiki.net.
Change-Id: I3accde79eadbd534915d82b7fa08f4828b611ec2
2017-12-05 09:41:39 +01:00
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