HomePhabricator

Expose text from all slots to AbuseFilter

Authored by daniel on Nov 12 2018, 4:04 PM.

Description

Expose text from all slots to AbuseFilter

This is a first step towards MCR support in AbuseFilter. The textual
representation of all slots is concatenated. Since AbuseFilter uses
getTextForSearchIndex to determine the textual representation of
content, blind concatenation should not break any assumptions
made by AbsueFilter rules: this naive approach is no worse than
AbuseFilters handling of non-textual content in general, and should
work fine for textual content.

Bug: T209291
Change-Id: Ic141085cad2e11bfe106fe83dafcb35ac31206ba

Details

Committed
Jdforrester-WMFDec 5 2018, 5:24 PM
Parents
rEABF5ad80d2c1307: build: Update npm dev dependencies
Branches
Unknown
Tags
Unknown
References
refs/changes/31/473031/8
ChangeId
Ic141085cad2e11bfe106fe83dafcb35ac31206ba