Commit graph

793 commits

Author SHA1 Message Date
Kunal Mehta c4e0dc803e Avoid directly using EditPage::$mTitle
And other minor cleanup

Change-Id: I551a7cae75f47cddae83646dd35a29a123b6c2b2
2017-09-01 13:25:03 -07:00
libraryupgrader 64b658d15c build: Updating mediawiki/mediawiki-codesniffer to 0.12.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.MissingDocumentationProtected
* MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic
* MediaWiki.Commenting.FunctionComment.MissingParamComment
* MediaWiki.Commenting.FunctionComment.MissingParamName
* MediaWiki.Commenting.FunctionComment.MissingParamTag
* MediaWiki.Commenting.FunctionComment.MissingReturn
* MediaWiki.Commenting.FunctionComment.ParamNameNoMatch
* MediaWiki.Files.ClassMatchesFilename.NotMatch

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

Change-Id: I012f6101ad9b2a27fe3f29551bb7fad6c841090b
2017-09-01 04:57:27 +00:00
Translation updater bot 5960066734 Localisation updates from https://translatewiki.net.
Change-Id: Id4dcdea302b472143c18995f32fdfcc3df95e3f5
2017-08-28 13:38:08 +02:00
Translation updater bot 5a7eacc72a Localisation updates from https://translatewiki.net.
Change-Id: Ibe555da2ad755c262f14136f37e8ffb5543fa346
2017-08-22 09:17:45 +02:00
Kunal Mehta 3602095989 build: Update mediawiki/mediawiki-codesniffer to 0.11.1
Change-Id: I4706f940d863eb4f487e6f51b6d61f15c5b399db
2017-08-16 01:22:44 -07:00
Antoine Musso 1dae9f1315 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
jenkins-bot 0c5cbc4210 Merge "build: Updating mediawiki/mediawiki-codesniffer to 0.10.1" 2017-07-26 22:11:25 +00:00
Umherirrender 9f691f6398 build: Updating mediawiki/mediawiki-codesniffer to 0.10.1
Change-Id: I70cc261499286e5bc46ee96e9b9ea07f41c836a1
2017-07-26 22:59:35 +02:00
Translation updater bot 9f1b279b71 Localisation updates from https://translatewiki.net.
Change-Id: Icc12db68612e551204a3adeca6aae986eb33ca6f
2017-07-26 22:52:55 +02:00
Translation updater bot bf42b904bb Localisation updates from https://translatewiki.net.
Change-Id: Id8ec6623360c497a8c222e5f06084c2e019633f5
2017-07-24 23:15:13 +02:00
Translation updater bot f9cdf8b25b Localisation updates from https://translatewiki.net.
Change-Id: Ifd497b92e121eef3a1fa511b072d6110487020b8
2017-07-19 22:54:52 +02:00
Translation updater bot 85d22a8949 Localisation updates from https://translatewiki.net.
Change-Id: I8929b88f966d1fd16492103520098b2c96dfd189
2017-07-11 23:04:12 +02:00
Translation updater bot 7325d910fd Localisation updates from https://translatewiki.net.
Change-Id: Iaea41413ad04452ce3e343f129803829625fcc68
2017-07-10 22:53:55 +02:00
Umherirrender c70020a277 build: Updating mediawiki/mediawiki-codesniffer to 0.10.0
Change-Id: I27d739823a5f8e3d0b3c6e988aa6e086ed248aac
2017-07-08 12:59:19 +02:00
Kunal Mehta 66e8e29ea6 Unbreak BaseBlacklist::getTypeFromTitle() and add tests
The first part of the title is supposed to be capitalized, so call
ucfirst on it, and then make blacklist and whitelist lowercase. Add
tests to verify the known blacklist and whitelist types are recognized
correctly.

This will make validation of SpamBlacklist messages upon edit work
again.

Bug: T169838
Change-Id: I98688362f222ab65115fbec46e0f67587d19022d
2017-07-08 01:39:16 +00:00
Kunal Mehta e6b3d85641 Fix incorrect @group tag in SpamBlacklistTest
Change-Id: I7dab37ff5a7a88207d8b1148c90d1f6e24f925f6
2017-07-06 03:22:50 +00:00
Translation updater bot 53750c24f2 Localisation updates from https://translatewiki.net.
Change-Id: Ia0e906b339a3cdf9cc23f23c0a1c535c4d3f0cc5
2017-07-05 22:43:12 +02:00
Translation updater bot aec473e5d9 Localisation updates from https://translatewiki.net.
Change-Id: Ie9b7779ba174390d1f1f124dc373144bd1a78fd1
2017-06-30 23:38:59 +02:00
Umherirrender 83cd96ed55 Split multi variable declaration
Each variable should have a documentation block

Change-Id: I53af14d18d3a11ee38256afe7e9d001a2641e466
2017-06-29 18:53:19 +00:00
Translation updater bot ffaf8e7243 Localisation updates from https://translatewiki.net.
Change-Id: I70804fa8ef00168bbc56f42a1a62f3e3c1ee085b
2017-06-20 23:02:47 +02:00
Translation updater bot 4d86d101ae Localisation updates from https://translatewiki.net.
Change-Id: Ib033df436f36e26f2bae9829b5eb578623000c73
2017-06-16 22:56:20 +02:00
Translation updater bot ca9181c840 Localisation updates from https://translatewiki.net.
Change-Id: Ide5f0ec207bfb335eb9b8937c046db931fb6679f
2017-06-15 23:18:41 +02:00
Brad Jorsch 68a2c875c0 API: Split description messages into summary + additional text
See MediaWiki core patch I778bab2b

Change-Id: Ic2e770b7830aaf85b6d2959eefd91edfffc40f5e
2017-06-09 11:59:25 -04:00
Amir Sarabadani df06242e1b Add CODE_OF_CONDUCT.md
Bug: T165540
Change-Id: Ifdae1eafeaf3f661a22a405281ddb61705a8efb8
2017-06-07 16:06:32 +04:30
jenkins-bot 5fdca6b9aa Merge "Add phpcs and make pass" 2017-06-06 18:34:11 +00:00
jenkins-bot 727bfb3f08 Merge "Break long lines" 2017-06-06 18:34:10 +00:00
Umherirrender 3c4e117932 Add phpcs and make pass
Change-Id: I623a982fe6362daab34906a111d123f19676dc22
2017-06-06 18:29:27 +02:00
Umherirrender 9733b3b40d Break long lines
Prepare to make phpcs pass

Change-Id: I814715c63af5ed5db673786e1fdab9fc59441b67
2017-06-03 13:13:31 +02:00
Translation updater bot 8058f192d2 Localisation updates from https://translatewiki.net.
Change-Id: Icb2a25ece29c47e7f3315db56a72ecf9e7e0a560
2017-06-01 23:16:33 +02:00
Umherirrender 6d526489e3 NULL -> null
Change-Id: Ie341d0c10b488cd10bf3172f67d6fd4ae45773c2
2017-05-24 22:51:48 +02:00
Translation updater bot 367e433815 Localisation updates from https://translatewiki.net.
Change-Id: Ife453b5620233340d2bf62104369d1ce97212334
2017-05-20 22:53:13 +02:00
Nemo bis 2198e8bf23 Revert "Localisation updates from https://translatewiki.net."
Mistaken addition of English strings as Hindi messages.
https://translatewiki.net/wiki/Thread:User_talk:Sfic/Import_of_English_strings_to_Hindi

This reverts commit 2ed7431867.

Change-Id: I2aef176a42077a70f647c3bbb374e70f15fb9e64
2017-05-19 09:04:26 +00:00
Translation updater bot 2ed7431867 Localisation updates from https://translatewiki.net.
Change-Id: I791ed35963b08b1630cae6c7b2c225bcf961ae18
2017-05-18 22:56:58 +02:00
Translation updater bot 3f381aeff1 Localisation updates from https://translatewiki.net.
Change-Id: I0e554a37c306e67effd4ae1259975f6f194807d2
2017-05-14 22:43:31 +02:00
Translation updater bot a065a14d5d Localisation updates from https://translatewiki.net.
Change-Id: Ie4ababf7557370fc890873f59a5d581832a4ca38
2017-05-09 23:05:58 +02:00
jenkins-bot 3453a05ad3 Merge "Clarify license and authorship statement" 2017-05-08 04:28:03 +00:00
Antoine Musso abfb8f5d64 build: add jakub-onderka/php-console-highlighter
Highlight PHP code when parallel-lint fails

Change-Id: Ie7582baa805457a0445a119bfd5fb859f693e51f
2017-05-05 21:40:02 +02:00
Translation updater bot 769d72ef62 Localisation updates from https://translatewiki.net.
Change-Id: I23e1ce3f75e2cfba7a352a3c08a9ca2fc9d34328
2017-05-02 23:16:29 +02:00
Matthew Flaschen e0ffbe322e Import PHPUnit tests from Flow, plus one more
Based on Flow repo as of 6099ce48818c8188709352b592f9da118a361fa5 .
Used under GPLv2+

Change-Id: Ibac17d99e86688ced2989ce9ae45581f09c85bd4
2017-05-01 19:20:14 -04:00
Matthew Flaschen 5b1d15d902 Clarify license and authorship statement
Bug: T130530
Change-Id: I4fd25b2522d51686db90d0e37fbd38a94af43b04
2017-05-01 18:09:57 -04:00
Translation updater bot f81c89dc49 Localisation updates from https://translatewiki.net.
Change-Id: I569b27b8055e6e3993e723b2d14c1c7ca39bdd83
2017-04-29 00:05:13 +02:00
Antoine Musso 193339c7f0 build: add grunt-contrib-jshint
See T119973

Change-Id: If8ab371645148b932cf95af043ef0ea5b90db9cb
2017-04-21 18:24:05 +02:00
Translation updater bot 8aea59a8c3 Localisation updates from https://translatewiki.net.
Change-Id: I51ccba8ff865b3d95463fc2e3ea478a4973b4d25
2017-04-18 22:47:09 +02:00
Translation updater bot 8411495fe0 Localisation updates from https://translatewiki.net.
Change-Id: I62561a66d1cf4da6cf00a390e3e7236cac7ada1b
2017-04-16 10:37:05 +02:00
Translation updater bot f2305c9f7c Localisation updates from https://translatewiki.net.
Change-Id: I999d974c4f7b586787d94053445cbcb808686093
2017-04-11 23:08:09 +02:00
Translation updater bot 2d04a317ab Localisation updates from https://translatewiki.net.
Change-Id: I7f3b04276aed5fc4a949a7addbfab571e27bbc11
2017-04-06 23:58:57 +02:00
Translation updater bot db048d55ab Localisation updates from https://translatewiki.net.
Change-Id: Ia9d494a25671d49f85f44515297f387b9583e496
2017-04-04 22:57:53 +02:00
milimetric 50342b77be Fix improper index access in event logging code
Bug: T115119
Change-Id: I8ebfb7dc9e513aa949cfc287d1a68b23f69d2784
2017-03-15 17:07:04 -04:00
Translation updater bot d3fa31f427 Localisation updates from https://translatewiki.net.
Change-Id: I24f4c7fea6508e8f1f95893f2ee72600abd35a6a
2017-03-05 22:50:19 +01:00
jenkins-bot 56b24335a7 Merge "Allow checkusers to see spam blacklist hits" 2017-03-03 23:45:20 +00:00