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
Andrew Garrett
7cbfa0597a
Prettify and enhance usability of test and examine views.
...
* Adopt pretty logos for "Match" and "No Match" for visual distinguishment.
* Allow negatives to be reported as well in 'test' interface.
2009-01-30 00:54:20 +00:00
Andrew Garrett
b8903121f3
Make sure vars table can't explode beyond 80% wide -- it scrolls if it reaches that width.
2009-01-29 23:38:55 +00:00
Andrew Garrett
f9c9c07ccf
Abuse Filter changes designed for testing filters against real data:
...
* Add searching and filtering functionality to the existing 'test' interface.
* Add an 'examine' interface designed for testing filters against a previous change, selectable through the search interface in either the 'test' or the 'examine' view.
* Minor enabling change in ChangesList core, to allow subclassing.
2009-01-29 22:44:31 +00:00
Andrew Garrett
65bc2d1dcf
Fix for r46500 -- use the hook so it actually works.
2009-01-29 00:37:53 +00:00
Andrew Garrett
950fb8cf0c
Register DB updates with the updater.
2009-01-29 00:26:33 +00:00
Andrew Garrett
cb5eca50fd
Add Special:AbuseFilter/test, which allows (trusted for now, due to DoS potential) users to enter a filter, and have it checked against the last 100 RecentChanges items while-u-wait.
...
Some related cleanup to change tagging in ChangesList.
2009-01-28 23:54:41 +00:00
Andrew Garrett
8bea6e85f8
Hide action parameters if an action isn't selected.
2009-01-28 19:40:15 +00:00
Andrew Garrett
8a54e6ba00
Branch merge of change-tagging branch with trunk
...
-- Introduce tagging of individual changes (revisions, logs, and on recentchanges). The tags are customisable, and currently settable by the Abuse Filter and by the TorBlock extension. The tags can be styled on the various pages on which they appear.
-- Introduces a schema change, three new tables (valid_tag, change_tag, and tag_summary).
2009-01-28 19:08:18 +00:00
Siebrand Mazeland
18bb01c9cf
Set wgSpecialPageGroups for the special pages of AbuseFilter
2009-01-28 10:38:58 +00:00
Andrew Garrett
050575a5af
Allow users with the appropriate permission to mass-revert all actions (like blocking, deautoconfirming and degrouping) taken by a filter, with an appropriate summary.
2009-01-28 00:10:35 +00:00
Andrew Garrett
4d4da965a8
Remove obsolete comment.
2009-01-27 21:22:58 +00:00
Andrew Garrett
9775ea2787
Soften emergency disable feature, by making it only block restricted actions, rather than disabling the whole filter.
2009-01-27 20:18:58 +00:00
Andrew Garrett
c83f74b448
Mark 'block' and 'degroup' as 'restricted' actions -- actions which, if added to a filter, require the 'abusefiilter-modify-restricted' right to edit.
2009-01-27 19:51:38 +00:00
Raimond Spekking
53887bb338
* Add $wgAbuseFilterStyleVersion to SpecialAbuseLog::execute
...
* Remove one dupe call of addExtensionStyle from SpecialAbuseFilter::execute
* Bump $wgAbuseFilterStyleVersion per CSS changes in r46325
* Add a space between drop down and submit button
2009-01-27 17:32:30 +00:00
Andrew Garrett
8ddd002c14
Remove dependency on change-tagging being branch-merged to trunk for now, and fix a few miscellaneous related bugs that came up in final testing.
2009-01-23 19:23:44 +00:00
Andrew Garrett
53179c675f
Apply changes from change-tagging branch. I will remove all of the stuff actually related to change tagging in a moment, to avoid trunk changes on Wikimedia sites.
2009-01-23 19:23:19 +00:00
Andrew Garrett
150ecdb2e9
Fix up AbuseFilter syntax checking:
...
* Display result below the field, rather than at the top of the page.
* Clear the result when the field is changed, not after some arbitrary time period.
2009-01-15 19:04:36 +00:00
Andrew Garrett
56065d6a59
Re-commit re-autoconfirmation, with fixes for permissions
2008-09-29 13:30:11 +00:00
Andrew Garrett
3a00036631
Drop safeguard percentage to 5%, given the grace period has been reduced to 24h
2008-09-22 14:40:57 +00:00
Andrew Garrett
a374d100ff
Revert r41145. Restoring autoconfirmed should really have access control, eh?
2008-09-22 14:07:04 +00:00