Commit graph

382 commits

Author SHA1 Message Date
Raimond Spekking 78bdadb123 Localisation updates for extension messages from translatewiki.net (2009-04-12 18:56 UTC) 2009-04-12 19:43:10 +00:00
Philip Tzou 28202160b8 Add a new function named 'convert()', allow user to convert a string to specified variant in Abuse Filter. With the support of LanguageConverter which updated on r49397. 2009-04-11 10:59:38 +00:00
Siebrand Mazeland 76c936ae02 Rebuild all extension messages files supported by Translate
* removed obsolete, reordered, etc
* source: translatewiki.net (includes updates for translations that had not yet been exported)
2009-04-09 23:24:07 +00:00
Siebrand Mazeland de9b47dd0a Localisation updates for extension messages from translatewiki.net (2009-04-09 22:30 UTC) 2009-04-09 22:40:05 +00:00
Philip Tzou a56f78b6ba follow up on r49336, typo. 2009-04-09 11:50:00 +00:00
Philip Tzou 0c41d56052 Simplified Chinese i18n translation of AbuseFilter. 2009-04-09 11:41:07 +00:00
Raimond Spekking d60623be2a Localisation updates for extension messages from translatewiki.net (2009-04-08 18:40 UTC) 2009-04-08 19:07:19 +00:00
Raimond Spekking b2d139ad1e Localisation updates for extension messages from translatewiki.net (2009-04-06 18:50 UTC) 2009-04-06 19:16:07 +00:00
Rotem Liss cb52b7bf3c Localization update for he. 2009-04-06 09:56:03 +00:00
Alexandre Emsenhuber 5c2b3f1dde Fix abusefilter-exception-outofbounds, this is a parameter 2009-04-05 20:18:02 +00:00
Victor Vasiliev 128ae5983b Introduce list (non-associated array) support into abuse filter parser. 2009-04-05 17:11:17 +00:00
Rotem Liss 9e66a03612 Localization update for he. 2009-04-05 12:05:58 +00:00
Victor Vasiliev 258d340fb5 Abuse filter:
* Introduce := operator for setting variables
* Throw an exception when user tries to override built-in variable
* Fix UTF-8 handling in fnmatch() fallback
* Copy three main abuse filters from enwiki to test suite
* Fix update.php integration
2009-04-05 11:47:42 +00:00
Siebrand Mazeland 85c34395ce Localisation updates for extension messages from translatewiki.net (2009-04-03 19:42 UTC) 2009-04-03 19:55:44 +00:00
Rotem Liss ee71415f9c Localization update for he. 2009-04-03 15:46:19 +00:00
Raimond Spekking 7d1cc76658 Use PLURAL for $3. 2009-04-03 10:59:40 +00:00
Rotem Liss 77666b1ac8 Localization update for he. 2009-04-02 09:12:54 +00:00
Raimond Spekking e18d285364 Localisation updates for extension messages from translatewiki.net (2009-04-01 17:57 UTC) 2009-04-01 18:52:14 +00:00
Rotem Liss 901a99ad19 Localization update for he. 2009-04-01 12:50:07 +00:00
Andrew Garrett 7c2a7a2fe0 Support for variable setting with the set_var function, and multiple expressions separated by semicolons (;). In evaluation, the result of the LAST expression will be the return value. 2009-04-01 06:53:18 +00:00
Andrew Garrett ba0b30a054 Add syntax error messages for invalid regexes 2009-04-01 05:56:24 +00:00
Andrew Garrett 3f62707206 String manipulation functions substr, str_replace and strpos for AbuseFilter 2009-04-01 05:05:23 +00:00
Andrew Garrett 57d1a0b16e Add timestamp variable 2009-04-01 03:59:58 +00:00
Rotem Liss 3e3f565472 Localization update for he. 2009-03-31 18:13:57 +00:00
Andrew Garrett 186fc67373 Crackdown on filter evaluation by users unable to modify filters. This is a DoS vector which I thought I'd already plugged. 2009-03-31 15:13:26 +00:00
Raimond Spekking 9d300aeafb Localisation updates for extension messages from translatewiki.net (2009-03-30 19:55 UTC) 2009-03-30 20:35:14 +00:00
Rotem Liss 17dee862f2 Localization update for he. 2009-03-30 18:17:09 +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
Siebrand Mazeland 05c9882663 Localisation updates for extension messages from translatewiki.net (2009-03-29 22:17 UTC) 2009-03-29 22:26:09 +00:00
Siebrand Mazeland d7d3737eaf Fix typo in 'abusefilter-edit-builder-misc-tern' 2009-03-29 16:07:39 +00:00
Raimond Spekking a8c47b2a0a Localisation updates for extension messages from translatewiki.net (2009-03-28 21:50 UTC) 2009-03-28 22:26:10 +00:00
Raimond Spekking e94659bba8 Localisation updates for extension messages from translatewiki.net (2009-03-26 19:26 UTC) 2009-03-26 20:31:32 +00:00
Rotem Liss 9943dfeb9a Fix typo. 2009-03-26 14:30:09 +00:00
Rotem Liss 3cd0f2c5c7 Localization update for he. 2009-03-26 14:21:12 +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 c597c1915f Add contains_any function, for searching a single haystack for multiple needles. Implemented with FSS with a fallback to a for loop, so it should be really fast. 2009-03-26 02:03:32 +00:00
Andrew Garrett 86e4081206 Abuse Filter Parser:
* Efficiency -- use /A instead of PREG_OFFSET_CAPTURE and comparing offsets.
* Expand error messages to enhance debugging.
* General code quality
2009-03-25 11:36:38 +00:00
Raimond Spekking 8dfd648706 Localisation updates for extension messages from translatewiki.net (2009-03-24 20:05 UTC) 2009-03-24 20:24:05 +00:00
Siebrand Mazeland f95d35be00 Localisation updates for extension messages from translatewiki.net (2009-03-23 18:54 UTC) 2009-03-23 19:15:02 +00:00
Rotem Liss 8867569f8b Localization update for he. 2009-03-22 12:25:43 +00:00
Andrew Garrett 903cd76bd8 Fix output for examine interface in cases where no edits are available 2009-03-22 03:12:53 +00:00
Raimond Spekking 6805b4235a Localisation updates for extension messages from translatewiki.net (2009-03-20 09:36 UTC) 2009-03-20 09:52:26 +00:00
Brion Vibber 310f85507f Follow-up to r48174 "* add GENDER support for 'abusefilter-reautoconfirm-done' and 'abusefilter-reautoconfirm-none'"
Don't forget the neutral default in English! :)
2009-03-20 01:58:25 +00:00
Rotem Liss 39870ee458 Localization update for he. 2009-03-19 14:18:24 +00:00
Andrew Garrett 82c958e434 Document contains, ternery operator and conditionals 2009-03-19 05:11:55 +00:00
Andrew Garrett 966b020e6b Document rmspecials, rmwhitespace, ip_in_range 2009-03-19 05:06:39 +00:00
Andrew Garrett f234bcf66d Add basic filter profiling to AbuseFilter -- display on the edit filter page the average time taken to run the filter. Currently sampling at 1/50 2009-03-19 02:40:48 +00:00
Raimond Spekking 47e8d6ef1c Localisation updates for extension messages from translatewiki.net (2009-03-18 20:02 UTC) 2009-03-18 20:26:20 +00:00
Rotem Liss 7b4dff38ae Localization update for he. 2009-03-18 16:05:03 +00:00
Andrew Garrett 667c566423 Add a diff, if applicable, below the var dump in abuse log details 2009-03-18 05:45:36 +00:00
Rotem Liss f48d562b20 * Localization update for he.
* In WikimediaMessages: Changing grouppage-bigexporter to grouppage-bigexport, to match the group and group member messages, and the original definition.
* In core: Rebuilding English file.
2009-03-17 20:31:43 +00:00
Andrew Garrett 0ce853e093 Prevent leaking of hidden filters through history interface. 2009-03-17 13:18:33 +00:00
Raimond Spekking de5e906b76 Localisation updates for extension messages from translatewiki.net (2009-03-16 19:23 UTC) 2009-03-16 19:44:48 +00:00
Rotem Liss 26597d4257 Localization update for he. 2009-03-13 16:48:14 +00:00
Raimond Spekking 7dde267c91 Localisation updates for extension messages from translatewiki.net (2009-03-12 21:40 UTC) 2009-03-12 21:58:12 +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
Rotem Liss c17b47741f Localization update for he. 2009-03-11 09:38:42 +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 3a55ecbc85 Link together abusefilter pages with a navigation interface at the top. Add a better intro to the abusefilter home page. 2009-03-11 05:55:06 +00:00
Andrew Garrett 05b6efd7d6 Message that has been missing for god knows how long. 2009-03-11 01:51:25 +00:00
Raimond Spekking 556218169f Localisation updates for extension messages from translatewiki.net (2009-03-10 20:50 UTC) 2009-03-10 21:05:10 +00:00
Siebrand Mazeland 23685aa82f Localisation updates for extension messages from translatewiki.net (2009-03-09 22:54 UTC) 2009-03-09 23:12:20 +00:00
Rotem Liss 7e6b548b4c Localization update for he. 2009-03-08 20:48:29 +00:00
Raimond Spekking 97e2eb8431 Localisation updates for extension messages from translatewiki.net (2009-03-08 19:57 UTC) 2009-03-08 20:35:28 +00:00
Siebrand Mazeland 5ebcee6089 * add GENDER support for 'abusefilter-reautoconfirm-done' and 'abusefilter-reautoconfirm-none'
* update message 'abusefilter-reautoconfirm-none'
2009-03-08 18:32:59 +00:00
Siebrand Mazeland 360fde72d4 Localisation updates for extension messages from translatewiki.net (2009-03-07 17:28 UTC) 2009-03-07 17:45:21 +00:00
Rotem Liss 900f7d8992 Localization update for he, and several fixes in en. 2009-03-07 14:06:59 +00:00
Andrew Garrett 55b417f517 Add rcount function, same as count except it takes a regex as the needle 2009-03-07 01:26:42 +00:00
Raimond Spekking 58fdf4f05d * Add Language::semicolonList() function
** Todo: combine all three list functions (comma, semicolon, pipe) into one function with a parameter?
* Use pipe as backlink separator to be consistent with other navigation elements
* Show the colon for case 'afh_actions' only if parameters exist
** Remove the now useless message
* Localize the usages of comma and semicolon
2009-03-06 10:56:37 +00:00
Siebrand Mazeland d504b8ee5e Localisation updates for extension messages from translatewiki.net (2009-03-05 23:24 UTC) 2009-03-05 23:41:28 +00:00
Rotem Liss eed62fed53 Localization update for he. 2009-03-05 19:22:37 +00:00
Raimond Spekking 949aa2ec69 Localisation updates for extension messages from translatewiki.net (2009-03-04 20:19 UTC) 2009-03-04 20:51:07 +00:00
Andrew Garrett be7dcd9b3b (bug 17674) Add minor_edit variable to AbuseFilter 2009-03-04 02:04:48 +00:00
Raimond Spekking 2d10caf937 Add a full stop at the end of a sentence 2009-03-03 20:04:03 +00:00
Raimond Spekking 5f54cf15a1 Localisation updates for extension messages from translatewiki.net (2009-03-02 20:53 UTC) 2009-03-02 21:24:26 +00:00
Siebrand Mazeland ef717b6ce3 Localisation updates for extension messages from translatewiki.net (2009-03-01 20:51 UTC) 2009-03-01 21:05:55 +00:00
Raimond Spekking c19d44ba1b Localisation updates for extension messages from translatewiki.net (2009-02-28 20:04 UTC) 2009-02-28 20:34:14 +00:00
Bertrand Grondin 6fe27717cf Localisation updates Special:AbuseFilter from Betawiki (french translation) 2009-02-28 14:58:29 +00:00
Rotem Liss 847e7fd159 Localization update for he. 2009-02-27 09:37:06 +00:00
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
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 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
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
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
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
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