mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-27 23:40:19 +00:00
c673fe60d9
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 |
||
---|---|---|
api | ||
db_patches | ||
modules | ||
special | ||
tests | ||
Views | ||
.gitignore | ||
.gitreview | ||
AbuseFilter.alias.php | ||
AbuseFilter.class.php | ||
AbuseFilter.hooks.php | ||
AbuseFilter.i18n.php | ||
AbuseFilter.parser.php | ||
AbuseFilter.php | ||
abusefilter.tables.pg.sql | ||
abusefilter.tables.sql | ||
abusefilter.tables.sqlite.sql | ||
AbuseFilterVariableHolder.php | ||
AbuseLogHitFormatter.php | ||
hooks.txt | ||
phpTest.php |