Commit graph

1330 commits

Author SHA1 Message Date
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
Umherirrender 18b22b3a3d build: Updating mediawiki/mediawiki-codesniffer to 0.10.0
Change-Id: I92b9fb936cb8fa8411850b97804e2aacf3984322
2017-07-08 15:42:23 +02:00
Kunal Mehta 31820c673a Move tests into tests/phpunit and remove UnitTestsList hook
This takes advantage of extension.json's unit tests autodiscovery
mechanism.

Bug: T142120
Change-Id: Id526f3368fc73ba7e6ef1d793ea70ab05fbd9517
2017-07-07 13:50:39 -07:00
Translation updater bot 4592a00474 Localisation updates from https://translatewiki.net.
Change-Id: I9759c007ee0388a2274814bd834e4e0b90f67adc
2017-07-06 22:58:03 +02:00
jenkins-bot 67f4d71144 Merge "Set "TemplateSandboxEditNamespaces" in extension.json" 2017-07-06 02:55:55 +00:00
Translation updater bot 4981271d97 Localisation updates from https://translatewiki.net.
Change-Id: I38e6ad59bdba107a23103d67d7004a41f1e08507
2017-07-05 22:40:26 +02:00
Kunal Mehta ab9ae6efe0 Set "TemplateSandboxEditNamespaces" in extension.json
If TemplateSandbox is installed, then enable it in the Module namespace
by default.

Change-Id: I96d9601ff80c2d3eb052c0150fe4392bef5a93a9
Depends-On: Ia5d34cb78fa6af337b373731ab1afc0539db4f52
2017-07-03 15:40:17 -07:00
jenkins-bot ae0c953f77 Merge "Automatically detect if luasandbox is installed" 2017-06-29 18:44:22 +00:00