Commit graph

902 commits

Author SHA1 Message Date
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
Chad Horohoe e3dcbf79e1 Swapping defaultbranch for trace
The former is a maintenance nightmare when branching.

Bug:T146293
Change-Id: I09f02c827c5d93d4540231173f3b7ecfbfd17808
2016-10-24 16:38:30 -07:00
Translation updater bot 0a6edafa09 Localisation updates from https://translatewiki.net.
Change-Id: I4c24d5667fd64082e17392989521661c29d6ea5b
2016-10-24 22:49:32 +02:00
Translation updater bot 4e3235cdc1 Localisation updates from https://translatewiki.net.
Change-Id: Icb088212faa57b4b578e67916e380fc3d2f467c5
2016-10-16 22:44:45 +02:00
Translation updater bot ca20e69daa Localisation updates from https://translatewiki.net.
Change-Id: I3022568aaa35e7b8e51344f09a098f8f9a8ab114
2016-10-15 23:08:38 +02:00
jenkins-bot 513231a39b Merge "Replace Revision::getText()" 2016-10-06 00:48:03 +00:00
Translation updater bot 18236d9d31 Localisation updates from https://translatewiki.net.
Change-Id: I4f50fd2e1c2c855ed8dfe2e49490b0f864cc6665
2016-10-05 22:45:09 +02:00
Reedy dcfde5b39f Replace Revision::getText()
Bug: T147380
Change-Id: I07c80b57fd2c8f9264dd30dd9293f0ac4dcb6071
2016-10-05 00:33:30 +01:00
Kunal Mehta 637a7435ce Trigger Schema:ExternalLinksChange logging on page deletion
If a page is being deleted, use the ArticleDelete hook to queue a list
of URLs that are being "removed" from the page. The
ArticleDeleteComplete hook will trigger actually sending the logs - so
if something prevents the deletion, nothing will be logged.

Bug: T115119
Change-Id: I32e357bb88305a46251b05714a4ff75b75ae37aa
2016-09-29 14:14:01 +00:00
Kunal Mehta 2cac3f9ecd Fix Schema:ExternalLinksChange logging if no links are left on page
If there are no links left on the page, we would avoid invoking the spam
blacklist filtering entirely, to avoid having to do blacklist lookups,
etc. However, since we want link removal data, explicitly check for this
scenario and mark all current links as removals, and avoid invoking the
rest of the spam blacklist code.

Bug: T115119
Change-Id: I0bcd5b55594e38c0508b21db2c45e5136123efa0
2016-09-29 14:11:33 +00:00
Translation updater bot c0379a5a72 Localisation updates from https://translatewiki.net.
Change-Id: I4b989a08add1dc2e54f1115ad26a303d396ab350
2016-09-22 23:42:11 +02:00
Brad Jorsch 7763a5b090 Remove pre-1.25 API compatibility code
Since this extension uses extension.json, it already requires 1.25+ so
no need to keep the old code around.

Change-Id: Ifc18b7259d5895e95c4924fa3b963185d4bda1e3
2016-09-20 15:32:17 -04:00
Translation updater bot b50149edd8 Localisation updates from https://translatewiki.net.
Change-Id: Ic669f733a0e34c8ea53b93561a417e24ebd90c35
2016-09-19 23:00:42 +02:00
Translation updater bot c89fdadeb2 Localisation updates from https://translatewiki.net.
Change-Id: I606c85de0a074c08f01fe8b0e7fb4082915534a1
2016-09-17 23:22:20 +02:00
Reedy 2cf3db6517 Replace WikiPage::doEdit
Bug: T145745
Change-Id: I73247a0b115556b70d2aa9954f4d797c4a427935
2016-09-15 20:54:09 +01:00
Translation updater bot 3690acd5ee Localisation updates from https://translatewiki.net.
Change-Id: Iac04e33efa1dedd7886a684e3fde968a31f7c99d
2016-09-13 22:56:27 +02:00
Translation updater bot e2c93dcdca Localisation updates from https://translatewiki.net.
Change-Id: Id9b52fa31e6e3ef03079aedc71dda8037c39cf9e
2016-09-09 22:58:56 +02:00
jenkins-bot edf0a0e1ec Merge "Actually use STASH_TTL constant and bump it to 3 minutes" 2016-09-09 02:58:34 +00:00
Aaron Schulz 18d21ae86a Actually use STASH_TTL constant and bump it to 3 minutes
Change-Id: Ia50296919a5c8bdeb63496397c538f39d43c4d54
2016-09-09 01:22:06 +00:00
Aaron Schulz f051498dcc Fix links passed to filter() for stashing to match edit checks
Change-Id: I8f1b2c4d3033015de0e9a6d58776fe0ad32c4775
2016-09-08 17:47:09 -07:00
Translation updater bot f33e163339 Localisation updates from https://translatewiki.net.
Change-Id: Ib4789ca0a590e940ac7903819d784c565c1cd4d6
2016-09-04 22:33:07 +02:00
Translation updater bot 5bed99d67f Localisation updates from https://translatewiki.net.
Change-Id: I27e173d90280e52dab121ab4af217aaf8aa24620
2016-08-31 22:38:03 +02:00
Aaron Schulz 2efbca9a6c Fix bogus stats where stashes counted as misses
Also renew stash values if they will expire soon.

Change-Id: I36771f5736f80546aac99409463293c7699fb5de
2016-08-30 06:54:03 +00:00
Matthias Mullie 21de00842b Add 'message' property to API output
Bug: T141492
Change-Id: I357a563397cbc13c1cfbe3cbefb876408021ecb6
2016-08-17 11:53:47 +02:00
Kunal Mehta fb4dcf5565 Set $wgBlacklistSettings in extension.json
So people can actually override it without live hacking...

Change-Id: Id3b18b5b255fa1df321d34c4ce39849e1b545eec
2016-07-28 21:24:14 -07:00
jenkins-bot b0960c4691 Merge "Filter file uploads" 2016-07-27 22:24:51 +00:00
Matthias Mullie dee68e3ab1 Filter file uploads
Bug: T134453
Change-Id: I140e8fec71e05db9e4625400e9a9dfe9a42d9635
2016-07-22 16:02:50 +02:00
Translation updater bot 51228e20a6 Localisation updates from https://translatewiki.net.
Change-Id: Ia2b6eed07a49fe6b179c59f20506da1da23a0f15
2016-07-21 23:00:59 +02:00