Wiki source code of Configure Spam Keywords
Last modified by Vincent Massol on 2026/08/14 19:08
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
![]() |
14.1 | 1 | [[Spam Detection When Saving a Page>>doc:documentation.extensions.admin.antispam.spam-detection.WebHome]] only refuses a save when the document matches one of the patterns listed on the ##AntiSpam.Keywords## page, so building that list is what makes the mechanism do anything at all; the same patterns are reused by the "Check for Spam" button of [[Delete Spam Pages and Users>>doc:documentation.extensions.admin.antispam.delete-spam-pages-users.WebHome]]. |
![]() |
3.1 | 2 | |
![]() |
13.1 | 3 | 1. Open the [[AntiSpam application home page>>doc:documentation.extensions.admin.antispam.open-application.WebHome]]. |
![]() |
9.1 | 4 | 1. Click "Spam Keywords" in the "Configuration" box.((( |
![]() |
16.1 | 5 | {{image reference="configuration-box.png" size="large" alt="The Configuration box of the AntiSpam home page, next to the Results box, with the Spam Keywords link marked"/}} |
![]() |
9.1 | 6 | ))) |
![]() |
3.1 | 7 | 1. Click "Edit". |
![]() |
14.1 | 8 | 1. Add one pattern per line, each written as a Java regular expression.((( |
![]() |
9.1 | 9 | {{image reference="keywords-edit.png" size="extra" alt="The Spam Keywords page in the wiki editor, with three comment lines followed by three regular expressions"/}} |
| 10 | ))) | ||
![]() |
3.1 | 11 | 1. Click "Save". |
| 12 | 1. The "Spam Keywords" page lists one pattern per line, and every following save whose document matches one of them is refused:((( | ||
![]() |
9.1 | 13 | {{image reference="spam-keywords-page.png" size="large" alt="The Spam Keywords page listing three regular expressions, one per line, below three comment lines"/}} |
![]() |
3.1 | 14 | ))) |
