Commit graph

472 commits

Author SHA1 Message Date
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
Siebrand Mazeland 1df448d530 Localisation updates for extensions messages from translatewiki.net (2009-02-07 21:24 UTC) 2009-02-07 22:04:21 +00:00
Tim Starling c8b0007232 * Break long lines. If I'm going to review this code, I need to be able to read it.
* Write array literals with one item per line. This makes diffs which add or remove items far easier to interpret, and makes merging such changes feasible. And it looks nicer too.
* Use line breaks to show the logical structure of your code. This enhances readability. Bring similar elements in a list into alignment, in order to reveal the differences between those elements at a glance.
* Removed a fun game of spot-the-difference in AbuseFilterHistoryPager::getQueryInfo(). If I want fun games I'll play UFO:AI.
* Moved some oddly placed assignments (in expressions) to their own statements: such assignments reduce readbility.
2009-02-07 09:34:11 +00:00
Andrew Garrett 53edcafc69 Reduce exception on encountering an unrecognised action to a debug log message. 2009-02-07 02:26:56 +00:00
Siebrand Mazeland 050e623836 Localisation updates for extension messages from translatewiki.net (2009-02-05 18:09 UTC) 2009-02-05 18:20:16 +00:00
Andrew Garrett 0b9f621633 Whitespace 2009-02-04 22:16:06 +00:00
Andrew Garrett 334e5a6b09 Fix examine links in AbuseLog. 2009-02-04 21:22:41 +00:00
Rotem Liss c202f89003 Localization update for he. 2009-02-04 20:52:06 +00:00
Andrew Garrett dd52ffe658 Variable naming conflict. 2009-02-04 19:59:52 +00:00
Andrew Garrett 7dd35167ee Show filter itself, rather than the private comments, in the recent filter changes display. 2009-02-04 19:56:21 +00:00
Andrew Garrett fcdfd79c67 Allow Abuse Log entries to be examined in the same way recent changes items are. 2009-02-04 19:51:03 +00:00
Siebrand Mazeland 3617248d13 Localisation updates for extension messages from translatewiki.net (2009-02-04 18:04 UTC) 2009-02-04 18:20:54 +00:00
Rotem Liss 7fc78be483 Localization update for he. 2009-02-04 13:20:40 +00:00
Andrew Garrett bcf5381eec Fix up throttling -- was allowing one extra action. 2009-02-03 23:44:47 +00:00
Andrew Garrett 5cfbee6e22 Clarify title for history page 2009-02-03 23:21:09 +00:00
Rotem Liss a49ad34249 Localization update for he. 2009-02-03 23:14:01 +00:00
Andrew Garrett 9e5d11e46b Add an edit link too. 2009-02-03 22:54:46 +00:00
Rotem Liss a4574866e2 Localization update for he. 2009-02-03 22:50:23 +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 0918642869 Fix tester for titles which don't seem to work properly. 2009-02-03 18:48:16 +00:00
Andrew Garrett 3e67f66246 Add a missing field in SELECT. 2009-02-03 18:07:11 +00:00
Andrew Garrett 3d13a2dc92 Fix double-prefixing. 2009-02-03 00:15:12 +00:00
Andrew Garrett 2e41b7d9d7 Fix abuse filter blocking *everything*. 2009-02-02 23:30:48 +00:00
Andrew Garrett 9eca9a7857 E_NOTICE 2009-02-02 17:57:06 +00:00
Rotem Liss 05e8d8490a Localization update for he. 2009-02-02 16:06:01 +00:00
Alexandre Emsenhuber a9e5660c49 PLURAL support in 'abusefilter-test-intro' 2009-02-02 15:37:08 +00:00
Siebrand Mazeland 779775cf2a Localisation updates for extension messages from Betawiki (2009-02-02 14:46 UTC) 2009-02-02 15:01:57 +00:00
Siebrand Mazeland da3f33884b Localisation updates for extension messages from Betawiki (2009-02-01 13:41 UTC) 2009-02-01 14:04:42 +00:00
Rotem Liss bc80e34d71 Localization update for he; removing self-link and some other fixes in en:. 2009-02-01 12:59:59 +00:00
Siebrand Mazeland 9d75e9f4e6 Localisation updates for extension messages from Betawiki (2009-01-31 23:29 UTC) 2009-01-31 23:50:10 +00:00
Andrew Garrett 6f91720eac Allow af_public_comments to be wikitext.
Relatedly, add parseInline function to OutputPage, to avoid duplicating the same awful regex in wfMsgExt.
2009-01-31 01:59:13 +00:00
Andrew Garrett 5c6da8cbda Char location instead of vague 'at end'. 2009-01-31 00:20:26 +00:00
Andrew Garrett 430c95a60d Make variable names and keywords case-insensitive. 2009-01-30 23:46:25 +00:00