Commit graph

4412 commits

Author SHA1 Message Date
Siebrand Mazeland 7c29d67d1b article -> page 2009-01-30 07:02:57 +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 b566499222 Missing colon in message. 2009-01-29 23:49:03 +00:00
Andrew Garrett f16a825ab2 Filter out NewPP limit report from NEW_HTML variable. It's just not really necessary, and that stuff could be included as a separate variable in any case. 2009-01-29 23:46:19 +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 2d24fcced0 Add a few missing messages, and fix a syntax error from r46557. 2009-01-29 23:36:09 +00:00
Andrew Garrett 783c69c3ba Clarify rlike v. like in builder menu. 2009-01-29 23:28:59 +00:00
Andrew Garrett 3e90ea3eea Don't show the 'disallow' action message if we're already showing other messages. 2009-01-29 23:24:24 +00:00
Andrew Garrett 189d1fde40 Minor fixes for r46557
* Don't show revisions in the examiner which can't be examined.
* Fill out some forgotten interface messages.
2009-01-29 23:04:06 +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
Siebrand Mazeland e9957027f9 Localisation updates for extension messages from Betawiki (2009-01-29 21:14 UTC) 2009-01-29 21:36:03 +00:00
Rotem Liss dc17cb8ffc * Localization update for he.
* Removing duplicate messages in en in AbuseFilter.
2009-01-29 15:49:48 +00:00
Siebrand Mazeland 33e038105c Add omitted "italic close" to 'abusefilter-edit-notes' 2009-01-29 14:30:41 +00:00
Siebrand Mazeland 83aa7cdddc Add some newlines, separating sentences 2009-01-29 09:31:19 +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
Siebrand Mazeland 35b0c98d08 Localisation updates for extension messages from Betawiki (2009-01-28 20:32 UTC) 2009-01-28 20:53:33 +00:00
Andrew Garrett 909be785f6 Style disabled and deleted filters in light gray, for visual identification. 2009-01-28 20:09:05 +00:00
Andrew Garrett e2754e1af3 Link the filter description too, as the filter ID is often too small a target for clumsy mice 2009-01-28 19:50:38 +00:00
Andrew Garrett 8bea6e85f8 Hide action parameters if an action isn't selected. 2009-01-28 19:40:15 +00:00
Andrew Garrett f4ddeab5a4 Require 'abusefilter-revert' right to display the 'revert' button on the edit page. 2009-01-28 19:12:57 +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
Alexandre Emsenhuber 60ccf6daa7 * svn:eol-style native
* svn:mime-type image/svg+xml
2009-01-28 11:56:01 +00:00
Siebrand Mazeland 6807219499 Message tweaks for AbuseFilter:
* 'abusefilter-log-entry' and 'abusefilter-log-detailedentry': $4 can lead to gramatically incorrect sentences. Worked around that.
* 'abusefilter-tools-text' and 'abusefilter-edit-oldwarning': added a period at the end of the message.
* some newlines added for localisation consistency
* trimmed triling whitespace
2009-01-28 10:53:03 +00:00
Siebrand Mazeland 18bb01c9cf Set wgSpecialPageGroups for the special pages of AbuseFilter 2009-01-28 10:38:58 +00:00
Andrew Garrett c472ec7ff0 Fix RECENT_CONTRIBUTORS query -- apparently options need to be uppercased. 2009-01-28 06:29:59 +00:00
Andrew Garrett c04e354053 Add some missing vars in the builder. 2009-01-28 02:56:47 +00:00
Andrew Garrett 36b78662b0 Refactor, pretty up and spread localisation of filter consequences (in logs, history, filter summary, etc) 2009-01-28 01:26:38 +00:00
Andrew Garrett 6a4457d8f5 Rename OLD_TEXT and NEW_TEXT to *_WIKITEXT, and add NEW_HTML and NEW_TEXT parameters, both of which come from the parsed new text -- NEW_TEXT being NEW_HTML stripped of <[^>]*>.
Relatedly, add scrollbars to long variables so they don't take over a bazillion screens.
2009-01-28 01:12:34 +00:00
Andrew Garrett 4640e09951 Add a missing file. 2009-01-28 00:36:49 +00:00
Andrew Garrett 4caef5c790 Clarify messages a little bit, to make sure that it's obvious that it reverts the changes made by the filter, not the changes that the filter matched. 2009-01-28 00:36:31 +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 ca47e8c408 Add right- message, and actually make the right do something! 2009-01-27 20:18:36 +00:00
Siebrand Mazeland 85ee0091df Localisation updates for extension messages from Betawiki (2009-01-27 19:46 UTC) 2009-01-27 19:58:18 +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
Brion Vibber 309e975f13 newlines at ends of files are nice :)
also added a /*_*/ where it was missing in one of the patches
2009-01-27 19:04:17 +00:00
Rotem Liss da9b84fcd7 Localization update for he. 2009-01-27 18:43:48 +00:00
Andrew Garrett 0f1eb8db78 SCHEMA CHANGE:
For MySQL 4.0 compatibility, store a summary of actions in the abuse_filter table.
While I'm there, make the pseudo-internal names for actions localisable and therefore actually make sense to the average user.
2009-01-27 18:32:17 +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
Rotem Liss 88bb6d6626 Localization update for he. 2009-01-27 14:59:37 +00:00
Siebrand Mazeland ad78536e2b article -> page 2009-01-27 14:06:07 +00:00
Andrew Garrett a72320d1a8 Use <div>s instead of <strong>s to highlight changed columns in history. 2009-01-27 07:11:04 +00:00
Andrew Garrett 2f8fcdc86a Fix history item links. 2009-01-27 07:05:23 +00:00
Andrew Garrett fdfc68b9e9 Disable 'check syntax' button while syntax check is pending. 2009-01-27 06:19:16 +00:00
Andrew Garrett 6131d42c5d Don't try to increment the hit counters if no filters were matched, waste of a DB query. 2009-01-27 05:22:24 +00:00
Andrew Garrett 54ee8685d3 Remove stray 'return' which was breaking hit counters. 2009-01-27 05:07:11 +00:00
Andrew Garrett 48748d8fa7 Fix use of instance methods in nextToken, which is a static method. 2009-01-27 04:09:53 +00:00