Commit graph

214 commits

Author SHA1 Message Date
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
Pppery 624da67ec6 Re-enable MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName sniff
Change-Id: I420fd3640772f4127ca15603af00fd30aecc28c0
2017-11-29 20:27:15 -05:00
Brad Jorsch 6523ae42dd Don't repeat the default in test setup
For a new ParserOptions object, ->setEditSection( true ) is already the
default. Since it's being deprecated in MediaWiki core change
Ied5fe1a61, just remove the call.

Change-Id: Id517a8746d4cc4b0b26a98a74244e4d8c711358c
2017-11-22 17:44:44 -05:00
Umherirrender e60c111566 build: Always exclude vendor and node_modules
Change-Id: I4360de1ed97a3bbb89a611fc566ba2e89c1def37
2017-11-12 00:40:18 +01:00
Kunal Mehta aa567e8b3c build: Adding MinusX
Change-Id: I880a076d056207bb88ee0f7f7649de5c083efac5
2017-11-03 19:52:12 -07:00
libraryupgrader 509178400c build: Updating mediawiki/mediawiki-codesniffer to 14.1.0
And moved phpcs.xml to .phpcs.xml (T177256).

Change-Id: I32a95a07c133b03dbb68c36e2e3e38791c7982dd
2017-10-21 04:31:09 +00:00
Ed Sanders 2969f18872 build: Upgrade linters
Change-Id: Ie377edfccd078e08a1cdb5c9e021a4b96a41599b
2017-10-09 15:29:26 +01:00
Umherirrender 01376c8e05 Improve some parameter docs
Change-Id: Ie4326ecb517e5c7381b946b45bc108f8889fd4b2
2017-10-07 11:24:02 +02:00
Translation updater bot 6c69ffaf75 Localisation updates from https://translatewiki.net.
Change-Id: I1ada78bc2b6cae019cdad4b6d2ca8590b99d9e05
2017-09-28 22:47:10 +02:00
libraryupgrader 1ef0038ef2 build: Updating mediawiki/mediawiki-codesniffer to 13.0.0
Change-Id: I1123d578f3b0981a921f089ccb2497744fa9c63b
2017-09-24 05:33:59 +00:00
Translation updater bot b8add1e7fc Localisation updates from https://translatewiki.net.
Change-Id: Ic3912a191c5462f85fd16a9b28e7a56cfe7f10e2
2017-09-13 22:54:33 +02:00
libraryupgrader 7e548ce1b4 build: Updating mediawiki/mediawiki-codesniffer to 0.12.0
Change-Id: I3e1260e19de4a12c995b51a1a4416dbdf87829cf
2017-09-01 04:58:00 +00:00
Kunal Mehta a96edb23ee build: Updating mediawiki/mediawiki-codesniffer to 0.11.0
Change-Id: I95c65980e1d715fcc8902671e31659c93eeaed8d
2017-08-11 00:35:21 -04:00
jenkins-bot 237ac977f7 Merge "Hygiene: Remove deprecation and unused import" 2017-08-03 21:36:11 +00:00
Piotr Miazga 91bbe7b10a Hygiene: Remove deprecation and unused import
Changes:
 - ApiBase::setWarning() is deprecated, use addWarning() instead
 - ParserCache::singleton() is deprecated, use MediaWikiServices instead
 - Exception import is not used, drop it
 - added MediaWiki 1.29 as a requirement

Bug: T166714
Change-Id: Ib81e5acbb28e1f803c7a792b9f990f2aa6d57521
2017-08-02 16:32:13 +02:00
Piotr Miazga fcda3b365b When APIParse fails log the warning and return null
API Parse request fails from time to time which causes PHP notice
error. In order to understand whats going on lets introduce error
logging as temporary solution. This will give us possibility to
find the error instead of silently returning null. For now we will
keep old behaviour and return null in that case explictly. This will
avoid future php notice errors.

Changes:
 - when API parse request fails log the error and return null

Bug: T169017
Change-Id: Ib908821b76a1e8b59235643854752c4f5910a274
2017-08-02 15:12:20 +02:00
Antoine Musso cf47eb0b17 build: bump grunt and drop grunt-cli
grunt 1.x now includes a CLI command, hence grunt-cli is no more needed.

Change-Id: I94f0c66236b5f0f12220741276c7fe24a89c65e0
2017-08-01 10:45:42 +02:00
Translation updater bot a95a634b39 Localisation updates from https://translatewiki.net.
Change-Id: I124366dd780e5333cbb1268a272c676b25e87697
2017-07-26 22:54:48 +02:00
Max Semenik 753fc03c10 Don't call ParserOuptut::setTOCEnabled()
It's not really needed. Add tests verifying that.

Bug: T168040
Change-Id: I49cf58d92620ad53dd833bc8ce0d2443a00b48e4
2017-07-24 17:55:06 -07:00
Translation updater bot 571b09eeb0 Localisation updates from https://translatewiki.net.
Change-Id: Icbe1e47103472df8d3625e3daaecbc30cd5fa0f4
2017-07-24 23:17:08 +02:00
Kunal Mehta 751168d420 build: Updating mediawiki/mediawiki-codesniffer to 0.10.1
Change-Id: I7dd02086eb059f9036d1bba14df27cbcc2253697
2017-07-23 00:39:31 -07:00
Translation updater bot d43752783c Localisation updates from https://translatewiki.net.
Change-Id: I445766cb39b2a7dbabe87251ceeb1bb6804ca837
2017-07-14 22:53:44 +02:00
Translation updater bot 77fa34d9de Localisation updates from https://translatewiki.net.
Change-Id: Iab0aa4e332e573623906c8262451fd7eda9a643f
2017-07-11 23:05:54 +02:00
Translation updater bot a3eeaaffe3 Localisation updates from https://translatewiki.net.
Change-Id: I29bcf6590916bf901288ab39310a6ce899e69d4a
2017-07-08 22:46:57 +02:00
jenkins-bot d72b09724e Merge "Remove deprecated $wgUseTidy in favour of $wgTidyConfig" 2017-07-07 22:49:21 +00:00
Baha 97a25e2183 Return empty extract for articles in File namespace
Bug: T114418
Change-Id: I2dfccbcf27284ecfdd0669b004151824ece79b73
2017-07-07 15:32:27 -07:00
Piotr Miazga c13dae2788 Remove deprecated $wgUseTidy in favour of $wgTidyConfig
Bug: T168671
Change-Id: I27f5bee2448797c3a5a8cb886cee0e518b199ebe
2017-07-07 21:39:30 +00:00
Kunal Mehta 6ffc0a557c build: Updating mediawiki/mediawiki-codesniffer to 0.10.0
Change-Id: I1035a886d34259d0f1dff00f1be49fd6fcead829
2017-07-01 01:43:47 -07:00
jdlrobson e9e261908d Play things safe when stripping HTML
Script and input tags if outputted by other extensions can
theoretically allow an XSS issue.

Just in case let's do this here.

Bug: T107206
Change-Id: I889f7827fb9084b7cf853a1843fdc48821237d65
2017-06-29 10:46:57 -07:00
jenkins-bot 698a8a8066 Merge "Send sectionpreview parameter on TextExtract parse" 2017-06-29 00:25:10 +00:00
Translation updater bot a61eb87a99 Localisation updates from https://translatewiki.net.
Change-Id: I23d7e1ebdec7a38b2c0016696c54879bde48e4dd
2017-06-28 23:14:05 +02:00
jdlrobson 27baa2d0d9 Send sectionpreview parameter on TextExtract parse
This will invoke special handling for unbalanced templates

Bug: T168743
Change-Id: I3fe1bd5b56a049f57fad478f1358dd8496503b41
2017-06-28 08:55:00 -07:00
Translation updater bot 0d47ef794c Localisation updates from https://translatewiki.net.
Change-Id: Iaeebbafc59b90ea1d0ad117d766c2fff892ce1ed
2017-06-25 23:18:34 +02:00
Translation updater bot 9e92d87e90 Localisation updates from https://translatewiki.net.
Change-Id: I49a4dce3e0bdf5ee2641a12982ae5de3b4065a24
2017-06-20 23:04:51 +02:00
Kunal Mehta 6090fc2c87 build: Updating mediawiki/mediawiki-codesniffer to 0.9.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.MissingParamComment
* MediaWiki.Commenting.FunctionComment.MissingParamTag
* MediaWiki.Commenting.FunctionComment.MissingReturn
* MediaWiki.Commenting.FunctionComment.ParamNameNoMatch
* MediaWiki.FunctionComment.Missing.Public
* MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName
* MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment

Change-Id: Ibf2b4eef019ed4bb98fad71fb080ba05ee32d050
2017-06-20 00:23:06 -07:00