Note: You are currently viewing documentation for Moodle 3.8. 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
(ja link)
No edit summary
 
(15 intermediate revisions by 9 users not shown)
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.
{{Filters}}
The word censorship filter enables certain user-selected words to be "blacked out" in the flow of any text submitted within a course. The primary use is for censoring obscene or other unwanted words entered by learners in activities like Forums and Wikis.


==Word censorship in 1.5==
==Custom list of censored Words==


{{Moodle 1.5}}
The word censorship settings page ''Administration > Site administration > Plugins > Word censorship'' allows a site administrator to edit a custom list of words (bad words) to be censored within your Moodle installation.
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==
To avoid inadvertently causing offence, there is no default bad word list on the Word censorship settings page.  If the custom list is empty, the default list from the language pack will be used.


{{Moodle 1.6}}
==Default censored Words==
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. To avoid inadvertantly causing offence, there is no default list on the settings page.


[[Category:Administrator]]
The default bad word list is contained within the censor.php file within each language pack installed on your Moodle site. To change the default bad word list go to ''Administration > Site administration > Language > Language Customization'' and check out the required language pack.  Select the censor.php file under the '''filters''' subheading from the strings list and click '''Show strings'''.  Warning: You may find the content of this file offensive.
[[Category:Filter]]


==Tips and Tricks==
*If you would prefer not to display a custom list of censored words on the Word Censorship Settings page, customize the censor.php file the language directly
*If you have multiple language packs installed and in use within your Moodle site, remember to edit each language pack and/or add custom censored words in all languages.
==See also==
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=79711 filtering profanity] forum discussion
[[Category:Site administration]]
[[de:Wortzensur]]
[[es:Palabras censuradas (filtro)]]
[[fr:Caviardage]]
[[ja:ワードセンサーシップ]]
[[ja:ワードセンサーシップ]]

Latest revision as of 08:51, 3 May 2019

The word censorship filter enables certain user-selected words to be "blacked out" in the flow of any text submitted within a course. The primary use is for censoring obscene or other unwanted words entered by learners in activities like Forums and Wikis.

Custom list of censored Words

The word censorship settings page Administration > Site administration > Plugins > Word censorship allows a site administrator to edit a custom list of words (bad words) to be censored within your Moodle installation.

To avoid inadvertently causing offence, there is no default bad word list on the Word censorship settings page. If the custom list is empty, the default list from the language pack will be used.

Default censored Words

The default bad word list is contained within the censor.php file within each language pack installed on your Moodle site. To change the default bad word list go to Administration > Site administration > Language > Language Customization and check out the required language pack. Select the censor.php file under the filters subheading from the strings list and click Show strings. Warning: You may find the content of this file offensive.

Tips and Tricks

  • If you would prefer not to display a custom list of censored words on the Word Censorship Settings page, customize the censor.php file the language directly
  • If you have multiple language packs installed and in use within your Moodle site, remember to edit each language pack and/or add custom censored words in all languages.

See also