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

Word censorship filter: Difference between revisions

From MoodleDocs
No edit summary
m (re-wording)
Line 1: Line 1:
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.


=== Usage ===
==Word censorship in 1.5==


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.  
{{Moodle 1.5}}
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 ===
==Improvements in 1.6==


{{Moodle 1.6}}
{{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.
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 ==
* [[Filters (administrator)]]


[[Category:Administrator]]
[[Category:Administrator]]
[[Category:Filter]]
[[Category:Filter]]

Revision as of 13:12, 20 June 2006

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.

Word censorship in 1.5

Template:Moodle 1.5 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.