Commit graph

3464 commits

Author SHA1 Message Date
jenkins-bot 6c08f193cb Merge "Add basic AbuseFilter reading rights for OAuth" 2016-09-06 14:14:05 +00:00
Translation updater bot 2781369a30 Localisation updates from https://translatewiki.net.
Change-Id: I0a62b89c1fa266e3a2c44006e20b5558947e8485
2016-09-05 22:39:15 +02:00
Translation updater bot addcc44d68 Localisation updates from https://translatewiki.net.
Change-Id: I1df88b0ce2d4793eb395b790839023e2db4dada4
2016-09-04 00:16:23 +02:00
MusikAnimal d76de81f66 Add basic AbuseFilter reading rights for OAuth
Bug: T126756
Change-Id: Iace64d3b8c2a8ba1eaa5b49efd8362de5d36d3eb
2016-09-02 22:58:17 +00:00
Translation updater bot a140e4ae37 Localisation updates from https://translatewiki.net.
Change-Id: I49d8039a5f7438610e2bbbb7139f6e4dde816951
2016-09-02 22:52:28 +02:00
Translation updater bot 0fe14575f5 Localisation updates from https://translatewiki.net.
Change-Id: Ifc5999a0a3954525bd14215fff5be893e060e8c4
2016-08-31 22:31:33 +02:00
Translation updater bot 6ad364bbdb Localisation updates from https://translatewiki.net.
Change-Id: I8689198cb82e278836d3af9747dcaee4ee212f36
2016-08-30 22:57:35 +02:00
jenkins-bot b2872a8115 Merge "Fix bogus stats where stashes counted as misses" 2016-08-30 05:58:25 +00:00
Aaron Schulz 8070a5b15b Fix bogus stats where stashes counted as misses
Change-Id: Iefacd37f1470c99a04bb199651d8a73ae4da28fc
2016-08-29 20:37:14 -07:00
Translation updater bot e0824ee706 Localisation updates from https://translatewiki.net.
Change-Id: I1d22d4334e4e73d49c0ada2fee7cc0b421947614
2016-08-29 22:32:37 +02:00
Translation updater bot 3e8543f82d Localisation updates from https://translatewiki.net.
Change-Id: I27dad10ba0af00a56e69c1080f3a66b703710ecc
2016-08-28 22:33:09 +02:00
Translation updater bot 228299ecc2 Localisation updates from https://translatewiki.net.
Change-Id: I83b5770379ce83c8b6b62d1e75ceeb229490c36c
2016-08-25 22:31:51 +02:00
Translation updater bot b8dc46ef8e Localisation updates from https://translatewiki.net.
Change-Id: Id065d92383edb10b0632075928efc34e017e52d7
2016-08-24 22:34:02 +02:00
Translation updater bot 669375810e Localisation updates from https://translatewiki.net.
Change-Id: Id62c9256398e43ea96f0d823349e329a4385ecd2
2016-08-24 10:29:51 +02:00
Paladox b3081e1798 Update mediawiki/mediawiki-codesniffer to 0.5.1
Change-Id: I4b2055a76db4362a8136e3fd595228cf07d083a9
2016-08-23 16:18:27 +02:00
jenkins-bot e7ba7447bb Merge "Make Special:AbuseLog pager more efficient" 2016-08-23 14:09:01 +00:00
jenkins-bot fa68be8148 Merge "Fix User::isAllowedAny() calls" 2016-08-22 23:48:25 +00:00
Kunal Mehta 972d9b7c0f Fix User::isAllowedAny() calls
Follows up bb277d437e.

The permissions are supposed to be passed as arguments, not in an array.

Change-Id: I50ab80e4fec0d3a983d4cd3957d340abd04126c4
2016-08-22 16:30:59 -07:00
Victor Vasiliev 5da98b67bf Add test coverage for more bizzare features of the filter parser
I am pretty sure all of the behavior documented in these tests is a bad
idea.  It is possible that we can fix it since some of those features
are probably unused, but for now those tests will serve as a
documentation of the current behavior.

Change-Id: Ia2a2f57a538d7aef2ac73fb2e47fe82dd5d5e09a
2016-08-21 18:45:22 -04:00
Translation updater bot 49b5afc7a2 Localisation updates from https://translatewiki.net.
Change-Id: I953d2c4f0450ee61a2e090df6b1ecc94cd94c9a7
2016-08-21 22:48:59 +02:00
Translation updater bot a57b263283 Localisation updates from https://translatewiki.net.
Change-Id: Ib88034603166d007c1a7848d0446a818dd2ea08b
2016-08-19 22:35:48 +02:00
Platonides bb277d437e Let abusefilter-modify users see history of hidden filters
d0439337 (I9e15326c) made abusefilter-view-private required
even for users with abusefilter-modify that can see and
change private filters.

Bug: T143365
Change-Id: I401effc5f1e429b5ec12c7f48dcc00ada74eafb6
2016-08-18 16:08:58 -07:00
Translation updater bot 66afef7840 Localisation updates from https://translatewiki.net.
Change-Id: Ieb5d56790712d27a52381678f273357212044e6f
2016-08-17 22:35:58 +02:00
Translation updater bot bf5769a436 Localisation updates from https://translatewiki.net.
Change-Id: Ia13bd3bed7c8ef4dd933d812bd201c514eca2a8e
2016-08-16 22:39:50 +02:00
jenkins-bot 007f47795c Merge "Update tests for AntiSpoof fixes" 2016-08-16 16:40:36 +00:00
Translation updater bot f2b6827b67 Localisation updates from https://translatewiki.net.
Change-Id: I33773bba5d86ea87de285fd6cf75d0e946d751e4
2016-08-15 22:56:55 +02:00
Glaisher 9e75545804 Make Special:AbuseLog pager more efficient
* Use LinkBatch for local page existence queries needed by Linker
* Cache user links as Linker results in duplicate User::getEditCount query for each row
* Store result of SpecialAbuseLog::isHidden() for each row to minimize calls to
   Revision::fetchFromConds
* Use Linker::linkKnown instead of link when linking to special pages

Example improvements seen locally:
 Before: 1152 queries
 After: 243 queries

Change-Id: I22ba68710f3ecea5b48b25d631da84c6445fcb97
2016-08-15 15:22:18 +05:00
jenkins-bot 65d70aff29 Merge "Special:AbuseLog: Substitute username parameter in log message before parsing" 2016-08-15 09:13:14 +00:00
matejsuchanek f5e6c733dc Special:AbuseLog: Substitute username parameter in log message before parsing
The GENDER was not working because it was provided via Message::rawParams().

Change-Id: Ia52958b5529b0c16b6f658bb6d4afd4bb525e972
2016-08-15 08:59:47 +00:00
Translation updater bot 9ea2ad36bd Localisation updates from https://translatewiki.net.
Change-Id: Ie5d9ed3a12531120278ee485d7354289c73288e6
2016-08-14 22:24:41 +02:00
Kaldari acd28cb00f Update tests for AntiSpoof fixes
Bug: T29987
Depends-On: Iccb3e50073bbbc2b979cb62dd0e129afd1c2e55f
Change-Id: I8bef839b9b9ca5fced94ce6428e769133ede868f
2016-08-13 20:37:43 +00:00
Translation updater bot c807c696fd Localisation updates from https://translatewiki.net.
Change-Id: Ia948919a9349bd605efad330559e221f20472a03
2016-08-13 22:26:08 +02:00
Translation updater bot ccf0c73b88 Localisation updates from https://translatewiki.net.
Change-Id: Id470f69332eddaa48c194c8db8e4107fda8a0c1c
2016-08-12 23:08:21 +02:00
Amire80 4ea9026be4 Rephrase abusefilter-edit-consequences
This message said "Actions taken when matched".
This is a perfect tense, which is confusing in context,
because it is the heading of the list of actions
that _will_ be taken when matched and not _have_ been taken.
Changing this to "Actions to take when matched".

Change-Id: I2adc5a23b3e9e087dec4986747a3cd5263608f0a
2016-08-12 07:21:32 +00:00
Translation updater bot f3c3b3494b Localisation updates from https://translatewiki.net.
Change-Id: Idccc210d4c173be5234f758358c3777319d8a8db
2016-08-11 23:49:16 +02:00
jenkins-bot 6bd39475bb Merge "Only run filters once for direct uploads (without stash)" 2016-08-11 04:44:52 +00:00
jenkins-bot 67572c6071 Merge "Allow users with 'abusefilter-view-private' to view history/diff of private filters" 2016-08-11 01:43:41 +00:00
Glaisher 71b48cb28b Invalidate global abuse filter rules from cache when a previously global filter is edited
Bug: T142566
Change-Id: I3604b7eae21d5c50da4cbafe4abb15f4427eef15
2016-08-10 22:05:27 +05:00
Translation updater bot 12822f826e Localisation updates from https://translatewiki.net.
Change-Id: I77ff4c5dabf11227ef3ce7876aab461124353a56
2016-08-08 22:28:36 +02:00
Translation updater bot 4c8bff61a4 Localisation updates from https://translatewiki.net.
Change-Id: I01651c252be83ca2e522136d0f19e3ecbea31aab
2016-08-07 22:35:08 +02:00
Translation updater bot ca2c788d2c Localisation updates from https://translatewiki.net.
Change-Id: I3c55362fa1971d020e3053afcf6c4eed7421ccec
2016-08-04 23:24:31 +02:00
Kunal Mehta 722550e431 Remove 'UnitTestsList' hook
Extension unit tests are now autodiscovered.

Bug: T142120
Change-Id: I45dc300b24d27e2a36533600e1232ee56b76b2b8
2016-08-04 13:16:06 -07:00
Translation updater bot 84a0cf0ec1 Localisation updates from https://translatewiki.net.
Change-Id: I5ec88332eba9d2218314a4e7799ee13a822da620
2016-08-03 22:36:38 +02:00
Bartosz Dziewoński f2e05b105b Only run filters once for direct uploads (without stash)
Uses the new UploadStashFile hook.

Bug: T140522
Depends-On: I2f574b355cd33b2e9fa7ff8e1793503b257cce65
Change-Id: Ic7c2dbc54c6ad300d26172796ee21027a8c372ee
2016-08-03 16:30:18 +02:00
Translation updater bot 4f4d1d7079 Localisation updates from https://translatewiki.net.
Change-Id: I24ac016b84d39ae06fd626cb06942a71a20641e2
2016-08-02 22:36:37 +02:00
jenkins-bot 8ad3a44145 Merge "Remove mention of generateDiffBody()" 2016-08-02 00:19:28 +00:00
Timo Tijhof e02915161c Remove mention of generateDiffBody()
This method was removed from MediaWiki in c35d1ce2.

Change-Id: Ifefb029e22160023217aeab615ccc6542521e68e
2016-08-01 13:43:25 -07:00
Translation updater bot 3d6a8ffd79 Localisation updates from https://translatewiki.net.
Change-Id: I20d2a1927b04f7210c0d12f7763700d82677d8a1
2016-08-01 22:32:20 +02:00
Translation updater bot 8ff1f6e88e Localisation updates from https://translatewiki.net.
Change-Id: Ic53db31385b258f0cb36ded55bd8ed032566c831
2016-07-30 22:20:56 +02:00
Max Semenik 817b57a8fe Remove PHP 5.4 compatibility hacks
Change-Id: Id26a014478e5ec550bd81a8f660ddca7f6fd93f8
2016-07-28 15:35:51 -07:00