Extension:Sanctions
From Linux Web Expert
Sanctions Release status: stable |
|
---|---|
File:Extension-Sanctions.png | |
Implementation | User activity , Special page |
Description | Offers a convenient and semi-automatic way to handle sanctions. |
Author(s) | Femiwiki Team |
Latest version | 1.2.3 |
Compatibility policy | Snapshots releases along with MediaWiki. Master is not backward compatible. |
MediaWiki | 1.34+ |
Database changes | Yes |
Composer | femiwiki/sanctions |
Tables | sanctions sanctions_vote |
License | GNU Affero General Public License 3.0 or later |
Download | GitHub: CHANGELOG |
Quarterly downloads | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Public wikis using | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
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.
Installation
Sanctions requires the Echo extension, the Renameuser extension and the StructuredDiscussions extension be installed as a prerequisite.
- <translate> Download and place the file(s) in a directory called <tvar name=name>
Sanctions
</tvar> in your <tvar name=ext>extensions/
</tvar> folder.</translate> - <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
wfLoadExtension( 'Sanctions' );
- <translate> Run the [[<tvar name=update>Special:MyLanguage/Manual:Update.php</tvar>|update script]] which will automatically create the necessary database tables that this extension needs.</translate>
- File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>
Configuration
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,Project Talk:Sanctions
.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.
Categories:
- Pages with script errors
- Pages with broken file links
- Stable extensions
- User activity extensions
- Special page extensions
- Extensions with release branches compatibility policy
- Extensions with manual MediaWiki version
- Extensions supporting Composer
- AGPL licensed extensions
- Extensions in GitHub version control
- LoadExtensionSchemaUpdates extensions
- AbortEmailNotification extensions
- BeforeEchoEventInsert extensions
- BeforeCreateEchoEvent extensions
- EmailConfirmed extensions
- ResourceLoaderGetConfigVars extensions
- UserToolLinksEdit extensions
- DiffTools extensions
- HistoryTools extensions
- SidebarBeforeOutput extensions
- ContributionsToolLinks extensions
- FlowAddModules extensions
- All extensions
- Extensions by Femiwiki
- Spam management extensions