Release status: beta
|Description||Service for detecting possible child exploitation content|
|Author(s)||Wikimedia Core Platform & Trust and Safety Teams (Peter.ovchyntalk)|
|Compatibility policy||Snapshots releases along with MediaWiki. Master is not backwards compatible.|
|MediaWiki 1.36||Not formally tested|
|MediaWiki 1.34||Not formally tested|
|MediaWiki 1.32||Not formally tested|
|License||GNU General Public License 2.0 or later|
|Translate the MediaModeration extension if it is available at translatewiki.net|
|Issues||Open tasks · Report a bug|
The MediaModeration extension is for detecting possible child exploitation content.
The purpose of the extension is to improve the Foundation’s existing workflows for child protection content.
Prior to deployment of this extension, when the Foundation receives a report of images that depict child sexual abuse, the images are deleted from the projects and reported to law enforcement according to legal requirements. This setup requires volunteers, who unlike staff have no professional training or mental health support, to initially deal with this very emotionally taxing content.
This extension aims to protect the community from being exposed to such content in nearly all cases and get it off the platform a lot faster. It would check images against a database of hashed, known images of child sexual abuse and notify Foundation staff of hash matches to allow Foundation staff to remove the images and report their existence to law enforcement.
This extension does not automatically remove any content without human review by Foundation staff.
MediaModeration provides the following:
- Check uploaded image against PhotoDNA
- Send email to pre-configured recipients if suspicious content found
Before installation, the PhotoDNA subscription key should be obtained from Microsoft.
- Download and place the file(s) in a directory called
- Add the following code at the bottom of your LocalSettings.php:
wfLoadExtension( 'MediaModeration' );
- Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
After it is installed, the extension must be configured.
|Configuration Variable||Default Value||Description|
||URL of PhotoDNA service endpoint.|
||Key for access to PhotoDNA service endpoint, obtained from Microsoft. Must be given a value.|
||List of emails to be notified a hash match occurs. Must be an array. Must be given a value.|
||Email 'from' field to use for email notifications. Must be given a value.|
||HTTP proxy to use when calling PhotoDNA service. Default is null, which means no proxy is used. Set to the URL of the proxy to use a proxy.|
||Indicates whether files should be checked on upload. If false, checking will only be done by the ModerateExistingFiles.php maintenance script.|
|This extension is being used on one or more Wikimedia projects. This probably means that the extension is stable and works well enough to be used by such high-traffic websites. Look for this extension's name in Wikimedia's CommonSettings.php and InitialiseSettings.php configuration files to see where it's installed. A full list of the extensions installed on a particular wiki can be seen on the wiki's Special:Version page.|