Commit graph

879 commits

Author SHA1 Message Date
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
cenarium deede82af6 Allow checkusers to see spam blacklist hits
Spam blacklist hits are logged (if enabled) but the
log is not published in recent changes since it is
restricted (unless overriden in config).
This allows checkusers to see the spam blacklist hits,
even if the recent change isn't published.

Change-Id: I0506f08c4a2e78708fba4e6327f3202cb60d9562
2017-03-01 12:30:16 -08:00
jenkins-bot 6aaab37122 Merge "Move cleanup.php maintenance script to maintenance folder" 2017-02-24 04:16:14 +00:00
Translation updater bot 7ad6e5543b Localisation updates from https://translatewiki.net.
Change-Id: I98649c76a9f801fe258ee4ed7f02c2dbda15037f
2017-02-17 22:50:36 +01:00
Translation updater bot 6b419e553e Localisation updates from https://translatewiki.net.
Change-Id: I02ecfd40abcb4bada1bbf28a368c5091cae2f25a
2017-02-10 22:49:20 +01:00
MarcoAurelio d4760f96e8 Move cleanup.php maintenance script to maintenance folder
Change-Id: I8e937738bb9b7c01606fec134372d1491d91ba86
2017-01-24 11:22:13 +01:00
Matěj Suchánek 3d5392403b Escape url in Special:Log
When there is a "$1" in the url, it is treated like a message parameter
and replaced.

See https://www.wikidata.org/w/index.php?title=Special:Log&type=spamblacklist&page=Property:P2536.

Change-Id: Ia223a89e12c652a87d52a18c78e612b4b12871bc
2017-01-22 11:04:35 +00:00
Translation updater bot 776989d25f Localisation updates from https://translatewiki.net.
Change-Id: I385224b9bcf92f4d5f7191d10a1b3d5bfab0250d
2017-01-01 10:11:40 +01:00
Translation updater bot 1cf91b12ce Localisation updates from https://translatewiki.net.
Change-Id: I2b5bcc61d9c0745a4e0bbb0961db0c9633105ef6
2016-12-02 22:20:11 +01:00
Translation updater bot c6de77edac Localisation updates from https://translatewiki.net.
Change-Id: I3cb953961ee4501665fa1baac288d0a59783abc9
2016-11-16 22:52:12 +01:00
Translation updater bot e78b4ea78f Localisation updates from https://translatewiki.net.
Change-Id: I3bfc4dfe70ff7e0e013cbfbd3708ab3c941c7f32
2016-11-15 23:00:40 +01:00
Umherirrender 45c4d35e1d Expand .gitignore for more editors
List is from mediawiki/core

Change-Id: Iac8e2f1921ce466a965fc5c705953f89d70f8da0
2016-11-13 13:22:41 +01:00
Brad Jorsch d2e27163bf Add spamblacklistlog to viewrestrictedlogs grant
Bug: T149235
Depends-On: I8e2304e7b6f2af0c3d21d7d7390e4979b8eaee39
Change-Id: Icb7e404273d1fc957392d2a1dafbb0d33101e349
2016-10-26 15:28:24 -04:00
Translation updater bot 5940064f84 Localisation updates from https://translatewiki.net.
Change-Id: I1a8fec5c6a2a83ccc9d07db7bd83aa0949839962
2016-10-25 23:18:13 +02:00
Chad Horohoe cb2ab5398b Whoops, track not trace
Change-Id: Ia4e72fc8b415559656e23d178fcbf3251ee5b3e9
2016-10-24 17:03:46 -07:00