Extension:ThrottleOverride

From Linux Web Expert

Revision as of 05:11, 12 April 2023 by imported>C.Syde65 (Added rights parameter.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

MediaWiki extensions manual
ThrottleOverride
Release status: beta
Implementation User rights , Special page
Description Allows administrative overriding of IP-address throttles (editing, page moves, account creation, etc.)
Author(s) Tyler Romeo (Parent5446talk)
Latest version 0.6.0 (2016-10-05)
MediaWiki 1.25+
PHP 5.3+
Database changes Yes
License GNU General Public License 3.0 or later
Download
  • $wgThrottleOverrideTypes
  • $wgThrottleOverrideCentralWiki
  • $wgThrottleOverrideCIDRLimit
throttleoverride
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 ThrottleOverride extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

The ThrottleOverride extensions provides an interface for overriding certain rate limits in MediaWiki for temporary or indefinite amounts of time. Throttle exemptions are applied to IP addresses or IP address ranges, and can affect the page edit, page move, account creation, password recovery, and user email throttles. This is useful if a wiki administrator is expecting and authorizes a large number of edits, account creations, etc. from a single IP address.

Download

<translate> The extension can be retrieved directly from Git</translate> [?]:

  • <translate> Browse code</translate>
  • <translate> Some extensions have tags for stable releases.</translate>
  • <translate> Each branch is associated with a past MediaWiki release.</translate> <translate> There is also a "master" branch containing the latest alpha version (might require an alpha version of MediaWiki).</translate>

<translate> Extract the snapshot and place it in the <tvar name=name>extensions/ThrottleOverride/</tvar> directory of your MediaWiki installation.

If you are familiar with Git and have shell access to your server, you can also obtain the extension as follows: </translate>

cd extensions/ git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/ThrottleOverride.git

Installation

  • <translate> [[<tvar name=2>Special:ExtensionDistributor/ThrottleOverride</tvar>|Download]] and move the extracted <tvar name=name>ThrottleOverride</tvar> folder to your <tvar name=ext>extensions/</tvar> directory.</translate>
    <translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/ThrottleOverride
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'ThrottleOverride' );
    // Who can use Special:OverrideThrottle ?
    // If you want that sysops can use it:
    $wgGroupPermissions['sysop']['throttleoverride'] = true;
    
  • <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>

Usage

The user-facing part of the extension are the special pages Special:OverrideThrottle and Special:ThrottleOverrideList. On the former, throttles can be overridden and existing throttles can be changed. On the latter, a list of all throttle exemptions that are currently active is shown.