Commit graph

7209 commits

Author SHA1 Message Date
Aryeh Gregor 3a6f410eea Follow-up to r37968: forgot to commit the change setRobotpolicy -> setRobotPolicy in extensions. 2008-07-23 19:25:48 +00:00
Siebrand Mazeland eef839b43f Localisation updates for extensions messages from Betawiki (2008-07-23 10:30 CEST) 2008-07-23 08:51:31 +00:00
Siebrand Mazeland 0483e4e99f Localisation updates for extension messages from Betawiki (2008-07-22 10:14 CEST) 2008-07-22 08:32:02 +00:00
Siebrand Mazeland e1c57a9bf8 Localisation updates for extension messages from Betawiki (2008-07-19 19:07 CEST) 2008-07-19 17:53:41 +00:00
Greg Sabino Mullane dde242bc83 Quick Postgres support.
Still have to remove some mysqlisms before it will work (e.g. group_concat)
2008-07-18 16:03:27 +00:00
Siebrand Mazeland 359565085c Localisation updates for extension messages from Betawiki (2008-07-18 16:35 CEST) 2008-07-18 14:59:21 +00:00
Andrew Garrett 75b5c18f3a AbuseFilter:
* Add a bunch of profiling, so we can figure out where performance bottlenecks are.
* Cache the in-object token cache in memcached, bringing per-condition run times from 4ms to a cooler 296us
2008-07-18 08:30:25 +00:00
Andrew Garrett f665c88bc5 AbuseFilter:
* Improve normalisation: use AntiSpoof.
* Allow callers to prevent the use of a condition counter. It's kinda annoying in batch processes.
* Improved caching of tokenisation - reduces average time to process a condition from 4ms right down to 200us
* Some new modifiers, caching of modifier data.
2008-07-18 02:18:58 +00:00
Siebrand Mazeland 8bb98c3a06 Localisation updates for extension messages from Betawiki (2008-07-17 22:24 CEST) 2008-07-17 20:42:26 +00:00
Andrew Garrett 34a4bbe10a Abuse filter updates:
* Allow matching on the changes made in an edit (added/removed lines, etc)
* Improve display of variables in details view - standardise the table size, add white-space: pre, font-family: monospace.
* Improve modifiers: add htmlencode/htmldecode/urlencode/urldecode.
* Add 'abuse filter tools', currently consisting of a testing ground for the modifiers. In future, may include facilities for testing filters against user contributions, recent changes, or other sources.
2008-07-17 13:40:45 +00:00
Andrew Garrett f34000f1fb Abuse filter updates:
* Disallow more than 100 condition-checks per action.
* Disallow filters which are misbehaving (more than 5 matches, constituting more than 5% of recent actions)
* Display statistics for all filters (percentage of times the condition limit is reached, and percentage of times some filter is matched), and individual filters (percentage of times it's matched).
2008-07-17 02:43:45 +00:00
Siebrand Mazeland e90db272d7 Localisation updates for extension messages from Betawiki (2008-07-16 18:22 CEST) 2008-07-16 16:33:47 +00:00
Siebrand Mazeland 5e1d23850c Localisation updates for extension messages from Betawiki (2008-07-15 23:25 CEST) 2008-07-15 21:54:19 +00:00
Andrew Garrett b142b81dd7 Include size delta in vars for editing 2008-07-15 08:46:17 +00:00
Siebrand Mazeland 8e710a308e Localisation updates for extension messages from Betawiki (2008-07-14 16:20 CEST) 2008-07-14 14:30:28 +00:00
Siebrand Mazeland 018cc733c3 Localisation updates for extension messages from Betawiki (2008-07-13 22:06 CEST) 2008-07-13 20:33:50 +00:00
Siebrand Mazeland fe4d852734 Localisation updates for extension messages from Betawiki (2008-07-12 15:26 CEST) 2008-07-12 13:39:25 +00:00
Siebrand Mazeland f5801d5110 Localisation updates for extension messages from Betawiki (2008-07-11 11:00 CEST) 2008-07-11 09:31:09 +00:00
Siebrand Mazeland 22ea18347d Localisation updates for extension messages from Betawiki (2008-07-11 00:09 CEST) 2008-07-10 22:35:42 +00:00
Andrew Garrett 628be08468 Remove old testing file that isn't actually being used anymore, nor relevant 2008-07-10 12:05:52 +00:00
Andrew Garrett ef2dac1a7c Add log entries for actions done by the extension. Also, properly scramble conflicting accounts by resetting email too 2008-07-09 07:02:13 +00:00
Andrew Garrett 79249b7c7e Take over accounts which already exist, so we're not giving random people admin access. 2008-07-09 03:09:25 +00:00
Siebrand Mazeland 127ec08a1d Localisation updates for extension messages from Betawiki (2008-07-08 23:21 CEST) 2008-07-08 21:45:09 +00:00
Jon Harald Søby b154126826 Changing capitalisation and CamelCase into proper text in extensions A-E.
* In Contributors extension, added PLURAL
* In DeleteBatch extension, removing capitals intended to make a button "irritatably large"; that should be done with CSS
* In EmailArticle extension, changed wording of two messages
2008-07-08 12:20:03 +00:00
Siebrand Mazeland 21af302804 Localisation updates for extension messages from Betawiki 2008-07-07 12:30:49 +00:00
Siebrand Mazeland 54078d8607 Localisation updates for extension messages from Betawiki (2008-07-07 11:59 CEST) 2008-07-07 10:15:19 +00:00
Siebrand Mazeland 52e24847bf Localisation updates for extension messages from Betawiki (2008-07-05 21:42 CEST) 2008-07-05 20:10:37 +00:00
Siebrand Mazeland 758dd48dbd Localisation updates for extension messages from Betawiki (2008-07-04 22:44 CEST) 2008-07-04 07:26:07 +00:00
Siebrand Mazeland 3fc524a59c Localisation updates for extension messages from Betawiki (2008-07-02 19:44 CEST) 2008-07-02 18:09:08 +00:00
Siebrand Mazeland 34181fe397 Localisation updates for extension messages from Betawiki (2008-07-02 16:09 CEST) 2008-07-02 15:34:15 +00:00
Bertrand Grondin 71e2879b62 Update from Betawiki translations of new extensions added into Translate features 2008-07-02 13:45:38 +00:00
Andrew Garrett c91433cbc0 Fix fatal error on account creation 2008-06-30 10:40:35 +00:00
Niklas Laxström 10652d4d79 * Added missing desc message
* Do not transform messages that are later parsed
* Split paragrahps to shorter lines, svn is bad at tracking long lines
2008-06-29 20:10:42 +00:00
Andrew Garrett 796dab30dd Clean up code a little, tell users which filters they've matched, and don't display the 'disallowed' text if that's already being done by another action. 2008-06-29 14:00:39 +00:00
Andrew Garrett cef3040152 Also allow spaces, newlines, tabs to be ignored when processing rules 2008-06-28 04:11:21 +00:00
Andrew Garrett 1fbfb12851 Give special pages names on Special:Specialpages 2008-06-27 13:06:49 +00:00
Andrew Garrett f5950703ae Respect DB prefixes in query. 2008-06-27 13:04:39 +00:00
Andrew Garrett c17d14d286 Forgot to uncomment this 2008-06-27 12:24:53 +00:00
Andrew Garrett aebb17233e Add specialratio to modifiers 2008-06-27 11:33:27 +00:00
Andrew Garrett 9a2ddd9aba Fix bug in OR condition parsing 2008-06-27 11:13:07 +00:00
Andrew Garrett 5d352d98fe Fix syntax error 2008-06-27 10:47:01 +00:00
Andrew Garrett 688036c467 Fix regression in which textareas would spontaneously contain the rest of the HTML for Special:AbuseFilter/new 2008-06-27 10:44:39 +00:00
Andrew Garrett 44da7a3dce Change primary key of abuse_filter_action from afa_filter to afa_filter,afa_consequence 2008-06-27 09:49:26 +00:00
Andrew Garrett 2cc6bdfa5e Add install.php, installer which adds the blocker account if it doesn't exist, adds the tables 2008-06-27 09:38:54 +00:00
Alexandre Emsenhuber 9c43bbe9b3 Oops 2008-06-27 09:28:39 +00:00
Alexandre Emsenhuber a180d6aba2 Fix some E_NOTICE 2008-06-27 09:26:54 +00:00
Andrew Garrett a4908befe4 === instead of == for comparing with true 2008-06-27 09:18:45 +00:00
Andrew Garrett bf1009091b Add contains to the list of operators 2008-06-27 09:11:59 +00:00
Andrew Garrett 554f8ff412 Add contains operator 2008-06-27 08:50:03 +00:00
Andrew Garrett 08890163af Handle case where no filters were matched 2008-06-27 08:34:34 +00:00