Commit graph

420 commits

Author SHA1 Message Date
Pppery 3f2ce4da97 Partially fix class-file name mismatch sniffs
Fix one instance of bad code that triggers both MediaWiki.Files.ClassMatchesFilename.NotMatch
and MediaWiki.Files.OneClassPerFile.MultipleFound. One more set of errors remains.

Bug: T170583
Change-Id: I45c237b4366477954726a0116fb2d56256276693
2017-12-06 23:35:36 -05:00
jenkins-bot b363e0d92e Merge "Re-enable "MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" sniff" 2017-12-06 22:53:52 +00:00
Pppery fe1aad4adf Re-enable "MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" sniff
Bug: T170583
Change-Id: I33b56a824d26feb208492e8623c3c654a1372c47
2017-12-06 17:48:13 -05:00
Pppery 0b71ffcf13 Re-enable "MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment" sniff
Bug: T170583
Change-Id: Ib55d299da9c52da02246037fd8be899372758f11
2017-12-06 16:59:16 -05:00
Translation updater bot bd123120e3 Localisation updates from https://translatewiki.net.
Change-Id: I1f75cb719fc9e10521028259fa77468fd79d06fa
2017-12-05 09:41:21 +01:00
Translation updater bot 3319cfa6a7 Localisation updates from https://translatewiki.net.
Change-Id: I0bd1e42d1d8d0b2d558cdeaa7e9110625324052e
2017-11-24 23:16:29 +01:00
jenkins-bot bec09c03b3 Merge "More compatible PHPDoc comment syntax in LinksUpdateHookHandlerTest" 2017-11-24 10:10:37 +00:00
Thiemo Mättig 1ad897baf4 More compatible PHPDoc comment syntax in LinksUpdateHookHandlerTest
Change-Id: I5217eb5e1b91a5ce4a2c3ce0cbff83f579461118
2017-11-24 10:43:21 +01:00
Thiemo Mättig 4674c77e45 Family name of Thiemo changed
Change-Id: I74bf3041439e839b575ff5c163427b5c032c4398
2017-11-24 08:33:49 +01:00
Umherirrender de72f1153b build: Always exclude vendor and node_modules
Change-Id: I9ece165caf87d6fc6a2656a87767d4b2d18d5475
2017-11-12 00:30:32 +01:00
Translation updater bot d2da655471 Localisation updates from https://translatewiki.net.
Change-Id: I3ee072a2c67f1b957309070a627a598216e022e1
2017-11-08 22:37:37 +01:00
jenkins-bot f51a1cd66a Merge "build: Adding MinusX" 2017-11-04 01:40:28 +00:00
Kunal Mehta 0a2b4a4c7b build: Adding MinusX
Change-Id: Ia62aad6a0e2cabfdd7ceb5ece12a52a70ad02c7b
2017-11-03 18:26:43 -07:00
Translation updater bot 697efd7542 Localisation updates from https://translatewiki.net.
Change-Id: If1029566315f5198e04bf6952287dcd4470c2df3
2017-11-03 22:38:38 +01:00
Michael Holloway a9af75cbc4 Hygiene: Remove legacy 'original' property from 'thumbnail' output
Original image info is now a first-class output property, and the
'original' property of the 'thumbnail' object has been deprecated since
December 2016 (with an API warning provided since then when original image
info is requested).  It should be safe to remove at this point.

(N.B. The 'original' property was an undocumented piprop before the format
update, and the legacy output likely sees little if any usage.)

Bug: T152163
Change-Id: I73b476f9e50c14f705a30e20bc836b8db371f5f0
2017-10-30 17:48:04 -04:00
libraryupgrader a1421bc7d7 build: Updating mediawiki/mediawiki-codesniffer to 14.1.0
And moved phpcs.xml to .phpcs.xml (T177256).

Change-Id: Ie9d3178de9eadce2d5ec639acd1e3c5284b7d8a1
2017-10-21 04:27:53 +00:00
libraryupgrader c3fe4c1fa7 build: Updating mediawiki/mediawiki-codesniffer to 13.0.0
Change-Id: Ide53c76f5c1cf7ae0313d06eeaccccbc90de259e
2017-09-24 05:30:58 +00:00
Translation updater bot b4109faac9 Localisation updates from https://translatewiki.net.
Change-Id: I1f52d6f23c188208dfdb9b85b3a6ba1e21d453c5
2017-09-22 23:05:49 +02:00
Translation updater bot 42f2320088 Localisation updates from https://translatewiki.net.
Change-Id: I561670b7c218ec7130f6fcc79e0c3d4578b327cc
2017-09-19 23:02:57 +02:00
libraryupgrader aa8dabebb2 build: Updating mediawiki/mediawiki-codesniffer to 0.12.0
The following sniffs are failing and were disabled:
* MediaWiki.Files.ClassMatchesFilename.NotMatch
* MediaWiki.Files.ClassMatchesFilename.WrongCase
* MediaWiki.Files.OneClassPerFile.MultipleFound

The following sniffs now pass and were enabled:
* MediaWiki.Commenting.FunctionComment.MissingParamTag
* MediaWiki.Commenting.FunctionComment.ParamNameNoMatch

Change-Id: Ibb3e8fbef168f886d2385565df85015c08b2f02a
2017-09-01 04:54:58 +00:00
Translation updater bot eb40ed4912 Localisation updates from https://translatewiki.net.
Change-Id: If83d4a6c14d0cff8fd6e32dc836b0b4271c20f33
2017-08-17 09:01:20 +02:00
Kunal Mehta fa58780171 build: Updating mediawiki/mediawiki-codesniffer to 0.11.0
Change-Id: I121ac2e4b2bc165ca6aaa8a7b6f8f973faaf0f9d
2017-08-11 00:15:33 -04:00
Antoine Musso 3193705bda 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:34 +02:00
Translation updater bot 806184240f Localisation updates from https://translatewiki.net.
Change-Id: Ied0ef9319595a74fa5e0918f89c542a84a8c1d1b
2017-07-26 22:44:02 +02:00
Translation updater bot 13d152621e Localisation updates from https://translatewiki.net.
Change-Id: Idb9cca637bf518f25a839b903d321a5b20668e89
2017-07-24 23:07:28 +02:00
Kunal Mehta d1cde6e4b1 build: Updating mediawiki/mediawiki-codesniffer to 0.10.1
Change-Id: I8b1ff5826af045897e038c6d0257812564fe65ca
2017-07-23 00:32:09 -07:00
Translation updater bot 178bec5217 Localisation updates from https://translatewiki.net.
Change-Id: I43ddb49ae7a89c329d3fdec9cd5414770b7a4194
2017-07-20 22:53:47 +02:00
Umherirrender bb76661758 Remove unused i18n shim
Change-Id: I8f7c101f25a579423acd0c1a48fe32343bc9845f
2017-07-12 21:01:26 +02:00
Kunal Mehta e2ffe2de2c build: Updating mediawiki/mediawiki-codesniffer to 0.10.0
Change-Id: I472cd3fecd2919be993527b430a39cf23fff380b
2017-07-01 01:36:46 -07:00
Translation updater bot d881c8848a Localisation updates from https://translatewiki.net.
Change-Id: I83d4fe3164c57b8170d264e1df2ae2a29119a595
2017-06-28 23:00:49 +02:00
Kunal Mehta 924efcc96e 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: I3554682b5c8686299dc8cf23a3ec8c59514ff008
2017-06-25 17:26:03 +00:00
Translation updater bot b323d91aa4 Localisation updates from https://translatewiki.net.
Change-Id: If9bd6c014b3c4cc24a663b5ae45e212be2615040
2017-06-20 22:54:17 +02:00
Translation updater bot 413e346b1d Localisation updates from https://translatewiki.net.
Change-Id: I2485557c0cbe435c0f7f97fb186e03ea08d199aa
2017-06-17 22:37:08 +02:00
Translation updater bot 494944efc9 Localisation updates from https://translatewiki.net.
Change-Id: Ib5be2acccb1f3c4991ca425badba4cdfcc8bce8b
2017-06-15 23:08:36 +02:00
Brad Jorsch 889c17408e API: Split description messages into summary + additional text
See MediaWiki core patch I778bab2b

Change-Id: Ib19e10fd7519e13500493b8082c67684cead1832
2017-06-09 11:59:25 -04:00
jenkins-bot d4bf297f6e Merge "Remove incomplete PHPDoc @param tags" 2017-06-07 16:59:57 +00:00
Amir Sarabadani 985c4711ee Add CODE_OF_CONDUCT.md
Bug: T165540
Change-Id: Ia10103af845c41d4cae5b70b414c22b555e1c1e5
2017-06-07 15:16:21 +04:30
Thiemo Mättig 37cae03ebb Remove incomplete PHPDoc @param tags
Plus:
* Add a missing "array" type hint.
* Use more specific assert… functions instead of isset().

Change-Id: Iaa423620d493b4bee11bf89f627d0420a645a8de
2017-06-07 10:35:50 +01:00
jenkins-bot 457c1568aa Merge "Add phpcs and make pass" 2017-06-02 21:28:32 +00:00
Umherirrender 88758f5884 Add phpcs and make pass
Change-Id: I129fd23a375b4f7de893d3b98f67fdd8de89b4bd
2017-05-30 21:49:44 +02:00
Brad Jorsch b7b6185dae Chunk page ids in internal API call to avoid too-many-pageids-for-query
One of many reasons that internal API calls are bad.

Bug: T41936
Change-Id: I338b444087c7570e455469e2c0fad8f5ca46644e
2017-05-26 17:24:39 -04:00
jenkins-bot 9b63fdc577 Merge "Make PageImages default API license parameter configurable" 2017-05-20 16:02:19 +00:00
aude 97572615e0 Make PageImages default API license parameter configurable
Bug: T156190
Change-Id: Id4b43f2597d5a063dca0d46f308b6283620e9974
2017-05-20 17:36:56 +02:00
Baha a7fc68ced6 Increase default API limit from 1 to 50
Bug: T153709
Change-Id: Ie7c48117ac94e4902948f7336b5e1da7229dbe2d
2017-05-19 09:06:04 -04:00
Umherirrender 88329411c7 Add php-parallel-lint
php-lint will test for valid php files

Change-Id: I2e59da55ff2d5dfcc668bcbd81df4708c8d5f4c6
2017-05-06 12:29:37 +02:00
Antoine Musso 68f89b28b5 build: add grunt-contrib-jshint
See T119973

Change-Id: I6103daa04d2e51de8e29135578be457252771c94
2017-04-21 18:24:03 +02:00
jenkins-bot c75e19ffd1 Merge "Switch TestingAccessWrapper to librarized version" 2017-04-20 19:36:58 +00:00
Gergő Tisza 928a8f6687 Switch TestingAccessWrapper to librarized version
Bug: T163434
Change-Id: Ie3d29b3522d5e176430708b15359803d76a39a2f
Depends-On: I52cc257e593da3d6c3b01a909e554a950225aec8
2017-04-20 11:35:03 +00:00
jenkins-bot cd95488965 Merge "Make PageImagesLeadSectionOnly default to true" 2017-04-18 16:54:46 +00:00
Zach 4c0e441833 Make PageImagesLeadSectionOnly default to true
Supporting changes:
* Update the LinksUpdateHookHandlerTest test case to set the config
  variable to its expected value of false.

Bug: T162203
Change-Id: Ic7b4d5ab42f71f6b4cf24cb5bbbbe808341a09e8
2017-04-18 10:16:22 +01:00