From ca32f08966f1b51fcb19460f0996bb0c4048e6fe Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sat, 3 Dec 2011 13:29:22 +0100 Subject: Update to MediaWiki 1.18.0 * also update ArchLinux skin to chagnes in MonoBook * Use only css to hide our menu bar when printing --- includes/api/ApiUserrights.php | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'includes/api/ApiUserrights.php') diff --git a/includes/api/ApiUserrights.php b/includes/api/ApiUserrights.php index f9fe9ad2..93d4ef25 100644 --- a/includes/api/ApiUserrights.php +++ b/includes/api/ApiUserrights.php @@ -1,11 +1,11 @@ .@home.nl + * Copyright © 2009 Roan Kattouw .@gmail.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -53,9 +53,10 @@ class ApiUserrights extends ApiBase { $user, (array)$params['add'], (array)$params['remove'], $params['reason'] ); - $this->getResult()->setIndexedTagName( $r['added'], 'group' ); - $this->getResult()->setIndexedTagName( $r['removed'], 'group' ); - $this->getResult()->addValue( null, $this->getModuleName(), $r ); + $result = $this->getResult(); + $result->setIndexedTagName( $r['added'], 'group' ); + $result->setIndexedTagName( $r['removed'], 'group' ); + $result->addValue( null, $this->getModuleName(), $r ); } /** @@ -138,7 +139,11 @@ class ApiUserrights extends ApiBase { ); } + public function getHelpUrls() { + return 'https://www.mediawiki.org/wiki/API:User_group_membership'; + } + public function getVersion() { - return __CLASS__ . ': $Id: ApiUserrights.php 75602 2010-10-28 00:04:48Z reedy $'; + return __CLASS__ . ': $Id: ApiUserrights.php 104449 2011-11-28 15:52:04Z reedy $'; } } -- cgit v1.2.2