Release status: stable
|Implementation||User activity, Special page|
|Description||Offers a convenient and semi-automatic way to handle sanctions.|
|Compatibility policy||Snapshots releases along with MediaWiki. Master is not backwards compatible.|
|License||GNU Affero General Public License 3.0 or later|
|Translate the Sanctions extension|
The Sanctions extension adds special page
Special:Sanctions and let users handle sanctions against spammers, for instance.
This extension assumes it could be used in a wiki without administrators and/or sysop.
- Download and place the file(s) in a directory called
- Add the following code at the bottom of your LocalSettings.php:
- Run the update script which will automatically create the necessary database tables that this extension needs.
- Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
These messages below are configurations of the extension. The extension uses system messages instead of configuration variables defined on the server's LocalSettings.php to prepare in case the server operator is missing in action.
Mediawiki:Sanctions-discussion-page-name- The page name for proposing sanctions. By default,
Mediawiki:Sanctions-voting-period- Voting period for sanction proposals. Default 3 (days).
Mediawiki:Sanctions-max-block-period- Maximum days for block expiration. Default 30 (days).
Mediawiki:Sanctions-voting-right-verification-period- Minimum requirement for voters to participate in sanction process - "X days past registration, Y edits within last X days, no sanction logs for last X days" - this value represents X. Default 20.
Mediawiki:Sanctions-voting-right-verification-edits- Minimum requirement for voters to participate in sanction process - "X days past registration, Y edits within last X days, no sanction logs for last X days" - this value represents Y. Default 3.
Mediawiki:sanctions-autoblock- Whether or not to enable autoblock when blocking. 1 for autoblock on and 0 for autoblock off. Default 1.
This extension was originally made for Femiwiki.