Note: You are currently viewing documentation for Moodle 3.4. Up-to-date documentation for the latest stable version of Moodle is likely available here: Word censorship filter.

Word censorship filter

From MoodleDocs
Revision as of 08:21, 11 September 2007 by Helen Foster (talk | contribs) (see also)

Location: Word Censorship settings link in Administration > Modules > Filters


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.

In Moodle 1.6 onwards, the word censorship settings page allows the administrator to edit a list of words via a web interface. For backwards compatibility, the old list in the language pack is retained and will be used if the list on the settings page is empty. To avoid inadvertently causing offence, there is no default list on the settings page.

Previous word censorship

Prior to Moodle 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: You may find the content of this file offensive.

See also