Commit graph

1837 commits

Author SHA1 Message Date
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
Translation updater bot dc15e1e854 Localisation updates from https://translatewiki.net.
Change-Id: I7fcdcbdc3002ab37d5461802161451060805f4a7
2017-08-15 08:53:49 +02:00
Max Semenik e16533faf0 Remove retrieval of deprecated pageviews statistics
Both $wgDisableCounters and SiteStats::views() do nothing
these days.

Change-Id: Ia2375fb3db31d1faade5f271e4725de64b10b55b
2017-08-14 15:38:54 -07:00
Translation updater bot 2cab2b2f60 Localisation updates from https://translatewiki.net.
Change-Id: I7e54ee5f2f82386ed56779e3b83145d6cd977c05
2017-08-14 09:31:46 +02:00
Kunal Mehta 3b20423ff7 build: Updating mediawiki/mediawiki-codesniffer to 0.11.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.MissingDocumentationProtected
* MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic
* MediaWiki.Commenting.FunctionComment.MissingParamComment
* MediaWiki.Commenting.FunctionComment.MissingParamName
* MediaWiki.Commenting.FunctionComment.MissingParamTag
* MediaWiki.Commenting.FunctionComment.MissingReturn
* MediaWiki.Commenting.FunctionComment.ParamNameNoMatch
* MediaWiki.Commenting.FunctionComment.WrongStyle

The following sniffs now pass and were enabled:
* MediaWiki.Commenting.FunctionComment
* MediaWiki.Usage.ReferenceThis.Found

Change-Id: I1074884ab6810dd082b1baebb25d02b997424818
2017-08-11 00:28:16 -04:00
Translation updater bot e81a24f9d5 Localisation updates from https://translatewiki.net.
Change-Id: Ibcc194f2b93d13a00e2ffa9a1dd275158dbfe128
2017-08-10 23:11:15 +02:00
Marius Hoch b65f63bbf5 Mention mw.logObject in the debug console intro
Apparently many users are not aware of this.

It has been introduced in d9ba200571 way back in 2013.

Change-Id: I1ff005e8889a545b6f11e3a6e3bf418b7826f926
2017-08-09 15:36:29 -04:00
Translation updater bot fcaf3623fd Localisation updates from https://translatewiki.net.
Change-Id: I044faae02c1e369343049173070eba7028a5c29d
2017-07-31 22:57:51 +02:00
Antoine Musso dfedab78bb Define npm peer dependency explicitly
npm 3 requires dependencies to be explicitly defined.

Bug: T172094
Change-Id: Ic640ccf0f577e47036d473892522ea758014fab4
2017-07-31 13:35:25 +02:00
Translation updater bot 457af9b7e1 Localisation updates from https://translatewiki.net.
Change-Id: Ic2222a7c46f3f39bd15b8e23ca06e1bdcdd28ee2
2017-07-26 22:49:20 +02:00
WMDE-Fisch e1763ff69a Updating mediawiki-codesniffer to 0.10.1 and fix issues
Change-Id: Iac61e49ab0f1318fcb7b23b4c90b6a427fe8957f
2017-07-25 17:16:47 +00:00
Translation updater bot f94819f8fa Localisation updates from https://translatewiki.net.
Change-Id: I2f6bbca8712fc3395e03fbbe2597d15617e2dcf8
2017-07-20 22:58:53 +02:00
Translation updater bot 381e282129 Localisation updates from https://translatewiki.net.
Change-Id: I7fcf7f4c8706dfd9caf095476f1ad931ad1fa133
2017-07-19 22:51:20 +02:00
Translation updater bot 41c0250fe4 Localisation updates from https://translatewiki.net.
Change-Id: I2cf7d3a19f5cd23636b1e80c8c815309c95828a0
2017-07-17 23:02:51 +02:00
Translation updater bot 8c17884ecd Localisation updates from https://translatewiki.net.
Change-Id: I3e40ca27a62efffb1e9178e79d6c3a4442912285
2017-07-14 22:49:08 +02:00
Translation updater bot 71bfefad0f Localisation updates from https://translatewiki.net.
Change-Id: Ie86893d34d408b9bc67eb31512c869861bc77620
2017-07-12 23:14:09 +02:00