Marius Hoch
433da007e0
Make the links in Special:AbuseLog plainlinks
...
Those shouldn't have the external link icon set
Change-Id: I308c3b0d4ce2e19a1046bf2c16e9168bfcd5c66c
2013-07-10 14:55:00 +00:00
Marius Hoch
d2a342788f
Make global AbuseFilters searchable on Special:AbuseLog
...
Global AbuseFilters will be searchable using "global-123"
with this. Furthermore this patch fixes the visibility of
global AbuseFilter ids within the API module.
Bug: 51007
Change-Id: Ia6caba5ae3d727b778076ecdba500b4dc1d55b6f
2013-07-10 14:54:51 +00:00
Marius Hoch
150bf280cb
Don't create default object from empty value in AbuseFilterHooks
...
We shouldn't try to set the attribute of a variable which isn't
actually an object as this will lead to the "Creating default
object from empty value" PHP error and it will trigger a further
fatal down the road. This gets triggered in Wikibase and probably
other extension unit tests.
Change-Id: I0f2e93657e5cfdb84ee351be371d421c11291b82
2013-07-10 14:54:43 +00:00
Dereckson
2fcb9e51df
(bug 38371) Fixing SQL files for SQLite compatibility
...
Change-Id: Ie2ea51b854df6bc1c8d3219663a9e91ff8a91d2b
2013-07-10 16:50:49 +02:00
Translation updater bot
0df9424eab
Localisation updates from http://translatewiki.net .
...
Change-Id: Ie21295a9b76095f889173bdc7849692e626df230
2013-07-09 20:35:13 +00:00
Marius Hoch
6caff9d822
Link correct Page in AbuseLog for users who can't see details
...
Right now the extension tries to link a local page
with the given title if the user can't see filter
details instead of linking to the correct page on
the target wiki.
Change-Id: I6bd2ecc48d1c248655ed41fc5ba9e9f286037adc
2013-07-09 18:04:53 +02:00
Marius Hoch
4cb9a96ac9
Don't trigger filter hits for nonexisting filter 0
...
AbuseFilter::getConsequencesForFilters uses filter ids as
array keys, that causes problems if both local and global
filters were hit, because array_merge reindexes arrays.
Example:
https://www.mediawiki.org/wiki/Special:AbuseLog/18687
Change-Id: I81cb110322461e30113199cfa313cd8e8e8b2262
2013-07-09 13:57:22 +02:00
Translation updater bot
243df103b3
Localisation updates from http://translatewiki.net .
...
Change-Id: I75dcdb3aa8b5d46c8c640e2999a5b4fbcc8ec12f
2013-07-08 18:58:38 +00:00
Marius Hoch
35747761fb
Allow running the AbuseFilter parser tests via phpunit
...
I've also added myself to the credits file as I'm the only
maintainer of this extension for a while now.
Change-Id: Id998172ea2abd70b8243de9db1a96cc2cfa47a64
2013-07-08 19:22:43 +02:00
jenkins-bot
250cce6c00
Merge "Make use of the APIEditBeforeSave hook for nicer errors"
2013-07-08 17:19:29 +00:00
Marius Hoch
83357aafd0
Make use of the APIEditBeforeSave hook for nicer errors
...
Bug: 32216
Change-Id: I654eb21faffa1371f637d98d0fcd38c005048507
2013-07-08 19:10:25 +02:00
Translation updater bot
19f089c0d1
Localisation updates from http://translatewiki.net .
...
Change-Id: I30797d74afdfd9bd81260e240a28d58f3d4b8802
2013-07-07 19:39:21 +00:00
Translation updater bot
618465140d
Localisation updates from http://translatewiki.net .
...
Change-Id: Id5189eb27b3800400d8bc8be1326019eb769f9a1
2013-07-06 18:59:53 +00:00
Translation updater bot
a80521f9bf
Localisation updates from http://translatewiki.net .
...
Change-Id: I407229fc46ede4831ae289473ace866fc6cee813
2013-07-04 20:06:31 +00:00
Translation updater bot
321b567c1a
Localisation updates from http://translatewiki.net .
...
Change-Id: Iaa9159c4c461fb2dee6e132d47ed651ce6c9ac27
2013-07-03 19:59:47 +00:00
jenkins-bot
2e8fc6f751
Merge "Prevent custom warning messages for global rules"
2013-07-02 21:41:48 +00:00
Marius Hoch
013889c5ac
Prevent custom warning messages for global rules
...
This prevents an abuse filter admin from setting a custom warning
message (which are references to a non-translated, local wiki page),
for global filters (which can be on any wiki in any language).
bug: 45164
Change-Id: If61716053b75f45e4b70f78d3809ddd02ac6d83e
2013-07-02 23:20:06 +02:00
Marius Hoch
9823d78e3b
Make AbuseFilter work without AntiSpoof
...
This dependency isn't really needed in many cases
while it can cause troubles if not fulfilled.
Change-Id: I9990e99c4d3d49b5bc400bbc4a0ec02142d6f055
2013-07-02 21:50:23 +02:00
Translation updater bot
cf190f71a2
Localisation updates from http://translatewiki.net .
...
Change-Id: Ie0260844202c2f7bbbe8939d909e471b9f4dd016
2013-07-01 19:52:44 +00:00
MatmaRex
6756f6f936
Pass context when contructing DifferenceEngines
...
Change-Id: I926c910bf983ae023bfc0c20a9262a1bde452a17
2013-06-29 23:52:08 +00:00
MatmaRex
3d4d705b06
AbuseFilterViewDiff: Make diffs use standard styling (and more)
...
They still used old 1.18-style diffs, with styles copied from core.
Also:
* Remove the distinction between "simple" and "multiline" diff chunk,
enabling consistent styling
* Always show word-level diff, even in previously "simple" chunks
* Ensure the full context is always shown. This was clearly intended
(showing straight side-by-side comparison if there were no changes
and in "simple" chunks, diff otherwise; showing chunks with no
changes), but the default context is only 2 lines.
* Remove the distinction between 'wikitext' and 'text' diffs (all are
treated like 'text' was); it's impossible to show parsed code with
word-level diff, and it was only enabled for "simple" chunks, all of
which are intended to be one-line strings and are shown unparsed
elsewhere (e.g. filter description on the list on Special:AbuseFilter)
Bug: 36478
Change-Id: Ie24ad5ac5a9a2bc9b8f0fc0c4a03d5dfe7a6a83f
2013-06-29 23:43:45 +00:00
Translation updater bot
5602cd33d2
Localisation updates from http://translatewiki.net .
...
Change-Id: I9c8b5c1191964f24869d8d04156afe2ae773ac78
2013-06-29 19:34:29 +00:00
Translation updater bot
bc13ac9317
Localisation updates from http://translatewiki.net .
...
Change-Id: I1b7aedba7ea1d17a35b3e14331122f2e766407dc
2013-06-27 19:53:35 +00:00
Marius Hoch
8957c003ba
Revert "Change AbuseFilter to use UserCache instead of user_text fields"
...
This reverts commit aaa256aa94
.
Bug: 49918
Change-Id: I597cbc03e2ecc45cfcca632232d5bbb1ef7be9d8
2013-06-27 01:01:15 +02:00
Translation updater bot
1b010b58ce
Localisation updates from http://translatewiki.net .
...
Change-Id: I56611ad574fad8db2cea4d4f222184ee9010ec84
2013-06-26 19:19:43 +00:00
Translation updater bot
022e279937
Localisation updates from http://translatewiki.net .
...
Change-Id: I9b85c67087503d3d5492d2cae4425db14acfe303
2013-06-25 19:53:55 +00:00
MatmaRex
ddb57635be
SpecialAbuseLog: use DifferenceEngine::addHeader to render diffs
...
Not sure why it wasn't used, maybe because it does a little more
than the bare minimum we need here.
Change-Id: I5e604474849d1389fc4cc260c76cf80e4e466bf5
2013-06-25 17:25:14 +00:00
Translation updater bot
21f188533f
Localisation updates from http://translatewiki.net .
...
Change-Id: I8b9af2e9f8692e5d2e6f2926cf8c24e3d3669287
2013-06-24 19:53:04 +00:00
Translation updater bot
4657ef7d2f
Localisation updates from http://translatewiki.net .
...
Change-Id: I9e76e7a32714672233d85ee491aacf3a17e8cff9
2013-06-23 20:22:47 +00:00
Translation updater bot
f680a34f81
Localisation updates from http://translatewiki.net .
...
Change-Id: I35050aae059f10b86dcbe9dfe8eb2a4ac4342754
2013-06-22 21:26:49 +00:00
Translation updater bot
6bddc7ca46
Localisation updates from http://translatewiki.net .
...
Change-Id: I8f759e4171b08f206652d850c2d98d97a53fea97
2013-06-19 20:35:15 +00:00
jenkins-bot
c56df4d07b
Merge "Allow filtering links and html for page creations"
2013-06-19 17:11:41 +00:00
Translation updater bot
182f5995cf
Localisation updates from http://translatewiki.net .
...
Change-Id: I3a93262764ed8923178bb1597377140ad92dc751
2013-06-15 20:58:13 +00:00
Translation updater bot
cf0c53682c
Localisation updates from http://translatewiki.net .
...
Change-Id: I8de34cc1433406e500fb7290d81927a0cb52ae6b
2013-06-14 21:46:09 +00:00
Translation updater bot
a732fb695f
Localisation updates from http://translatewiki.net .
...
Change-Id: I50d108f82c136a81ae97732c31702aa50832b1f6
2013-06-12 19:52:05 +00:00
Translation updater bot
4988bbd7ea
Localisation updates from http://translatewiki.net .
...
Change-Id: Ic16e452949737d5f95ab8fec1ba2cd5329b227af
2013-06-11 20:50:05 +00:00
Marius Hoch
3ab18c2306
Don't try to filter uploads with an invalid title
...
This was causing fatals and is pointless anyway as
these uploads will never succeed.
Bug: 49399
Change-Id: Ifb16afe3e02854b8f53eb8dae87e13de669381ab
2013-06-11 15:21:26 +02:00
MatmaRex
697e2b2415
CSS: Minor code style fixes
...
Change-Id: Ib0b6e441be90a76a956884e0925e808ce23d25eb
2013-06-10 18:52:15 +02:00
Translation updater bot
32f16249a1
Localisation updates from http://translatewiki.net .
...
Change-Id: I761d56d2c28c1749c7a0bf771a282e1c484b51f3
2013-06-10 07:20:37 +00:00
Marius Hoch
89726ae861
Allow filtering links and html for page creations
...
Right now it's impossible to filter added_links etc.
for page creations.
(Only slightly tested)
Change-Id: Iee07fc8bfe41e78abb73d8ae969aa1e4d97339bc
2013-06-05 03:52:29 +02:00
Translation updater bot
51b19d35f3
Localisation updates from http://translatewiki.net .
...
Change-Id: I42a81298836a6f25845c09121eb852bc31d15978
2013-06-03 18:14:00 +00:00
Translation updater bot
49d6765f72
Localisation updates from http://translatewiki.net .
...
Change-Id: I46f7861f5c609db67d288ee15113842df8930e16
2013-06-03 11:38:00 +00:00
jenkins-bot
ddc511ab15
Merge "Fix AbuseFilter::disableConditionLimit()"
2013-05-29 21:38:53 +00:00
Translation updater bot
0e0b3a5343
Localisation updates from http://translatewiki.net .
...
Change-Id: Idba516737216a953a36ecd85c6f7817132bbb1ab
2013-05-29 08:33:25 +00:00
Translation updater bot
4867127c97
Localisation updates from http://translatewiki.net .
...
Change-Id: I1c88767378c6efc8d20cc9712bab5274ce2a6d54
2013-05-28 06:42:12 +00:00
Marius Hoch
a7aa0fa185
Fix AbuseFilter::disableConditionLimit()
...
Used for Special:AbuseFilter/test
Change-Id: I964efbbb0be7cae418746667778874790fdbb499
2013-05-28 00:43:33 +02:00
jenkins-bot
725ddeba4a
Merge "Hide external changes in Special:AbuseFilter/test"
2013-05-25 09:05:12 +00:00
Translation updater bot
a2d8d96772
Localisation updates from http://translatewiki.net .
...
Change-Id: Icf75bc98713a9c2896602df531880eeb5f0194e2
2013-05-25 08:22:22 +00:00
Marius Hoch
7705e90506
Hide external changes in Special:AbuseFilter/test
...
Like on /examine
Change-Id: I760ad45f9858ccf088e5a8a12ddb57770a4a4ff8
2013-05-24 22:24:06 +02:00
jenkins-bot
592caf10b6
Merge "Hide external changes in Special:AbuseFilter/examine"
2013-05-24 17:34:04 +00:00