From 08aa4418c30cfc18ccc69a0f0f9cb9e17be6c196 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Mon, 12 Aug 2013 09:28:15 +0200 Subject: Update to MediaWiki 1.21.1 --- includes/api/ApiProtect.php | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'includes/api/ApiProtect.php') diff --git a/includes/api/ApiProtect.php b/includes/api/ApiProtect.php index b3ca67e6..503c6920 100644 --- a/includes/api/ApiProtect.php +++ b/includes/api/ApiProtect.php @@ -29,10 +29,6 @@ */ class ApiProtect extends ApiBase { - public function __construct( $main, $action ) { - parent::__construct( $main, $action ); - } - public function execute() { global $wgRestrictionLevels; $params = $this->extractRequestParams(); @@ -178,7 +174,7 @@ class ApiProtect extends ApiBase { 'token' => 'A protect token previously retrieved through prop=info', 'protections' => 'List of protection levels, formatted action=group (e.g. edit=sysop)', 'expiry' => array( 'Expiry timestamps. If only one timestamp is set, it\'ll be used for all protections.', - 'Use \'infinite\', \'indefinite\' or \'never\', for a neverexpiring protection.' ), + 'Use \'infinite\', \'indefinite\' or \'never\', for a never-expiring protection.' ), 'reason' => 'Reason for (un)protecting', 'cascade' => array( 'Enable cascading protection (i.e. protect pages included in this page)', 'Ignored if not all protection levels are \'sysop\' or \'protect\'' ), @@ -234,8 +230,4 @@ class ApiProtect extends ApiBase { public function getHelpUrls() { return 'https://www.mediawiki.org/wiki/API:Protect'; } - - public function getVersion() { - return __CLASS__ . ': $Id$'; - } } -- cgit v1.2.2