A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:AutoModerator below:

Extension:AutoModerator - MediaWiki

The AutoModerator extension is being developed by the Moderator Tools team at the Wikimedia Foundation. You can read more about the project goals and provide feedback at Automoderator.

Please see Extension:AutoModerator/Deploying for guidance on requesting AutoModerator on your Wikimedia project.

Extension:DiscussionTools

Internal configuration[edit]

For local development, these values are typically set in your LocalSettings.php . The default values are shown here.

// Revert risk probability threshold; Edits scored above this value will be reverted.
$wgAutoModeratorRevertProbability = 0.99;
// Username for AutoModerator system account.
$wgAutoModeratorUsername = 'AutoModerator';
// The project database ID targets the LiftWing lang parameter (e.g., 'enwiki'). If not set, it will use the database name.
$wgAutoModeratorWikiId = null;
// If set to false, the on-wiki configuration will be ignored.
$wgAutoModeratorEnableWikiConfig = true;
On-wiki configuration[edit]

To configure AutoModerator on a wiki, including enabling it to run, local configuration must also be completed at MediaWiki:AutoModeratorConfig.json. This can be done by editing the MediaWiki page directly or using the Community Configuration page at Special:CommunityConfiguration/AutoModerator.

You'll need the editsitejson right to edit MediaWiki:AutoModeratorConfig.json, which is held by interface-admin and sysop groups on most wikis. You can check Special:ListGroupRights on your wiki to be sure. If you wish to limit editing further, you may use page protection.

Config Description Allowed values Default if omitted AutoModeratorEnableRevisionCheck Enables or disables AutoModerator. If set to true, AutoModerator will begin running immediately after the page is saved. AutoModerator can be immediately disabled by setting this value to false. true or false false AutoModeratorFalsePositivePageTitle The page title where people will go to report false positive reverts. A string or a null if no false positive page exists. null AutoModeratorSkipUserRights AutoModerator will never check or revert edits made by accounts with one or more of these rights. An array of strings that contains the user's right names.
[ "bot", "autopatrol" ]
AutoModeratorUseEditFlagMinor Boolean that enables the minor edit flag for all AutoModerator edits. true or false false AutoModeratorEnableBotFlag Boolean that enables whether AutoModerator uses the Bot flag when making its edits. true or false false AutoModeratorRevertTalkPageMessageEnabled Boolean that enables sending talk page messages informing the user that an edit has been reverted. true or false false AutoModeratorCautionLevel Controls the caution level that AutoModerator uses when scoring edits. A string from one of the following options: very-cautious, cautious, somewhat-cautious, or less-cautious. very-cautious AutoModeratorEnableUserRevertsPerPage Boolean that enables the feature to specify how many times AutoModerator can revert the same user on a given page within 24 hours. true or false false AutoModeratorUserRevertsPerPage Specify how many times AutoModerator can revert the same user on a given page within 24 hours. A string representation of a number or a null if not enabled. null AutoModeratorHelpPageLink A link to a help page and its accompanying label. An associative array with `url` and `label` keys, or a null if no help page exists. null
Example "MediaWiki:AutoModeratorConfig.json"

This example enables revision checks (and potential reverts) and explicitly sets some fields to the default value.

{
    "AutoModeratorEnableRevisionCheck": true,
    "AutoModeratorFalsePositivePageTitle": "Wikipedia:Automoderator False Positive Reporting",
    "AutoModeratorSkipUserRights": [ "bot", "autopatrol" ],
    "AutoModeratorUseEditFlagMinor": true,
    "AutoModeratorEnableBotFlag": false,
    "AutoModeratorRevertTalkPageMessageEnabled": false,
    "AutoModeratorCautionLevel": "very-cautious",
	"AutoModeratorEnableUserRevertsPerPage": false,
	"AutoModeratorUserRevertsPerPage": "1",
    "AutoModeratorHelpPageLink": {
		"url": "Special:AHelpPage",
		"label": "Help page"
	},
}
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.

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4