Commit graph

348 commits

Author SHA1 Message Date
jenkins-bot d9d37c0cc6 Merge "Add recent pattern for ESLinting in repo" 2018-09-06 05:43:56 +00:00
libraryupgrader 9ebc73470a build: Updating mediawiki/mediawiki-codesniffer to 22.0.0
Change-Id: I9c8956d5b83f43ea93bfb3ad6664dca64892f76e
2018-09-03 20:02:49 +00:00
Alangi Derick 6f3840db35 Add recent pattern for ESLinting in repo
Use of all: '.' in Gruntfile.js for eslint config and
eslintIgnore in package.json to ignore linting the "vendor/"
directory.

Change-Id: Ic8489351b8de6b7e31a95a55420db1f772f8d535
2018-09-03 15:31:36 +01:00
libraryupgrader dda6fa48a1 build: Updating mediawiki/phan-taint-check-plugin to 1.4.0
Change-Id: I1f4f402ddc8bdc515c41703dc4c495d96bbf4b89
2018-09-01 14:49:31 +00:00
Translation updater bot 3c4ab649c7 Localisation updates from https://translatewiki.net.
Change-Id: I19c29fc4f41d2ce8ba1084c0be4dd4ebb17376e1
2018-08-29 22:28:29 +02:00
Umherirrender 832d0ff745 Remove use of deprecated UsageException
Deprecated since 1.29, extension required 1.29

Change-Id: I2f550f0b94571afc289af616645b822d63fea4d3
2018-08-21 22:23:49 +02:00
Translation updater bot 47923cb7f7 Localisation updates from https://translatewiki.net.
Change-Id: I483beb62113e3191c4ef42b8eecfc04afc912fe7
2018-08-19 22:39:08 +02:00
libraryupgrader 584ac209d6 build: Updating mediawiki/phan-taint-check-plugin to 1.3.0
And updating CoC link to use Special:MyLanguage (T202047).

Change-Id: Ia1a6d57e02dbb6cd7afeff984c7baccd2e211413
2018-08-19 17:07:56 +00:00
Umherirrender add3e27461 User constructor does not take an argument
User object without argument is the anon default

Change-Id: I2c47c4865386d59f14eb6390b3e12fb9c5198ccd
2018-08-06 23:12:26 +02:00
Kunal Mehta eab15dfe42 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.

Bug: T201219
Change-Id: I0c81983a41a9c8863bd16c7d358b51472b7e9e9a
2018-08-03 21:31:26 -07:00
libraryupgrader 9ff2069079 build: Updating mediawiki/mediawiki-codesniffer to 21.0.0
Change-Id: I85ea2a4649a28440c04786911b29e24437b790cd
2018-07-27 20:09:11 +00:00
Translation updater bot 9b7f77b8b5 Localisation updates from https://translatewiki.net.
Change-Id: I60e89bf3e733dd1f2c5363d66c52e62712161877
2018-07-17 22:14:06 +02:00
jenkins-bot 6c36417f4c Merge "Remove unused ParserOptions from ExtractFormatterTest" 2018-07-01 23:37:27 +00:00
Thiemo Kreuz 60cd40b975 Remove not needed count() and "return true" from hook handlers
This patch fixes two styls issues I could not separate:

* Hook handler functions do not need to return true. This is the default
anyway, and meaningless.

* Counting is possibly expensive and not needed when all we need to know
is if an array is empty or not.

Change-Id: I460776c981638806a606d9bf88fc8579d6da8c0e
2018-06-28 20:45:20 +02:00
Thiemo Kreuz 9f99628c1f Remove unused ParserOptions from ExtractFormatterTest
Change-Id: I685b468ad13da73b6273041f6ff068c2d8b730d0
2018-06-28 20:44:46 +02:00
Translation updater bot f607ff8d6c Localisation updates from https://translatewiki.net.
Change-Id: I1e6f035ccec4d52d3cd4fc7187b19679b2d75a67
2018-06-24 22:26:03 +02:00
libraryupgrader 138908a926 build: Updating mediawiki/mediawiki-codesniffer to 20.0.0
Change-Id: I1d30fed4bc490b4e598b3439ab10f8fa5790a953
2018-05-26 06:54:00 +00:00
Translation updater bot 4afe1f40f5 Localisation updates from https://translatewiki.net.
Change-Id: I52d0115344c7ead3a16c37b7e511d4126f8f64f6
2018-04-27 22:26:16 +02:00
Translation updater bot 7b00e9aa6e Localisation updates from https://translatewiki.net.
Change-Id: I9803a505e310e98596550212ecaa1e49f79b0dea
2018-04-15 22:23:37 +02:00
libraryupgrader fd2754ee40 build: Updating mediawiki/mediawiki-codesniffer to 18.0.0
Change-Id: Ida68791e01c26fd4058718718dbede561d02de05
2018-04-14 07:02:44 +00:00
Translation updater bot 51f9abef91 Localisation updates from https://translatewiki.net.
Change-Id: Ia59e0be6caa7fe59bc84c866679dfbdfa9990d86
2018-04-13 22:13:02 +02:00
Translation updater bot 00077b2f74 Localisation updates from https://translatewiki.net.
Change-Id: I7d2a9f6d7cd986b66d6fd49e766140bc959ee020
2018-04-11 22:40:30 +02:00
Umherirrender 618aef40a0 Remove @return from __construct
Change-Id: I2000dc076c869620533368431f6c55241fbc92e8
2018-04-05 12:18:59 +02:00
Translation updater bot aaa0805f92 Localisation updates from https://translatewiki.net.
Change-Id: Icb6dc68e027755eba16e65bb9622e19e55709b3d
2018-04-02 09:48:51 +02:00
Translation updater bot b06250c1f7 Localisation updates from https://translatewiki.net.
Change-Id: I9bb761a55d7118ed73472bc10509cf99d8e4fb7b
2018-03-30 09:34:57 +02:00
libraryupgrader 7715826915 build: Updating mediawiki/mediawiki-codesniffer to 17.0.0
Change-Id: I449bedf7eebf18c58b144f1913fa416c87228364
2018-03-29 06:15:22 +00:00
Translation updater bot 67261c3e4d Localisation updates from https://translatewiki.net.
Change-Id: I2603f53143fc1eb5571191c1353e048e83752058
2018-03-27 22:09:56 +02:00
Translation updater bot 541b3d1506 Localisation updates from https://translatewiki.net.
Change-Id: I411ba35ac5a13672b16a5fcc1c8b1871aa749f0a
2018-03-23 22:13:22 +01:00
Translation updater bot f99f0849f0 Localisation updates from https://translatewiki.net.
Change-Id: I63e3bbbfbe0565e7a5b38531105c02faf6f0218f
2018-03-21 22:32:16 +01:00
Translation updater bot 6cb42ee264 Localisation updates from https://translatewiki.net.
Change-Id: Id092172ca2a258866a106c3094a252c3f30c5e7c
2018-03-20 22:12:59 +01:00
jdlrobson d69b35f4bc Adjust expectations for API consumers when using the TextExtracts API
Bug: T170617
Change-Id: I53e08db40e5319019c842869f992bac32b1dac97
2018-03-20 09:42:10 -07:00
libraryupgrader dd728f81e2 build: Updating jakub-onderka/php-parallel-lint to 1.0.0
Change-Id: I9bfd9a9a98312490be5464fd3db028478b1f94ae
2018-03-10 06:06:14 +00:00
Kunal Mehta adfde34586 Use SPDX 3.0 license identifier
SPDX released version 3 of their license list (<https://spdx.org/licenses/>),
which changed the FSF licenses to explicitly end in -only or -or-later
instead of relying on an easy to miss + symbol.

Bug: T183858
Change-Id: I78f8a3b4e06363a6af4a79189d1ff68697b34dcd
2018-03-02 15:43:49 -08:00
libraryupgrader 80187f5415 build: Updating mediawiki/mediawiki-codesniffer to 16.0.1
Change-Id: I445ac42ed1d4f1f17a6494ee489284e33633f060
2018-02-25 11:38:27 +00:00
libraryupgrader a95038699e build: Updating mediawiki/minus-x to 0.3.1
Change-Id: Ic3c2c99a8f366df4110df2dd9304184be686ba3f
2018-02-18 09:58:06 +00:00
libraryupgrader 2ecb9f8f06 build: Updating mediawiki/mediawiki-codesniffer to 16.0.0
Change-Id: Ib1a9584cab61f71c3525b0a81d906f457dab3eb6
2018-02-15 14:32:47 +00:00
Gergő Tisza be8a5d6ea3
Bump cache version due to 'unwrap' ParserOutput option
Bug: T186927
Change-Id: I078f71d99f3179af5f4f85892472932eb5635fe1
2018-02-09 14:15:30 -08:00
jenkins-bot 1923c116c4 Merge "Fix and add @covers tags" 2018-01-23 23:22:26 +00:00
Kunal Mehta b463a99a79 Fix and add @covers tags
Change-Id: Ifa11ee418e016c103fb0ac6b32a790a2977aec8d
2018-01-23 14:54:12 -08:00
jenkins-bot 6e7f069974 Merge "Use 'unwrap' post-cache transform instead of setWrapOutputClass( false ), when available" 2018-01-20 03:20:19 +00:00
libraryupgrader 9266688c54 build: Updating mediawiki/mediawiki-codesniffer to 15.0.0
Change-Id: Ia11ca0c7e5d33291520b47885c33c29b0db96796
2017-12-30 02:53:10 +00:00
Brad Jorsch 63a1d82b4e Use 'unwrap' post-cache transform instead of setWrapOutputClass( false ), when available
To reduce parser cache fragmentation, core is deprecating
$parserOptions->setWrapOutputClass( false ) in favor of
$parserOutput->getText( [ 'unwrap' => true ] );

Change-Id: Ibc013a41f4a463f4014fbbce7ce27f8690161728
2017-12-22 13:43:44 -05:00
Translation updater bot 29e72ab3b1 Localisation updates from https://translatewiki.net.
Change-Id: I43979c58750774ed81990a5276e539ad5ff4875a
2017-12-15 22:38:04 +01:00
libraryupgrader 8370fde129 build: Updating mediawiki/minus-x to 0.2.1
Change-Id: I34f22b1874631aa37ec1d4441b5a1510723baad6
2017-12-11 09:10:21 +00:00
Translation updater bot 77ee108696 Localisation updates from https://translatewiki.net.
Change-Id: I361a918a11e23ebc4b79203e86416cf9eb1603d1
2017-12-05 09:41:52 +01:00
jenkins-bot 03de2f62b4 Merge "Don't repeat the default in test setup" 2017-12-01 04:36:15 +00:00
Pppery f6fd9273c5 Re-enable MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic sniff
Bug: T170580
Change-Id: I0a0055f1de57f15a45c21e2f51ed275a2b249440
2017-11-30 15:31:55 -05:00
jenkins-bot 95dc34e4c7 Merge "Re-enable MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment sniff" 2017-11-30 19:11:09 +00:00
Pppery d05f289032 Re-enable MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment sniff
Bug: T170580
Change-Id: Ib5bcab3414f44013cf57c0d006b212dea175473a
2017-11-29 23:07:30 -05:00
Pppery 009765a04c Re-enable MediaWiki.Commenting.FunctionComment.MissingParamComment sniff
Also renames $action to $name in APIQueryExtracts.php, because trying to
document the parameter revealed that "action" doesn't match the use of
the parameter.

Bug: T170580
Change-Id: I1b7f3f0e17b118ea9bcfd28c69321aa692aad4e3
2017-11-29 21:56:29 -05:00