Commit graph

1262 commits

Author SHA1 Message Date
libraryupgrader 4e11554699 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 24.0.0 → 26.0.0

npm:
* lodash: 4.17.11 → 4.17.15
  * https://npmjs.com/advisories/1065
  * CVE-2019-10744

Additional changes:
* Enable eslint caching.
* Enable eslint's reportUnusedDisableDirectives.

Change-Id: I9fd2dfd545bc927c3e2049c34ad0a8b218a9011a
2019-08-03 04:41:58 +00:00
Translation updater bot cba308f454 Localisation updates from https://translatewiki.net.
Change-Id: I3366bdae3431ec6592db89069118b3e99d5d18a7
2019-07-23 08:55:22 +02:00
James D. Forrester 048be08fa5 build: Upgrade phan-taint-check-plugin from 1.5.x to 2.0.1
The method ReplaceTextUtils::link (which is already complicated because
it tries to support ancient MediaWiki) can perform different levels of
escaping depending on whether the HtmlArmor class exists. This is confusing
for taint-check and for humans, and can inevitably lead to errors. Plus
it's bad practice to have a method returning something with a variable
level of taintedness, especially if that depends on something ephemeral
like if a class exists or not.

Thus, the HtmlArmor part is removed, the text is escaped for Linker::link,
and the method now requires non-escaped HTML to be passed in.

Change-Id: I6e2783827580e3d470d316f1d3879679eb67aeda
2019-07-11 14:36:30 +00:00
Translation updater bot dddb12e32a Localisation updates from https://translatewiki.net.
Change-Id: I0c3e01f3c580fca250410c4ede25db3502cbf2eb
2019-07-07 22:41:23 +02:00
Translation updater bot 14607c0b37 Localisation updates from https://translatewiki.net.
Change-Id: I500c6a80f25c0ab3b363656a8ba56fbe7bb43ae3
2019-07-03 22:45:56 +02:00
Translation updater bot 4464d57e8d Localisation updates from https://translatewiki.net.
Change-Id: I207e4b1513eae9ba076b35354f059a5117b174cf
2019-06-13 22:40:32 +02:00
Translation updater bot 8dd0719fc2 Localisation updates from https://translatewiki.net.
Change-Id: I003cfc9cdf83e3d7ecb82222a27482a97ac9f05a
2019-06-10 22:55:42 +02:00
libraryupgrader edeb9df910 build: Updating mediawiki/mediawiki-phan-config to 0.6.1
Change-Id: I4b08bef5257f973f5cfa90c5e5bc8080976a19e6
2019-06-10 10:33:36 +00:00
libraryupgrader cd30ac5482 build: Updating npm dependencies for security issues
* Updated grunt to 1.0.4, addressing:
  * https://npmjs.com/advisories/788
  * https://npmjs.com/advisories/813

Committed package-lock.json (T179229) too.

Change-Id: I9615c95b449a6ca661ee33c1d15b5c6f60df5cf9
2019-06-08 19:58:34 +00:00
Translation updater bot bb2ced5185 Localisation updates from https://translatewiki.net.
Change-Id: I046ed553af76869ba542c5d21b6b0c5704cebcbf
2019-05-30 22:54:07 +02:00
James D. Forrester 0b484df6aa build: Upgrade mediawiki/mediawiki-phan-config from 0.5.0 to 0.6.0
Change-Id: Ifbad8b383357ac649154403fb2c3f103159f792a
2019-05-19 18:08:19 -07:00
Umherirrender b459e5621a Replace usage of deprecated SearchEngine::searchableNamespace()
Deprecated since MediaWiki 1.27 and removed by 0a4c2670a1.
Keep the old way for pre 1.27, because mw.org says 1.23

Change-Id: I0d191734f08752d02def657eef004ce5d16ea83d
2019-05-19 14:19:39 +00:00
Translation updater bot 6088c0c32a Localisation updates from https://translatewiki.net.
Change-Id: I142b40b8d60ef3a58b6333c8f5db14b129a52c1d
2019-05-15 09:14:21 +02:00
Translation updater bot d293d54412 Localisation updates from https://translatewiki.net.
Change-Id: I7596627d2bc4c91bc0952492d4a37843f16d4f7a
2019-04-14 22:30:31 +02:00
Translation updater bot b96bedeffc Localisation updates from https://translatewiki.net.
Change-Id: I0ecd78c39b77942dfbbe41cf712b4bb0ca78a6a3
2019-04-10 09:23:29 +02:00
didicodes 6752b1f99d Changed mediawiki.org from http to https
Bug: T189687
Change-Id: I29e637787816eb927cefd781ea8efec2040ead61
2019-04-08 18:48:28 +01:00
Translation updater bot 0c80e43c14 Localisation updates from https://translatewiki.net.
Change-Id: I68d53eaf456e1cf2ad57bbed15b7dcd98676a6a5
2019-03-31 22:17:10 +02:00
libraryupgrader 73843895f6 build: Updating mediawiki/mediawiki-phan-config to 0.5.0
Change-Id: I6132f22888b2e63087d9b47fbde2bf5872b87b5b
2019-03-10 22:24:02 -07:00
laasyasree bf89ab371d Upgrade ReplaceText extension to use newer phan
Bug: T216938
Change-Id: I30e9bd108e1196efd822525423ec94d9a1f6a318
2019-03-10 14:19:59 -07:00
libraryupgrader bf538064a8 build: Updating mediawiki/mediawiki-codesniffer to 24.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Usage.DeprecatedGlobalVariables.Deprecated$wgContLang

Change-Id: I56fb225b2f158ed69fed80fe9a1a2066f407064f
2019-02-07 03:44:53 +00:00
Translation updater bot 79655e5aa3 Localisation updates from https://translatewiki.net.
Change-Id: I002b33d491d0ee3011e6e21b06657fdc95fc98fd
2019-01-31 22:26:20 +01:00
Translation updater bot ffc1be4c45 Localisation updates from https://translatewiki.net.
Change-Id: Ifa56d3b6ed6dde5fb4455ce0dcf7f2d72a1425ee
2019-01-08 22:30:02 +01:00
jenkins-bot 5cf9f846d9 Merge "Avoid using core module 'mediawiki.special.search'" 2018-12-28 22:53:56 +00:00
Translation updater bot 59bcdabe96 Localisation updates from https://translatewiki.net.
Change-Id: I114d0989026a4e7ad433a24afa288aa1e9fd6c74
2018-12-27 09:52:11 +01:00
Fomafix a316c0f08f Avoid using core module 'mediawiki.special.search'
The core module 'mediawiki.special.search' contains more functions
which are not needed here and which causes an error message in the
JavaScript console. (T211384)

This change copies the used part of module 'mediawiki.special.search'
to the local module 'ext.ReplaceText'.

The CSS file for the style module 'ext.ReplaceTextStyles' is renamed
from ext.ReplaceText.css to ext.ReplaceTextStyles.css to make
ext.ReplaceText.css free for the CSS part of module 'ext.ReplaceText'.

Bug: T211384
Change-Id: I41225ccdf8a95a7c501fb6eea99abbd08353f4ea
2018-12-22 20:32:33 +01:00
Kunal Mehta 833ce2d6a2 build: Set "root": true, in .eslintrc.json
This ensures that each repository's "npm test" command is fully
independent of wherever it might be in the filesystem.

Bug: T206485
Change-Id: I3e96122ab056c43e9e064cb0f14a190921c47f74
2018-12-17 18:57:57 -08:00
Fomafix 7ec8d23740 Remove obsolete aliases from closures
Bug: T208951
Change-Id: Ie7580aef0af9f6cffed4826b0ae46d4b99446ae1
2018-12-06 18:42:31 +01:00
Fomafix 75ddb5fea0 Use private function instead of attaching the function to window
Change-Id: Ie6f8d0cdf0cf8842ff756839951b4b4bdbade942
2018-12-06 18:31:50 +01:00
Translation updater bot a60333e279 Localisation updates from https://translatewiki.net.
Change-Id: I74528dd11ad60698501bc7b0305c31bba0659e74
2018-11-29 22:27:35 +01:00
Translation updater bot b49e904b05 Localisation updates from https://translatewiki.net.
Change-Id: Ic4f5c78c2aedd29d7dc5f6741da517bc76b2f19e
2018-11-21 22:29:24 +01:00
libraryupgrader 3f662a5f81 build: Updating mediawiki/mediawiki-codesniffer to 23.0.0
Change-Id: If65a71ec9fa7daf98818d0d26d60aa726d78d9f5
2018-11-16 08:31:06 +00:00
Translation updater bot 0ae082de9a Localisation updates from https://translatewiki.net.
Change-Id: Ic0bd3026b63a68fe170b826515c9bf3a25dea2c7
2018-11-03 11:03:23 +01:00
Translation updater bot 6df3761798 Localisation updates from https://translatewiki.net.
Change-Id: I6670128ef094d8ce18371947c81a8d09882e3050
2018-11-01 22:23:25 +01:00
libraryupgrader a5dc24dc47 build: Updating npm dependencies for security issues
* Updated grunt to 1.0.3, addressing:
  * https://npmjs.com/advisories/577
  * CVE-2018-3721

Change-Id: I1662a2f337afc6062840e833b2c86eeac35555f0
2018-10-11 10:39:03 +00:00
jenkins-bot 22f54208c1 Merge "Support renaming pages from CLI" 2018-09-12 12:30:41 +00:00
Translation updater bot 6a08c59393 Localisation updates from https://translatewiki.net.
Change-Id: Idcd0b473dcd49c6b37f7c3610095f09506c184f7
2018-09-09 10:36:39 +02:00
libraryupgrader 0c69da23c1 build: Updating mediawiki/phan-taint-check-plugin to 1.5.0
Change-Id: I7c86b02dde7543af0c6f04644de5c5442209fce1
2018-09-08 05:22:29 +00:00
Niklas Laxström 19da42d081 Support renaming pages from CLI
Change-Id: I3e14d127cdf63ad4bbff9fcc0a165cc1a0552831
2018-09-07 14:29:58 +02:00
libraryupgrader 6adf0a0712 build: Updating mediawiki/mediawiki-codesniffer to 22.0.0
The following sniffs are failing and were disabled:
* Squiz.PHP.NonExecutableCode.Unreachable

Change-Id: Ifa593af5d3fb2aa38dea9f73e903a2fb27d1d6e6
2018-09-03 14:30:30 +00:00
libraryupgrader 0741f2a1f5 build: Updating mediawiki/phan-taint-check-plugin to 1.4.0
Change-Id: Idd5962254aef58bd4e13836e0fae29ee22a9a7fb
2018-09-01 13:56:30 +00:00
Translation updater bot d0e0922cd4 Localisation updates from https://translatewiki.net.
Change-Id: I4fee238efb2f34a078c35b3bb08c7a1d4ac84298
2018-08-29 22:28:24 +02:00
Kunal Mehta db5e21e1b9 Configure phan-taint-check-plugin
The plugin checks and flags potential security issues (XSS, SQLi, etc.)
using static analysis.

See <https://www.mediawiki.org/wiki/Phan-taint-check-plugin> for more
details.

Change-Id: Ibb8736ac41c05b4eed5655ee89627a8894df4dba
2018-08-20 21:46:31 -07:00
Translation updater bot 2f349d8bbf Localisation updates from https://translatewiki.net.
Change-Id: I5dbc34d6f49988d7cfe717909517b13fee159484
2018-08-08 22:14:13 +02:00
Translation updater bot 602a97692c Localisation updates from https://translatewiki.net.
Change-Id: I851a5d1de482b6dce7c701ab40cd1240f589a177
2018-08-07 22:32:03 +02:00
libraryupgrader aa0b1941ed build: Updating mediawiki/mediawiki-codesniffer to 21.0.0
Change-Id: Ib851d00e1c1a418f27f162d661c0a94a7790c86d
2018-07-27 16:30:33 +00:00
jenkins-bot d95a4d5ee0 Merge "Replace uses of deprecated Language::truncate()" 2018-07-02 23:03:35 +00:00
C. Scott Ananian bc50ac5b33 Replace uses of deprecated Language::truncate()
See I2291c69d9df17c1a9e4ab1b7d4cbc73bc51d3ebb for the anticipated
hard-deprecation of this method in core.

Bug: T197492
Change-Id: I071882f8a97cc439d49611d8613ea4105b95afb6
2018-07-02 15:18:44 -04:00
Translation updater bot 41f44019e2 Localisation updates from https://translatewiki.net.
Change-Id: I9118917bcd327e309335d7bd31115bb6b28cf845
2018-06-27 22:20:09 +02:00
libraryupgrader 65abeaba88 build: Updating mediawiki/mediawiki-phan-config to 0.3.0
Change-Id: I9b35b2e447f3dfd5b9cf7f53e6524c4033d781f9
2018-06-08 07:41:53 +00:00
Translation updater bot 90261141d4 Localisation updates from https://translatewiki.net.
Change-Id: I1df2310834feb13cff0c6dd17904c83a0e6b8776
2018-06-06 23:06:20 +02:00