Word censorship filter

From MoodleDocs
Revision as of 12:52, 20 June 2006 by Howard Miller (talk | contribs)

The Word Censorship filter enables certain user-selected words to be "blacked out" in the flow of the text. The primary use is for censoring obscene or other unwanted words in the text.

Usage

Prior to version 1.6 the list of words is contained in the language pack in the file censor.php (Example: for German use lang/de/censor.php). To change the word list you need to directly edit this file. A default list is provided for many languages. Warning: if you are looking at this file you may find the content offensive.

Improvements in 1.6

Template:Moodle 1.6

The filter settings page allows the administrator to edit a list of words via the web interface. For compatibility, the old list in the language pack is retained and will be used if the list on the settings page is empty. There is no default list on the settings page.

Settings Page

Custom bad words list

Enter your list of bad words separated by commas. If blank the version in the language pack will be used instead.

See also