<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.saruman.biz/saruwiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=58.68.82.165</id>
	<title>SaruWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.saruman.biz/saruwiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=58.68.82.165"/>
	<link rel="alternate" type="text/html" href="https://www.saruman.biz/saruwiki/index.php?title=Special:Contributions/58.68.82.165"/>
	<updated>2026-07-23T08:56:03Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://www.saruman.biz/saruwiki/index.php?title=MediaWiki_Extension_-_GroupPermissionsManager&amp;diff=2526</id>
		<title>MediaWiki Extension - GroupPermissionsManager</title>
		<link rel="alternate" type="text/html" href="https://www.saruman.biz/saruwiki/index.php?title=MediaWiki_Extension_-_GroupPermissionsManager&amp;diff=2526"/>
		<updated>2010-04-05T06:51:01Z</updated>

		<summary type="html">&lt;p&gt;58.68.82.165: Lujxyc  &amp;lt;a href=&amp;quot;http://bfuoknhjxtrd.com/&amp;quot;&amp;gt;bfuoknhjxtrd&amp;lt;/a&amp;gt;, [url=http://hzcmcovfmoml.com/]hzcmcovfmoml[/url], [link=http://sazyixyhitjj.com/]sazyixyhitjj[/link], http://gzbziauundpm.com/&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Lujxyc  &amp;lt;a href=&amp;quot;http://bfuoknhjxtrd.com/&amp;quot;&amp;gt;bfuoknhjxtrd&amp;lt;/a&amp;gt;, [url=http://hzcmcovfmoml.com/]hzcmcovfmoml[/url], [link=http://sazyixyhitjj.com/]sazyixyhitjj[/link], http://gzbziauundpm.com/&lt;br /&gt;
&lt;br /&gt;
==Adding the extension==&lt;br /&gt;
First, download the latest snapshot of the GroupPermissionsManager extension from here: [http://www.mediawiki.org/wiki/Extension:GroupPermissionsManager Mediawiki Extension:Group Permissions Manager]. It&#039;s a single archive with a name that looks like &#039;&#039;GroupPermissionsManager-trunk-r45886.tar.gz&#039;&#039;. You can extract it straight into the Debian mediawiki extensions directory &#039;&#039;/usr/share/mediawiki-extensions&#039;&#039;, that already exists if you&#039;ve installed the &#039;&#039;[[Mediawiki-extensions_under_Debian|mediawiki-extensions]]&#039;&#039; package; out comes a little directory structure like this:&lt;br /&gt;
 GroupPermissionsManager&lt;br /&gt;
 |-- plugins&lt;br /&gt;
 |   |-- disabled&lt;br /&gt;
 |   `-- messages&lt;br /&gt;
 `-- scripts&lt;br /&gt;
You&#039;ll have to make sure all files and directories are owned by &#039;&#039;root&#039;&#039;, and that the PHP files cannot be edited by anyone else than &#039;&#039;root&#039;&#039;. This will most likely not be the case: as &#039;&#039;root&#039;&#039; run:&lt;br /&gt;
 cd  /usr/share/mediawiki-extensions/GroupPermissionsManager&lt;br /&gt;
 chown -R root:root *&lt;br /&gt;
 chmod -R 644 *&lt;br /&gt;
Now, to make the extension work with Debian, we &#039;&#039;must&#039;&#039; move all files and folders under &#039;&#039;GroupPermissionsManager&#039;&#039; to &#039;&#039;/usr/share/mediawiki-extensions&#039;&#039;:&lt;br /&gt;
 cd /usr/share/mediawiki-extensions/GroupPermissionsManager&lt;br /&gt;
 mv scripts ..&lt;br /&gt;
 mv plugins ..&lt;br /&gt;
 mv * ..&lt;br /&gt;
 cd ..&lt;br /&gt;
 rmdir GroupPermissionsManager&lt;br /&gt;
Next, we have to make a small alteration to &#039;&#039;/usr/share/mediawiki/includes/GlobalFunctions.php&#039;&#039; because there&#039;s a bug or shortcoming in MediaWiki 1.12, and that&#039;s the version that Lenny uses. The alteration is described in [http://www.mediawiki.org/wiki/Extension:GroupPermissionsManager#Patch a patch prescription on the MediaWiki site], but in essence we add a line after line number 422: the line beginning with &amp;quot;wfRunHooks&amp;quot;:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
function wfMsgGetKey( $key, $useDB, $forContent = false, $transform = true ) { &lt;br /&gt;
        global $wgParser, $wgContLang, $wgMessageCache, $wgLang;&lt;br /&gt;
&lt;br /&gt;
       wfRunHooks( &#039;NormalizeMessageKey&#039;, array( &amp;amp;$key, &amp;amp;$useDB, &amp;amp;$langCode, &amp;amp;$transform ) );&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Next, we create a directory where Group Permissions Manager will keep the configuration files. In the Debian style, we need something under &#039;&#039;/etc&#039;&#039;. We would ordinarily suggest something under &#039;&#039;/etc/mediawiki-extensions&#039;&#039;, but the configuration that the extension manipulates is used by MediaWiki itself. Thus we suggest creating &#039;&#039;/etc/mediawiki/config&#039;&#039;. After that, grant the permission to write in this directory to the web server daemon, for Apache2 &#039;&#039;www-data&#039;&#039;.&amp;lt;br&amp;gt;&lt;br /&gt;
Finally, create a symlink to this config directory in the place where GroupPermissionsManager actually &#039;&#039;expects&#039;&#039; it, namely in the directory where the PHP-script itself resides (here: &#039;&#039;/usr/share/mediawiki-extensions/&#039;&#039;). All of this can be achieved by following these steps:&lt;br /&gt;
 cd /etc/mediawiki&lt;br /&gt;
 mkdir config&lt;br /&gt;
 chown www-data:www-data config&lt;br /&gt;
 cd /usr/share/mediawiki-extensions&lt;br /&gt;
 ln -s /etc/mediawiki/config&lt;br /&gt;
Now we can mark the extension &#039;&#039;GroupPermissionsManager.php&#039;&#039; available to MediaWiki:&lt;br /&gt;
 cd /etc/mediawiki-extensions/extensions-available&lt;br /&gt;
 ln -s /usr/share/mediawiki-extensions/GroupPermissionsManager.php&lt;br /&gt;
Then, enable the extension&lt;br /&gt;
 mwenext GroupPermissionsManager.php&lt;br /&gt;
 &lt;br /&gt;
This by default adds some extra capabilities to the Mediawiki administrator group &amp;quot;bureaucrat&amp;quot;, of which WikiAdmin is a member - and presumably you too. The capabilities are to use a &#039;&#039;Special&#039;&#039; page to create, manage, and remove Wiki groups and their permissions.&lt;br /&gt;
&lt;br /&gt;
==Using the extension==&lt;br /&gt;
To manage group permissions, you need the following:&lt;br /&gt;
* your MediaWiki user account needs to be in a MediaWiki group that has been granted the right to use Group Permissions Manager, e.g. &#039;&#039;bureaucrat&#039;&#039; as depicted above;&lt;br /&gt;
* you must be logged in with that MediaWiki account;&lt;br /&gt;
* you need to know the name of the group whose permissions you want to manage (or create or delete).&lt;br /&gt;
In the left navigation area, click on &#039;&#039;Special pages&#039;&#039;; scroll down to the section &#039;&#039;Restricted special pages&#039;&#039;, you should see an entry &#039;&#039;Manage Group Permissions&#039;&#039;. Click it to enter the Manage Group Permissions special page. Here, you&#039;ll find just an empty box and a &amp;quot;Go&amp;quot; button. Fill in the name of the group you want to create/manage/delete, and click &amp;quot;Go&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
You&#039;ll find yourself in a long page with group permissions, each of which can be &amp;quot;true&amp;quot;, &amp;quot;false&amp;quot; or &amp;quot;inherit&amp;quot;. Setting a permission to &amp;quot;true&amp;quot; or &amp;quot;false&amp;quot; enables or disables the permission for this group, while leaving it on &amp;quot;inherit&amp;quot; means the group gets the default permission that MediaWiki assigns every group - just think of the default rights of the default group &amp;quot;users&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Furthermore:&lt;br /&gt;
* If the group pre-exists, you&#039;ll find above the list a comment box and a &amp;quot;Delete group&amp;quot; button, where you can remove the group, while leaving the comment in the &#039;&#039;GroupPermissionsLog.log&#039;&#039; log file.&lt;br /&gt;
* Furthermore, if the group pre-exists, the permissions list ends with a comment box and a &amp;quot;Change group permissions&amp;quot; button. Clicking that button will change the group permissions to the set designated in the permissions list. The changes, along with all other group permissions, can be found in the &#039;&#039;/etc/mediawiki/config&#039;&#039; directory in file &#039;&#039;GroupPermissons.php&#039;&#039;. Clicking the button will also have resulted in a backup of the &#039;&#039;GroupPermissons.php&#039;&#039; file in that same directory, but named &#039;&#039;GroupPermissons.&amp;lt;timestamp&amp;gt;.php&#039;&#039;, e.g. &#039;&#039;GroupPermissions.21012009171713.php&#039;&#039;.&lt;br /&gt;
* If the group name is &amp;quot;new&amp;quot;, no &amp;quot;Delete group&amp;quot; button is shown, but the permissions list ends with a comment box and an &amp;quot;Add group&amp;quot; button, which will create the group with the designated name, while leaving the comment in the &#039;&#039;GroupPermissionsLog.log&#039;&#039; log file. Again, the comment is logged, and a backup of the &#039;&#039;GroupPermissons.php&#039;&#039; file is made.&lt;/div&gt;</summary>
		<author><name>58.68.82.165</name></author>
	</entry>
</feed>