Commit graph

504 commits

Author SHA1 Message Date
Raimond Spekking 3b77ef1f6c /me slaps /me for silly english. Thanks to Siebrand :) 2009-02-27 09:19:30 +00:00
Raimond Spekking 86e29672a9 Add a summary message 2009-02-27 09:12:25 +00:00
Raimond Spekking d0977bda88 Add 'action-$right' messages 2009-02-27 08:11:34 +00:00
Andrew Garrett f94f42b506 Store Abuse Filter variable dumps to external storage instead of leaving in afl_var_dump. afl_var_dump needs to be left as a BLOB for the moment for backwards-compatibility. 2009-02-27 03:06:19 +00:00
Andrew Garrett b34f35ff40 svn add AbuseFilterVariableHolder.php 2009-02-27 00:03:30 +00:00
Andrew Garrett a7bc94cc80 Convert afl_var_dump to a LONGBLOB 2009-02-26 23:41:50 +00:00
Raimond Spekking 869fd3f600 Fix for r47847. 2009-02-26 21:48:49 +00:00
Raimond Spekking 4999b71593 Show the timestemp in users preference timezone
Tweak special page aliases for 'de'
2009-02-26 21:45:07 +00:00
Rotem Liss 128fb64fb0 Localization update for he. 2009-02-26 20:15:42 +00:00
Raimond Spekking 97a9f4a585 Localisation updates for extension messages from translatewiki.net (2009-02-26 19:33 UTC) 2009-02-26 19:55:11 +00:00
Siebrand Mazeland 67c7a5a904 article -> page 2009-02-26 12:23:52 +00:00
Andrew Garrett 787672cdf7 Don't pointlessly add lots of whitespace to the end of rules. One newline is enough 2009-02-26 12:22:26 +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
Raimond Spekking 3beeec7250 Remove unused message 2009-02-26 09:54:30 +00:00
Siebrand Mazeland 4481cb5afa Localisation updates for extension messages from translatewiki.net (2009-02-25 22:32 UTC) 2009-02-25 22:58:35 +00:00
Raimond Spekking 68909a26dd * Remove full stops from 2 messages
* Add colon to 1 message
for consistency with similar messages
2009-02-25 21:52:44 +00:00
Andrew Garrett 98a94ff5d9 Fix Abuse Filter after-the-fact var generation -- was using request IP address in place of IPs for anonymous changes 2009-02-25 04:31:53 +00:00
Andrew Garrett e0cd6a327c Fatal 2009-02-25 02:40:05 +00:00
Andrew Garrett 057f9f80db Normalise usernames before searching for them in Abuse Filter examine and test interfaces. 2009-02-25 02:33:09 +00:00
Raimond Spekking 4f7bf955de Localisation updates for extension messages from translatewiki.net (2009-02-24 19:52 UTC) 2009-02-24 20:22:25 +00:00
Siebrand Mazeland 0ffb9504ff Localisation updates for extension messages from translatewiki.net (2009-02-23 21:43 UTC) 2009-02-23 22:00:14 +00:00
Raimond Spekking 8c2f0144cd Localisation updates for extension messages from translatewiki.net (2009-02-22 21:02 UTC) 2009-02-22 20:27:34 +00:00
Siebrand Mazeland ff9c349a2c Localisation updates for extension messages from translatewiki.net (2009-02-21 17:44 UTC) 2009-02-21 18:23:03 +00:00
Raimond Spekking fb96e5aab9 Localisation updates for extension messages from translatewiki.net (2009-02-20 20:09 UTC) 2009-02-20 20:33:43 +00:00
Andrew Garrett 2f4a66e862 Do not display tools if there are not any 2009-02-19 23:52:08 +00:00
Siebrand Mazeland e5ab9fa681 Localisation updates for extension messages from translatewiki.net (2009-02-19 21:36 UTC) 2009-02-19 22:12:31 +00:00
Rotem Liss 56c1db6bec Localization update for he. 2009-02-19 12:25:30 +00:00
Andrew Garrett 20c9542fe3 Another silly reautoconfirm bug -- nothing was being returned. 2009-02-19 00:18:31 +00:00
Andrew Garrett feae69f031 Silly syntax error 2009-02-18 23:32:56 +00:00
Andrew Garrett 08d6218ee1 Always include afh_pattern in the fields to select. 2009-02-18 21:43:32 +00:00
Andrew Garrett 05ea5b783d Add rmwhitespace function 2009-02-18 19:42:01 +00:00
Andrew Garrett 1c87a7ba69 Fix some silly bugs in reautoconfirmation 2009-02-18 19:34:36 +00:00
Siebrand Mazeland 7442d14517 Localisation updates for extension messages from translatewiki.net (2009-02-17 21:00 UTC) 2009-02-17 21:23:38 +00:00
Siebrand Mazeland 11da5f1530 Localisation updates for extensions from translatewiki.net
* updates for special page aliases
2009-02-17 18:47:38 +00:00
Raimond Spekking 73b3d3ac89 Localisation updates for extension messages from translatewiki.net (2009-02-16 17:30 UTC) 2009-02-16 18:44:29 +00:00
Siebrand Mazeland 4639579c09 Localisation updates for extension messages from translatewiki.net (2009-02-15 18:43 UTC) 2009-02-15 19:02:29 +00:00
Siebrand Mazeland 5bbe5f2782 Localisation updates for extension messages from translatewiki.net (2009-02-14 11:51 UTC) 2009-02-14 12:03:26 +00:00
Raimond Spekking 22f57ec7d7 * Replace hardcoded '...' as indication of a truncation with the 'ellipsis' message
Per Brion's suggestion in http://lists.wikimedia.org/pipermail/wikitech-l/2008-December/040796.html
2009-02-13 19:13:48 +00:00
Andrew Garrett d3d4333f42 Fix silly fatal 2009-02-13 18:30:34 +00:00
Andrew Garrett 64154e283d Correctly deal with emergency disabling, hit counts, etc for filters with 'throttle' and 'warn' actions. 2009-02-13 01:40:57 +00:00
Rotem Liss cd8a17af7e Localization update for he. 2009-02-12 12:56:38 +00:00
Andrew Garrett 32d676942d Remove remnants of ctype_, and replace them with appropriate regexes (which, while slower, are locale-safe). 2009-02-11 20:01:00 +00:00
Andrew Garrett 35e61feeb6 Abuse Filter Parser updates
* Deprecate parseTokens in favour of a parse-as-you-go approach, faster and uses less memory.
* Display variables in lower_case so they aren't SHOUTING_AT_PEOPLE.
* Tell people if they try to use variables that don't exist, rather than silently returning NULL.
2009-02-11 20:00:33 +00:00
Rotem Liss e1d2743d7a Localization update for he. 2009-02-11 19:20:18 +00:00
Siebrand Mazeland 271a0a7aad Localisation updates for extension messages from translatewiki.net (2009-02-11 18:17 UTC) 2009-02-11 18:38:18 +00:00
Andrew Garrett 0880f444b1 Abuse Filter Parser updates:
* Use strcspn to scan ahead for long regions of uninteresting text in string handling (performance).
* Remove cruft specific to my system in phpTest.php.
* Remove a test that was in incorrect syntax, and useless without adding variable support.
2009-02-11 18:23:21 +00:00
Andrew Garrett bfe57be65d Rewrite of Abuse Filter parser tokeniser.
I've made it more performant and fixed a few bugs by using regexes
instead of PHP loops, where possible, under the assumption that the
PCRE parser is more efficient than the same thing implemented in pure PHP.
Also, I'm now passing the same string around and calculating offsets, which
Tim tells me is far more performant than continually truncating the same string.

All tests still pass, with the exception of string.t, which I've modified
to remove the offending code, which never worked.
2009-02-11 01:41:51 +00:00
Siebrand Mazeland 6c9266d8e3 Localisation updates for extension messages from translatewiki.net (2009-02-10 23:29 UTC) 2009-02-10 23:48:58 +00:00
Siebrand Mazeland 112e031ecd Localisation updates for extension messages from translatewiki.net (2009-02-10 06:41 UTC) 2009-02-10 07:01:19 +00:00
Siebrand Mazeland bc91dc3843 Localisation updates for extension messages from translatewiki.net (2009-02-08 22:48 UTC) 2009-02-08 23:02:36 +00:00