Go to file
daniel c673fe60d9 (bug 44243) Avoid fatal error for non-text content.
AFComputedVariable::compute() caused fatal errors when trying to handle
non-text content, e.g. in Special:AbuseLog.

For now, we just stub out some variables for non-textual content. Extensions
can still provide values for these using the AbuseFilter-interceptVariable hook.
A real solution requires us to make the Content object available along with the
variable array, or at the very least log the base revision id of filtered changes.

Change-Id: I795549b733f2f418b471223786d206fd8925d8fc
2013-01-23 18:10:58 +01:00
api Merge "(bug 42802) Let the client specify multiple filters for list=abuselog" 2012-12-19 20:23:20 +00:00
db_patches Add Global Rules 2012-08-27 03:30:07 +00:00
modules Fix AbuseFilter JS 2012-10-26 16:21:08 +02:00
special (bug 34946) Make afl_user_text availible as $9 for log entries 2012-12-16 04:21:13 -06:00
tests svn:eol-style native 2009-04-09 20:45:31 +00:00
Views (bug 18174) Added Older and Newer change link to Abusefilter diff 2013-01-18 10:42:22 +01:00
.gitignore Add .gitignore 2012-05-21 01:27:29 +01:00
.gitreview Add .gitreview file 2012-03-22 13:55:41 -07:00
AbuseFilter.alias.php Localisation updates from http://translatewiki.net. 2012-12-02 20:36:26 +00:00
AbuseFilter.class.php (bug 18174) Added Older and Newer change link to Abusefilter diff 2013-01-18 10:42:22 +01:00
AbuseFilter.hooks.php Use Status object to report filter results. 2013-01-17 18:34:19 +01:00
AbuseFilter.i18n.php Localisation updates from http://translatewiki.net. 2013-01-21 20:44:45 +00:00
AbuseFilter.parser.php Minor removal of duplicate code within the AF parser 2012-12-20 17:09:10 +01:00
AbuseFilter.php (bug 42064) AbuseFilter + EditFilterMergedContent 2013-01-17 11:18:28 +01:00
abusefilter.tables.pg.sql Add Global Rules 2012-08-27 03:30:07 +00:00
abusefilter.tables.sql Add Global Rules 2012-08-27 03:30:07 +00:00
abusefilter.tables.sqlite.sql Add Global Rules 2012-08-27 03:30:07 +00:00
AbuseFilterVariableHolder.php (bug 44243) Avoid fatal error for non-text content. 2013-01-23 18:10:58 +01:00
AbuseLogHitFormatter.php Add a few bits of method documentation 2012-06-21 14:32:05 +01:00
hooks.txt (bug 42064) AbuseFilter + EditFilterMergedContent 2013-01-17 11:18:28 +01:00
phpTest.php Start removing/fixing calls to deprecated methods in WMF used extensions 2010-10-29 15:14:44 +00:00