Andrew Garrett
53aea9c0ce
AbuseFilter: Resolve bug 18374, bug 28633.
...
* Store the revision ID associated with a log entry
if the action is successful.
* Expose this as a diff link in the UI.
* Implicitly hide log entries if their
corresponding revisions are also hidden.
* Includes scope for expanding to log entries if desired.
Change-Id: Ie2d43dd1bacf14289fdf0492bb22267590ee649d
2012-07-11 10:16:59 -04:00
Andrew Garrett
18bac6fed9
AbuseFilter: Make it possible to have differing default warning messages for differing filter groups.
...
Includes JS to sneakily change the default message if the user changes the filter group without having selected the "warn" action yet.
Change-Id: Ic753c3e018321dba3bf9f6d7bcee10a49c9faac8
2012-06-26 21:56:30 +02:00
Liangent
310ed92824
Add new user right: abusefilter-log-private
...
Now we can allow some users to view log entries of private abuse
filters, without assigning them the right to see how these filters
work. This feature is asked by the community.
Change-Id: Ic93856804da69d2e6cd8342e36584ae16b3a7974
2012-06-18 18:56:48 +08:00
Andrew Garrett
dc207d0cbd
Abuse Filter: Allow filters to be split into "groups" for the purposes of operating them on different types of input.
...
The purpose of this change is to allow AFTv5 developers to run a separate list of filters against article feedback actions without issues of cross-contamination and bumping up against the condition limit.
Change-Id: I758795f01eaf3ff56c5720d660cd989ef95764a7
2012-05-12 12:53:32 +10:00
Szymon Świerkosz
93b7990fa3
(bug 18080) Send filter hits and changes to irc.wikimedia.org.
...
I have introduced a new option $wgAbuseFilterNotifications which
allows to configure the extension to send hit notifications to
Special:RecentChanges or UDP. It uses ManualLogEntry class:
ManualLogEntry->publish( 0, $wgAbuseFilterNotifications )
Log entries are _not_ accessible using Special:Log, that's bug 19494.
Change-Id: Ie4bda2f97aa295c0504ba869ef1a99c7a3d20f70
2012-05-04 16:45:19 +02:00
Roan Kattouw
6c4bd57043
Revert r111217 (unreviewed rev in AbuseFilter) and its dependencies r113585, r113587, r113588, r113589.
...
All of these revisions are tagged with 'gerritmigration' and will be resubmitted into Gerrit after the Gerrit switchover. See also http://lists.wikimedia.org/pipermail/wikitech-l/2012-March/059124.html
2012-03-21 19:41:11 +00:00
Sam Reed
27fdc84e88
Swap
...
version_compare($wgVersion, '1.17alpha', '>=') ? 'antispam' : 'other'
for
'antispam'
2012-02-13 14:06:45 +00:00
Andrew Garrett
5e4289ce4e
AbuseFilter: Resolve bugs 18374, 28633.
...
* Store the revision ID associated with a log entry if the action is successful.
* Expose this as a diff link in the UI.
* Implicitly hide log entries if their corresponding revisions are also hidden.
* Includes scope for expanding to log entries if desired.
2012-02-10 23:41:05 +00:00
Mark A. Hershberger
504d830106
Revert r107454 based on concerns raised by Prodego.
2011-12-28 00:48:15 +00:00
Mark A. Hershberger
8e81b37871
Fix Bug 33380 - Details of actions caught by a private filter should be private
...
Author: Nikola Kovacs
Related patch on r107451
2011-12-28 00:26:13 +00:00
Sam Reed
7f6a9eb119
Removed $updater === null code
...
Add create user code from install.php
Delete install.php
2011-12-27 16:35:30 +00:00
Tim Weyer
24070aebf0
Replacing by in a few of most used extensions and renaming Special....php to ..._body.php
2011-12-18 10:27:44 +00:00
Brion Vibber
edb3525992
Update a butt-ton of extension about URLs to point to https://www.mediawiki.org/
2011-12-13 23:49:33 +00:00
Alexander K.
4e133035b8
Followup r102138 -- fixes according to Werdna's comment
2011-11-06 21:05:03 +00:00
Alexander K.
f128bd5931
Allow to define custom actions and their callback functions
2011-11-06 01:15:55 +00:00
John Du Hart
9c75f9907f
Followup r95572, minor tweaks per CR
2011-09-30 00:48:00 +00:00
John Du Hart
3f06314486
Followup r95572, rename API modules to reduce chance of collisions per CR
2011-09-29 23:30:42 +00:00
John Du Hart
49b54bb0bb
Follow-up to r95572, remove $wgAjaxExportList
2011-08-26 23:06:42 +00:00
John Du Hart
b30697e94c
Adds ResourceLoader support to AbuseFilter
...
Rewrote javascript to use jQuery
Added API modules to replace sajax_* calls
Solves bug 29714
2011-08-26 20:12:34 +00:00
Sam Reed
56f266da57
Create api folder, move api files into it
...
Same for special
2011-05-10 23:05:25 +00:00
Daniel Friesen
0d6bea90e2
Followup r78590, apparently the code that puts unknown categories of extensions into 'other' was not implemented until MediaWiki 1.17... *sigh* So we need to include a version check on these extensions until they stop supporting pre-1.17 versions of MediaWiki.
2010-12-20 04:05:54 +00:00
Daniel Friesen
4f44b0da96
Change extension group 'other' for some of our antispam extensions into the new 'antispam' extension groups. Pre trunk wiki will just keep displaying them in 'other' anyways till release.
2010-12-19 01:59:11 +00:00
Andrew Garrett
a2fedffabb
Abuse filter log suppression:
...
* Create a unique title for each log entry, Special:AbuseLog/X
* Log suppression and unsuppression in the suppression log like everything else.
2010-08-20 06:25:19 +00:00
Jack Phoenix
5e0330c6cc
AbuseFilter: coding style tweaks, changed some while loops to foreach (as per http://www.mediawiki.org/wiki/Manual:Coding_conventions#Assignment_expressions ) and added __METHOD__ to one DB query
2010-08-19 21:12:09 +00:00
Andrew Garrett
fe39e38282
AbuseFilter: Introduce hiding of abuse log entries, controlled by abusefilter-hidden-log and abusefilter-hide-log rights.
2010-06-25 20:04:55 +00:00
Siebrand Mazeland
2c3a3fd78a
* Remove $wgExtensionCredits['description'] where $wgExtensionCredits['descriptionmsg'] present. This feature was introduced in MediaWiki 1.12, and 'description' is not used if 'descriptionmsg' is present.
...
* Random indentation updates and trailing whitespace removed
2010-02-22 23:41:51 +00:00
Jack Phoenix
569476c27f
AbuseFilter: native parser is no more, so removing the empty parser_native folder and unused globals from setup file. See r45971 and r46090
2009-10-08 10:36:16 +00:00
Jack Phoenix
e2a16fe755
AbuseFilter: big commit - coding style & spacing cleanup; also marked SpecialPages' construct() and execute() functions as public and capitalized some SQL keywords
2009-10-07 13:57:06 +00:00
Andrew Garrett
4e3f9ab256
Add abusefilter-view-private right for viewing private abuse filters. Patch by Haza-w with stylistic and other minor adjustments
2009-07-03 14:17:05 +00:00
Andrew Garrett
f176a96fa7
(bug 18659) Allow setting AbuseFilter block duration with $wgAbuseFilterBlockDuration
2009-06-03 15:52:53 +00:00
Andrew Garrett
3b7d6574e6
(bug 18095) Trigger AbuseFilter on file upload. Presently, the only metadata is SHA1, but we'll see what we can do for other stuff on request.
2009-06-03 15:10:44 +00:00
Shinjiman
4bae4232dd
* (bug 18242) Show the Subversion revision number per extensions in Special:Version (currently applied on some extensions to get the entries file)
2009-04-26 05:22:33 +00:00
Andrew Garrett
91f46a5697
(bug 18423) Add link to filtered abuse log on Contributions. Patch by Simon Walker, with minor fixes for double-escaping and wikitext in messages.
2009-04-24 01:53:12 +00:00
Andrew Garrett
1a0fc0fea9
Add import/export interface for filters so that filters can be copied across wikis
2009-04-23 04:23:56 +00:00
Andrew Garrett
14b850f891
Implementation of global filters, including a major i18n change for abusefilter-log-detailedentry message (rename and split). Needs further testing before deployment
2009-03-30 06:12:12 +00:00
Alex Z.
16f22a498e
(bug 18063) Add API module to list filter information.
2009-03-29 04:23:20 +00:00
Alex Z.
2e9bd6dd80
(bug 18063) Add API module for abuse log (list=abuselog)
2009-03-28 23:40:27 +00:00
Chad Horohoe
1c8574bb1a
Big commit. Removing svn-version and svn-date from extensions. Per the list, these versions do not give valuable information and are often wildly inaccurate.
2009-03-26 17:39:49 +00:00
Andrew Garrett
9d9c666fea
Remove accidentally-committed code in r48856
2009-03-26 04:44:47 +00:00
Andrew Garrett
920f04d4fa
Fix batch-testing (follow-up to r48855)
2009-03-26 04:41:05 +00:00
Andrew Garrett
cf6f2899f6
Follow-up to r48674.
2009-03-22 10:34:54 +00:00
Andrew Garrett
fa216f2641
Add credit for Victor
2009-03-19 00:57:57 +00:00
Brion Vibber
8af9faf983
bump style ver
2009-03-18 20:17:33 +00:00
Andrew Garrett
da04ffee54
Bump style version
2009-03-16 23:32:44 +00:00
Andrew Garrett
5493b2a690
Add diffs to AbuseFilter. Includes a related pare-down of history, under the assumption that diffs will take up the slack
2009-03-12 05:04:39 +00:00
Andrew Garrett
fe5141c412
Add a normal log for filter changes, mostly just a pointer back to the real log.
2009-03-11 07:12:42 +00:00
Andrew Garrett
03e12503a3
(bug 17664) Handle section-editing correctly by switching from EditFilter to EditFilterMerged.
...
Also, fix a weird bug where the Abuse Filter was diffing the parsed text, not the wikitext
2009-03-04 01:56:21 +00:00
Andrew Garrett
92698e95ba
Improve AbuseFilter performance by implementing lazy initialisation of computed variables.
...
This has been done by replacing simple associative arrays with an AbuseFilterVariableHolder, which recognises helper classes called AFComputedVariables.
Computation may occur during the abuse filter analysis, or later when testing and reviewing filters.
2009-02-26 12:15:14 +00:00
Andrew Garrett
60cfbf15c7
Add a fancy selector for the warning message in the Abuse Filter edit screen, and allow inline previews of the warning messages.
2009-02-03 22:45:42 +00:00
Andrew Garrett
904e6d5c0f
Remove duplicate schema update.
2009-01-30 19:02:28 +00:00