Commit graph

605 commits

Author SHA1 Message Date
jdlrobson fcc96696d5 Fix remaining php sniffs
* Separate the ApiQueryPageImages mock into its own file

Bug: T170583
Change-Id: I3db5de11618f952eb7974c456445eaa1d5e4e6a4
2018-03-05 18:49:11 +01:00
Translation updater bot 0daaa0d308 Localisation updates from https://translatewiki.net.
Change-Id: Icca8f92910657c220dfe994189b57cf2b1cd6b0b
2018-03-03 22:25:46 +01:00
jenkins-bot d29c0d6585 Merge "Fix "Only variables should be passed by reference" test failure" 2018-02-26 17:07:09 +00:00
Kunal Mehta 3ad50a314a Fix "Only variables should be passed by reference" test failure
Bug: T188272
Change-Id: Ib8d0974b1a98fecca39abc0df2bf42ef64420965
2018-02-26 08:49:10 -08:00
libraryupgrader 5bb3c43eed build: Updating mediawiki/mediawiki-codesniffer to 16.0.1
Change-Id: I9ecc6d5de9b1904b6e7d214f5bd0cd6a67d4ae42
2018-02-25 10:15:23 +00:00
Translation updater bot ef52a77681 Localisation updates from https://translatewiki.net.
Change-Id: Id9c17fbd3478170b635f133a614df158d72414c4
2018-02-18 22:40:59 +01:00
libraryupgrader e6ad9aa170 build: Updating mediawiki/minus-x to 0.3.1
Change-Id: I0b5ca6d07ab39e243bb1c2e43019bf7447cf1001
2018-02-18 05:50:47 +00:00
Translation updater bot c18c097fc0 Localisation updates from https://translatewiki.net.
Change-Id: I7deae04c1c2a91e4e29de904798fed916b7bbec3
2018-02-15 22:47:17 +01:00
libraryupgrader 89089faaa9 build: Updating mediawiki/mediawiki-codesniffer to 16.0.0
Change-Id: Id9338a658104d1da7942c6c7bdb6e53eebf31db0
2018-02-15 13:32:16 +00:00
Translation updater bot 68bc9915ea Localisation updates from https://translatewiki.net.
Change-Id: Iafe0a29a46880dbfd41db008e009ab38c59a5c10
2018-02-11 10:42:19 +01:00
Ed Sanders 139d358299 build: Update linters
* jshint->eslint
* load message dirs from conf

Change-Id: Id644c79c96b4e7a6fe0f41223acd9193cf0c8c5e
2018-02-08 14:17:46 +00:00
Umherirrender 557b7e7128 Require MediaWiki 1.29 in extension.json for manifest_version 2
manifest_version 2 is a new feature in 1.29
(Iea5ba589c70958db7500cf3587b5ebd738532026)

Change-Id: Ic0f1104e18866e14ea8c98b5a6a98fcb0410ecae
2018-02-03 10:46:26 +01:00
Translation updater bot ad31040f83 Localisation updates from https://translatewiki.net.
Change-Id: I8471cbd32989c74db5afd61af1db7a361f03c94c
2018-02-01 22:30:20 +01:00
zoranzoki21 125ec14718 Update maintenance scripts to use $this->requireExtension
Bug: T152139
Change-Id: I1ce646506f66096387f3970dd4017b1d06841ec2
2018-01-28 14:54:33 +00:00
Translation updater bot 342c969bb4 Localisation updates from https://translatewiki.net.
Change-Id: Ieba41a58c79e26f1e91d46bd0af8c480645ec40a
2018-01-20 14:42:59 +01:00
Translation updater bot e307aef0e0 Localisation updates from https://translatewiki.net.
Change-Id: Ia98b126824bd8afc759329eaffe422067e05b68a
2018-01-18 22:49:46 +01:00
Translation updater bot 6049febcdc Localisation updates from https://translatewiki.net.
Change-Id: I86c62671c44ef372b729f70dd9176fdf391f8b62
2018-01-08 22:36:05 +01:00
Umherirrender f75bf11ff8 Use namespaced version of FakeResultWrapper
Change-Id: If76eb8d5cdeac94e938c9b31946a4d7f688ae24e
2018-01-04 23:41:54 +01:00
libraryupgrader ec5ee2d18e build: Updating mediawiki/mediawiki-codesniffer to 15.0.0
The following sniffs are failing and were disabled:
* Generic.Files.OneObjectStructurePerFile.MultipleFound

The following sniffs now pass and were enabled:
* MediaWiki.Files.OneClassPerFile.MultipleFound

Change-Id: I5ecc401f56b49e4fd8cc7ada6effc698fc436e48
2017-12-30 01:57:02 +00:00
Umherirrender a2f97b9b27 Use absolute class name in @covers
Namespaced classes need to be absolutely named.

Change-Id: Ic98e4e3b9fbc1b7cb3187cdbffcb973795a02a6b
2017-12-27 20:25:59 +01:00
jenkins-bot 4e878873e2 Merge "Remove old string-based API description functions" 2017-12-20 03:11:24 +00:00
Translation updater bot 3b1222e767 Localisation updates from https://translatewiki.net.
Change-Id: Ibfc95b85191cf88e445ae872bd424be0cad03dba
2017-12-18 23:06:53 +01:00
Pppery 60735a010d Remove old string-based API description functions
These have been deprecated since MediaWiki core 1.25 and no longer have any effect.

Change-Id: Icbaaa395af8303c1018e92ab2bfddb02ed587115
2017-12-17 23:58:15 +00:00
Translation updater bot d69f6fef91 Localisation updates from https://translatewiki.net.
Change-Id: I96965db0d3b628b16eeb3cf967734254f92f70e4
2017-12-17 22:26:09 +01:00
Translation updater bot 45a04905a1 Localisation updates from https://translatewiki.net.
Change-Id: Iac5aca98300ca2e772a48f90ecb2b4f8557493b9
2017-12-13 23:34:25 +01:00
Translation updater bot ecb595cc35 Localisation updates from https://translatewiki.net.
Change-Id: I118104e9d775fb6888c01eb79db79dd495ffe5dd
2017-12-11 23:39:00 +01:00
libraryupgrader 0d54b9505b build: Updating mediawiki/minus-x to 0.2.1
Change-Id: Id778f4fb9d5bd4e7b1ef7b343c41d28ebe97c58c
2017-12-11 00:23:38 +00:00
Translation updater bot 07711785a5 Localisation updates from https://translatewiki.net.
Change-Id: I1d89ec3fee64f9803603ae447061523d3f9a333b
2017-12-10 22:33:24 +01:00
Translation updater bot 863a88afa0 Localisation updates from https://translatewiki.net.
Change-Id: I88174c9d5fd4986c0ac5f3e3b9f450c6a164c1be
2017-12-09 22:19:47 +01:00
Translation updater bot 4ebefdcd84 Localisation updates from https://translatewiki.net.
Change-Id: Idf1364109538f21e7c832e726bd4edda2fd5fba1
2017-12-08 22:37:29 +01:00
Pppery 8d98456184 Clarify documentation of pithumbsize parameter
Bug: T178910
Change-Id: I5a17dbff135c553c98767b642d24219b7a5c8c2d
2017-12-07 19:54:33 -05:00
Pppery ade8e44b21 Re-enable "MediaWiki.Commenting.FunctionComment.MissingParamComment" sniff
Bug: T170583
Change-Id: I3a5a849c168aed7ab6ea479bab5ec7d9b809dd6f
2017-12-07 14:56:10 -05:00
Pppery d81dfe6e9e Re-enable "MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName" sniff
Bug: T170583
Change-Id: I76ed85cf960269c5692e9ec8c92877bcb13e4100
2017-12-07 14:02:09 +00:00
Pppery 3b500b9926 Re-enable "MediaWiki.Commenting.FunctionComment.MissingReturn" sniff
Bug: T170583
Change-Id: Iad521de387dce704db5552168b18f2653cd3e291
2017-12-07 13:33:35 +00:00
jenkins-bot 7707aee159 Merge "Partially fix class-file name mismatch sniffs" 2017-12-07 07:04:17 +00:00
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