Commit graph

7424 commits

Author SHA1 Message Date
Translation updater bot d693a1bca6 Localisation updates from http://translatewiki.net.
Change-Id: Iff510e8f0e807295a38aeea02f184f96c87744c9
2012-05-13 19:50:35 +00:00
Translation updater bot 285a23b368 Localisation updates from http://translatewiki.net.
Change-Id: Ic6493b6b58e65d54dc3167abb6a503f0eec1c856
2012-05-12 17:43:53 +00:00
Andrew Garrett dc207d0cbd Abuse Filter: Allow filters to be split into "groups" for the purposes of operating them on different types of input.
The purpose of this change is to allow AFTv5 developers to run a separate list of filters against article feedback actions without issues of cross-contamination and bumping up against the condition limit.

Change-Id: I758795f01eaf3ff56c5720d660cd989ef95764a7
2012-05-12 12:53:32 +10:00
Translation updater bot cbb2ed008c Localisation updates from http://translatewiki.net.
Change-Id: I5adf95b365a7260a8d5e960afc3c5b15901de63d
2012-05-11 22:39:35 +00:00
Translation updater bot f3361c9d1c Localisation updates from http://translatewiki.net.
Change-Id: I47792972911ea2f7da65bd9a57986c788751eb1a
2012-05-10 20:13:45 +00:00
Szymon Świerkosz 36257344f1 (bug 20272) AbuseFilter does not handle autocreation of accounts.
This change depends on I92f57fc2c3189c42157478de14a8d48045a253b5.

This change provides a handler for AbortAutoAccount hook and adds new
action to the filter: autocreateaccount. Every time the AbortAutoAccount
is invoked the filter is executed. This may create some issues with
users which are affected by a filter, because it may be triggered on
every page view. The AbuseFilter relies on CentralAuth session
blacklisting - for each session the filter will be triggered only
once and then the autocreationg of account will not be attempted.

I don't know why AbortNewAccount hook takes as $message argument
a text of message, however AbortAutoAccount takes a name of the
message. This makes impossible to produce a user friendly message
why account creation is not allowed.

Change-Id: Ie3a7ee9210fd884d214ad3132a502a00332c3138
2012-05-10 10:08:48 +02:00
Translation updater bot d62b890dcf Localisation updates from http://translatewiki.net.
Change-Id: Id228e29d3aa197d032a6a6855aea59567cd08595
2012-05-09 20:28:59 +00:00
Reedy 17cf02578f Merge "Replace a deprecated wfGetIP() call with $wgRequest->getIP()" 2012-05-09 19:54:55 +00:00
Translation updater bot 9c6ab9d052 Localisation updates from http://translatewiki.net.
Change-Id: I257df0449b61eed6713a70bb18c618ab57af8f33
2012-05-08 20:07:54 +00:00
Szymon Świerkosz fb01065583 Replace a deprecated wfGetIP() call with $wgRequest->getIP()
Change-Id: Iad77e7e352afb0d7e065769048ed1d1da25cf867
2012-05-08 09:50:11 +02:00
Translation updater bot e26d8be63d Localisation updates from http://translatewiki.net.
Change-Id: Ic3f2b8d68d51a776ed3c8cdb8b82940ba302d709
2012-05-07 20:39:52 +00:00
Translation updater bot f5d89e0d59 Localisation updates from http://translatewiki.net.
Change-Id: Ia49094308358774208ffdf9e7452d4e293e8a39b
2012-05-06 18:56:43 +00:00
Werdna aed6dd0010 Merge "(bug 18080) Send filter hits and changes to irc.wikimedia.org." 2012-05-06 03:57:03 +00:00
Translation updater bot 8739fc96fa Localisation updates from http://translatewiki.net.
Change-Id: Iee3c54ca20dce1074e337686443bdc9bdc496b9a
2012-05-05 09:33:15 +00:00
Szymon Świerkosz 93b7990fa3 (bug 18080) Send filter hits and changes to irc.wikimedia.org.
I have introduced a new option $wgAbuseFilterNotifications which
allows to configure the extension to send hit notifications to
Special:RecentChanges or UDP. It uses ManualLogEntry class:
ManualLogEntry->publish( 0, $wgAbuseFilterNotifications )

Log entries are _not_ accessible using Special:Log, that's bug 19494.

Change-Id: Ie4bda2f97aa295c0504ba869ef1a99c7a3d20f70
2012-05-04 16:45:19 +02:00
Werdna 0ddac4e5be Merge "(bug 20310) Invalid value of edit_diff" 2012-05-04 04:30:25 +00:00
Reedy 05c082af20 Bug 36499 - AbuseFilter: Call to a member function getRawText() on a non-object
PHP Fatal error:  Call to a member function getRawText() on a non-object in /usr/local/apache/common-local/php-1.20wmf1/extensions/AbuseFilter/AbuseFilter.hooks.php on line 29

Change-Id: I4ce74e641cc10371ef75dc872add23aa052022d2
2012-05-04 00:36:12 +01:00
Translation updater bot 233c7b3555 Localisation updates from http://translatewiki.net.
Change-Id: Id49d8c358b12f987b35515fe19c4d5f74db6ceba
2012-05-01 18:36:52 +00:00
Translation updater bot a684dca699 Localisation updates from http://translatewiki.net.
Change-Id: I4b73f063ab8710857327de75cdc16a3ba49d874f
2012-04-30 20:26:16 +00:00
Szymon Świerkosz 1ba92ac870 (bug 20310) Invalid value of edit_diff
This change makes EditFilterMerged handler replace all \r\n with \n.

Parser::preSaveTransform replaces \r\n with \n for all texts, so
there are no \r in the database. The hook EditFilterMerged is run
before the text is processed by Parser::preSaveTransform, so the
diff will be useless if the client sends content with \r\n as line
endings.

Change-Id: If81fe7cc5e3af51a6564f86597d3afaefc7ad4b7
2012-04-29 11:03:42 +02:00
Translation updater bot 0c6faec654 Localisation updates from http://translatewiki.net.
Change-Id: I3e9fb56c0adbb16ad0b294289fffa11b3b8cc05d
2012-04-27 20:00:28 +00:00
Translation updater bot 184bbe3507 Localisation updates from http://translatewiki.net.
Change-Id: I15d10f2116531fb6299d5d71b58f465b218f17e2
2012-04-26 19:17:25 +00:00
Werdna 23417ce4e8 Merge "Add documentation for message "abusefilter-edit-builder-funcs-rescape"" 2012-04-26 14:34:18 +00:00
Werdna d6859cee64 Merge "The message "abusefilter-tools-subtitle" is not there." 2012-04-26 14:32:21 +00:00
Translation updater bot 01f8e588cb Localisation updates from http://translatewiki.net.
Change-Id: I40e1bd5e5edaa552e235f938777a17a729246ffe
2012-04-25 19:29:24 +00:00
Translation updater bot cb4a763fb9 Localisation updates from http://translatewiki.net.
Change-Id: I98f3cfa8d871c1584f580a9fd97389d4026be110
2012-04-24 19:42:20 +00:00
Demon ad0f50b4db Merge "(bug 18145) Diffs on some /details views are stretched horizontally." 2012-04-23 21:24:49 +00:00
Translation updater bot c74e04f5b8 Localisation updates from http://translatewiki.net.
Change-Id: Ib860d3736a5f97573f8e3edc083d772cd4f5e22c
2012-04-23 19:49:24 +00:00
Translation updater bot 8c98e37400 Localisation updates from http://translatewiki.net.
Change-Id: Iaa177eb8323ac935b8f6327442ee07a616c45516
2012-04-22 19:08:33 +00:00
Translation updater bot 7f1a82cfe3 Localisation updates from http://translatewiki.net.
Change-Id: Ieacf3b31061e7dd844f6dc8dcec343c2224203cd
2012-04-21 18:53:13 +00:00
Translation updater bot b4c60f9021 Localisation updates from http://translatewiki.net.
Change-Id: I998be55dbea5415c0dbb16a05607c73131f127dd
2012-04-20 19:00:59 +00:00
Liangent 5c982813ca Add documentation for message "abusefilter-edit-builder-funcs-rescape"
Change-Id: Iffe8694b0b23fd21e5ac840aebd6ef82991880e0
2012-04-20 22:52:31 +08:00
Reedy c8e7bbd4db Merge "(bug 35964) Fix warning in maintenance/update.php with AbuseFilter extension" 2012-04-20 09:50:53 +00:00
Translation updater bot abc82ab343 Localisation updates from http://translatewiki.net.
Change-Id: I6a4d6d85801a8bf4fb3b2203ee38d240e177f4c1
2012-04-19 21:43:32 +00:00
Liangent 82856ee050 The message "abusefilter-tools-subtitle" is not there.
Change-Id: Iab3797e5bf4d7bfb793882dcc5f4bfb272bb4068
2012-04-19 19:32:59 +08:00
Translation updater bot 56e39a3483 Localisation updates from http://translatewiki.net.
Change-Id: I6e9d12dfa3ec906ebafbc8ec1f59476c21c580e3
2012-04-18 20:22:43 +00:00
Translation updater bot f63cfe2cdb Localisation updates from http://translatewiki.net.
Change-Id: Ibb0ef50053ae8c3687f543911033bc9a1bdcb31c
2012-04-16 16:08:18 +00:00
Alexandre Emsenhuber 686fb84777 (bug 35964) Fix warning in maintenance/update.php with AbuseFilter extension
The fourth parameter to "changeField" call was not present resulting in
"Warning:  Missing argument 4 for PostgresUpdater::changeField()" and
"Notice:  Undefined variable: default"
($default is the fourth parameter of PostgresUpdater::changeField()).

Change-Id: I271be91e5ba248692dcd9d48c5a5e97f938003aa
2012-04-14 22:18:20 +02:00
Szymon Świerkosz 36678a7b00 (bug 18145) Diffs on some /details views are stretched horizontally.
I have changed the table-layout to fixed
and increased width from %80 to 100%.

Change-Id: I7a3c6c1bfe491b8e5182f05bc2df2c1d016120d7
2012-04-13 16:52:00 +02:00
Reedy 434a740ef8 Bug 35886 - AbuseLog broken with upgrade to mediawiki 1.20
Change-Id: I15217295d83c75254399e38633e965f4b230f83f
2012-04-11 14:45:57 +01:00
Liangent 2a2e1d5b06 Add message for function "rescape"
Change-Id: I40810d9d7b51aa8ef8fb287a98ce5e1c6c2260cf
2012-03-28 14:34:49 +08:00
Sam Reed 8417c901f7 Few more types top flesh out the previous revisions
Change-Id: I1215dcf92f1b64e744c9ab41e0c5c046114dd48c
2012-03-26 16:03:23 +02:00
Sam Reed 69e582dc17 More documentation stubs
Fix Html::inputLabel to Xml::inputLabel

Fix up some deprecated code

Change-Id: If6503b1794d89666206802591094949e5d715ac1
2012-03-26 16:03:23 +02:00
Sam Reed bea9cb0874 A LOT of function level documentation
Change-Id: I8b591be3c2da7cfb29d3be026772816d14037d37
2012-03-26 16:03:22 +02:00
Sam Reed deeb01adaa Documentation
Ping r111217, fix $fdb, rename it $dbw

Change-Id: I004615a13b3292d5b071a48494125a9d7c5aad73
2012-03-26 16:03:22 +02:00
Translation updater bot 51e856b102 Translation updates from translatewiki.net
Change-Id: I7495a30f24be6e0d3dc439a565ff62aba1ebcd98
2012-03-23 18:51:12 +00:00
Translation updater bot e8bbf60f82 Translation updates from translatewiki.net
Change-Id: I992117832b25c9bbd003668dbf30c8907cf23fd6
2012-03-23 15:32:08 +00:00
Catrope 7b67f29e03 Add .gitreview file
Change-Id: I822787690a542e9a661e28cbd39a5d7453a0af19
2012-03-22 13:55:41 -07:00
Roan Kattouw 6c4bd57043 Revert r111217 (unreviewed rev in AbuseFilter) and its dependencies r113585, r113587, r113588, r113589.
All of these revisions are tagged with 'gerritmigration' and will be resubmitted into Gerrit after the Gerrit switchover. See also http://lists.wikimedia.org/pipermail/wikitech-l/2012-March/059124.html
2012-03-21 19:41:11 +00:00
Sam Reed 946571c063 Many other occurance/occurence typos 2012-03-19 14:59:29 +00:00