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

Word censorship filter: Difference between revisions

From MoodleDocs
m (fr link + link sort into alphabetical order)
No edit summary
Line 1: Line 1:
{{Filters}}
<p class="note">'''Please refer to [[Page_notes#Filters|these notes]] before editing this page.'''</p>
Location: Word Censorship settings link in ''Administration > Modules > Filters''
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.
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.

Revision as of 02:15, 14 June 2011

Please refer to these notes before editing this page.

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