Commit graph

2021 commits

Author SHA1 Message Date
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
jenkins-bot 6bcb88e008 Merge "Convert to use extension.json" 2017-06-29 18:27:28 +00:00
Kunal Mehta 11cf41c74c Automatically detect if luasandbox is installed
This makes it easier for people to use luasandbox and brings it in line
with how we currently take advantage of other PHP extensions if they're
available (e.g. wikidiff2). People can still explicitly use
luastandalone if they want to.

Bug: T128144
Change-Id: I585019be4dfeb0e2614d91dc3fb7eac0a3bd4bab
2017-06-29 18:24:11 +00:00
Translation updater bot bf1ef7b412 Localisation updates from https://translatewiki.net.
Change-Id: I3a10ec1016572ff31f969ba98ea8757f0eca873c
2017-06-28 23:07:15 +02:00
Kunal Mehta 246df8d427 Convert to use extension.json
The CanonicalNamespaces hook is no longer necessary as extension.json
handles it automatically, and was removed.

This sets the minimum requirement to MediaWiki 1.30.

Bug: T87969
Change-Id: Id00a2a00bddf72f5c8716f21226695456b3a32c6
2017-06-27 10:48:02 -07:00
jenkins-bot 121091ccbf Merge "Remove support for deprecated ParserLimitReport hook" 2017-06-26 14:54:45 +00:00
Translation updater bot 0abe4217e5 Localisation updates from https://translatewiki.net.
Change-Id: I0bdea2c6e0965e916426022d26f10bae2f3229de
2017-06-25 23:14:07 +02:00
Kunal Mehta e17a3118a5 Remove support for deprecated ParserLimitReport hook
It was deprecated in 1.22, which Scribunto no longer supports.

Change-Id: I0e8e1d56062f0cba1749d2a3e64df400d6a46f27
2017-06-23 17:42:15 -07:00
Translation updater bot 1ace41131f Localisation updates from https://translatewiki.net.
Change-Id: I2a39fe6d5a6a5046c7b72f0a58e6780566466a63
2017-06-20 22:59:37 +02:00
Translation updater bot 8c193b1808 Localisation updates from https://translatewiki.net.
Change-Id: I06222460f8d144eddb53ba4232761200b5591a92
2017-06-17 22:42:07 +02:00