https://www.saruman.biz/saruwiki/index.php?title=MediaWiki_Extension_-_GroupPermissionsManager&feed=atom&action=history
MediaWiki Extension - GroupPermissionsManager - Revision history
2024-03-29T08:37:04Z
Revision history for this page on the wiki
MediaWiki 1.40.0
https://www.saruman.biz/saruwiki/index.php?title=MediaWiki_Extension_-_GroupPermissionsManager&diff=2608&oldid=prev
Saruman!: Reverted edits by 222.161.137.199 (Talk) to last revision by Saruman!
2010-08-03T09:50:04Z
<p>Reverted edits by <a href="/saruwiki/index.php/Special:Contributions/222.161.137.199" title="Special:Contributions/222.161.137.199">222.161.137.199</a> (<a href="/saruwiki/index.php?title=User_talk:222.161.137.199&action=edit&redlink=1" class="new" title="User talk:222.161.137.199 (page does not exist)">Talk</a>) to last revision by <a href="/saruwiki/index.php/User:Saruman!" title="User:Saruman!">Saruman!</a></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 10:50, 3 August 2010</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">Thanks so much! </del>:<del style="font-weight: bold; text-decoration: none;">) <</del>a <del style="font-weight: bold; text-decoration: none;">href="</del>http://www.<del style="font-weight: bold; text-decoration: none;">radiooil</del>.com/<del style="font-weight: bold; text-decoration: none;">young" </del>title<del style="font-weight: bold; text-decoration: none;">="clover hentay">clover hentay<</del>/<del style="font-weight: bold; text-decoration: none;">a> [url="http:</del>/<del style="font-weight: bold; text-decoration: none;">/www</del>.<del style="font-weight: bold; text-decoration: none;">radiooil.com/young"]clover hentay</del>[<del style="font-weight: bold; text-decoration: none;">/url] </del>http://www.<del style="font-weight: bold; text-decoration: none;">radiooil</del>.com/<del style="font-weight: bold; text-decoration: none;">young clover hentay <a href="http:</del>//<del style="font-weight: bold; text-decoration: none;">crisbase</del>.<del style="font-weight: bold; text-decoration: none;">com/comics" title="innocent hentai manga">innocent hentai manga</a> </del>[<del style="font-weight: bold; text-decoration: none;">url="http://crisbase</del>.<del style="font-weight: bold; text-decoration: none;">com/comics"</del>]<del style="font-weight: bold; text-decoration: none;">innocent hentai manga[/url</del>] <del style="font-weight: bold; text-decoration: none;">http://crisbase</del>.<del style="font-weight: bold; text-decoration: none;">com/comics innocent hentai manga <a href="http://stlukessavannah</del>.<del style="font-weight: bold; text-decoration: none;">org/porn" title="web video hentai">web video hentai</a> [url="http://stlukessavannah</del>.<del style="font-weight: bold; text-decoration: none;">org/porn"]web video hentai[/url] http://stlukessavannah</del>.<del style="font-weight: bold; text-decoration: none;">org/porn web video hentai</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">==Mediawiki Extension</ins>: <ins style="font-weight: bold; text-decoration: none;">Group Permissions Manager==</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Sometimes you as a Mediawiki administrator might feel the need to add or remove a group, or edit </ins>a <ins style="font-weight: bold; text-decoration: none;">groups rights. Unfortunately, there is no such function in the MediaWiki software itself, you'd have to edit the ''LocalSettings.php'' file somehow: [</ins>http://www.<ins style="font-weight: bold; text-decoration: none;">imdb</ins>.com/title/<ins style="font-weight: bold; text-decoration: none;">tt0096928</ins>/ <ins style="font-weight: bold; text-decoration: none;">bogus!] But fortunately, there now exists an extension that adds this functionality</ins>. [http://www.<ins style="font-weight: bold; text-decoration: none;">imdb</ins>.com/<ins style="font-weight: bold; text-decoration: none;">title</ins>/<ins style="font-weight: bold; text-decoration: none;">tt0096928</ins>/ <ins style="font-weight: bold; text-decoration: none;">Most excellent!]</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Note: if you want to install the older version 2</ins>.<ins style="font-weight: bold; text-decoration: none;">00 of this plugin (which is much simpler, both in installation and in functionality), then go to the [</ins>[<ins style="font-weight: bold; text-decoration: none;">MediaWikiExtension GroupPermissionsManager2.00| Group Permissions Manager 2</ins>.<ins style="font-weight: bold; text-decoration: none;">00</ins>]] <ins style="font-weight: bold; text-decoration: none;">page</ins>. <ins style="font-weight: bold; text-decoration: none;">The instructions on this page are for the 3</ins>.<ins style="font-weight: bold; text-decoration: none;">2</ins>.<ins style="font-weight: bold; text-decoration: none;">6 version (build r45886)</ins>.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Adding the extension==</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Adding the extension==</div></td></tr>
</table>
Saruman!
https://www.saruman.biz/saruwiki/index.php?title=MediaWiki_Extension_-_GroupPermissionsManager&diff=2603&oldid=prev
222.161.137.199: /* Mediawiki Extension: Group Permissions Manager */
2010-07-31T15:10:51Z
<p><span dir="auto"><span class="autocomment">Mediawiki Extension: Group Permissions Manager</span></span></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 16:10, 31 July 2010</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>=<del style="font-weight: bold; text-decoration: none;">=Mediawiki Extension</del>: <del style="font-weight: bold; text-decoration: none;">Group Permissions Manager</del>==</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Thanks so much! :) <a href</ins>=<ins style="font-weight: bold; text-decoration: none;">"http</ins>:<ins style="font-weight: bold; text-decoration: none;">//www.radiooil.com/young" title</ins>=<ins style="font-weight: bold; text-decoration: none;">"clover hentay">clover hentay</a> [url</ins>=<ins style="font-weight: bold; text-decoration: none;">"http://www</ins>.<ins style="font-weight: bold; text-decoration: none;">radiooil</ins>.<ins style="font-weight: bold; text-decoration: none;">com/young"]clover hentay</ins>[<ins style="font-weight: bold; text-decoration: none;">/url] </ins>http://www.<ins style="font-weight: bold; text-decoration: none;">radiooil</ins>.com/<ins style="font-weight: bold; text-decoration: none;">young clover hentay <a href="http://crisbase.com/comics" </ins>title<ins style="font-weight: bold; text-decoration: none;">="innocent hentai manga">innocent hentai manga<</ins>/<ins style="font-weight: bold; text-decoration: none;">a> [url="http://crisbase.com</ins>/<ins style="font-weight: bold; text-decoration: none;">comics"</ins>]<ins style="font-weight: bold; text-decoration: none;">innocent hentai manga</ins>[<ins style="font-weight: bold; text-decoration: none;">/url] </ins>http://<ins style="font-weight: bold; text-decoration: none;">crisbase</ins>.com/<ins style="font-weight: bold; text-decoration: none;">comics innocent hentai manga <a href="http:</ins>//<ins style="font-weight: bold; text-decoration: none;">stlukessavannah</ins>.<ins style="font-weight: bold; text-decoration: none;">org/porn" title="web video hentai">web video hentai</a> </ins>[<ins style="font-weight: bold; text-decoration: none;">url="http://stlukessavannah</ins>.<ins style="font-weight: bold; text-decoration: none;">org/porn"</ins>]<ins style="font-weight: bold; text-decoration: none;">web video hentai[/url</ins>] <ins style="font-weight: bold; text-decoration: none;">http://stlukessavannah</ins>.<ins style="font-weight: bold; text-decoration: none;">org/porn web video hentai</ins></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">Sometimes you as a Mediawiki administrator might feel the need to add or remove a group, or edit a groups rights</del>. <del style="font-weight: bold; text-decoration: none;">Unfortunately, there is no such function in the MediaWiki software itself, you'd have to edit the ''LocalSettings</del>.<del style="font-weight: bold; text-decoration: none;">php'' file somehow: </del>[http://www.<del style="font-weight: bold; text-decoration: none;">imdb</del>.com/title/<del style="font-weight: bold; text-decoration: none;">tt0096928</del>/ <del style="font-weight: bold; text-decoration: none;">bogus!</del>] <del style="font-weight: bold; text-decoration: none;">But fortunately, there now exists an extension that adds this functionality. </del>[http://<del style="font-weight: bold; text-decoration: none;">www.imdb</del>.com/<del style="font-weight: bold; text-decoration: none;">title</del>/<del style="font-weight: bold; text-decoration: none;">tt0096928</del>/ <del style="font-weight: bold; text-decoration: none;">Most excellent!]</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> </div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">Note: if you want to install the older version 2</del>.<del style="font-weight: bold; text-decoration: none;">00 of this plugin (which is much simpler, both in installation and in functionality), then go to the </del>[<del style="font-weight: bold; text-decoration: none;">[MediaWikiExtension GroupPermissionsManager2</del>.<del style="font-weight: bold; text-decoration: none;">00| Group Permissions Manager 2.00</del>]] <del style="font-weight: bold; text-decoration: none;">page. The instructions on this page are for the 3.2.6 version (build r45886)</del>.</div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Adding the extension==</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Adding the extension==</div></td></tr>
</table>
222.161.137.199
https://www.saruman.biz/saruwiki/index.php?title=MediaWiki_Extension_-_GroupPermissionsManager&diff=2560&oldid=prev
Saruman!: Undo spamming
2010-04-06T18:50:10Z
<p>Undo spamming</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 19:50, 6 April 2010</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">Lujxyc <a href</del>=<del style="font-weight: bold; text-decoration: none;">"http</del>:<del style="font-weight: bold; text-decoration: none;">//bfuoknhjxtrd</del>.<del style="font-weight: bold; text-decoration: none;">com/">bfuoknhjxtrd</a></del>, [<del style="font-weight: bold; text-decoration: none;">url=</del>http://<del style="font-weight: bold; text-decoration: none;">hzcmcovfmoml</del>.com/<del style="font-weight: bold; text-decoration: none;">]hzcmcovfmoml[</del>/<del style="font-weight: bold; text-decoration: none;">url</del>], [<del style="font-weight: bold; text-decoration: none;">link=</del>http://<del style="font-weight: bold; text-decoration: none;">sazyixyhitjj</del>.com/]<del style="font-weight: bold; text-decoration: none;">sazyixyhitjj</del>[<del style="font-weight: bold; text-decoration: none;">/link</del>]<del style="font-weight: bold; text-decoration: none;">, http://gzbziauundpm</del>.<del style="font-weight: bold; text-decoration: none;">com/</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>=<ins style="font-weight: bold; text-decoration: none;">=Mediawiki Extension</ins>: <ins style="font-weight: bold; text-decoration: none;">Group Permissions Manager==</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Sometimes you as a Mediawiki administrator might feel the need to add or remove a group, or edit a groups rights</ins>. <ins style="font-weight: bold; text-decoration: none;">Unfortunately, there is no such function in the MediaWiki software itself</ins>, <ins style="font-weight: bold; text-decoration: none;">you'd have to edit the ''LocalSettings.php'' file somehow: </ins>[http://<ins style="font-weight: bold; text-decoration: none;">www.imdb</ins>.com/<ins style="font-weight: bold; text-decoration: none;">title/tt0096928</ins>/ <ins style="font-weight: bold; text-decoration: none;">bogus!</ins>] <ins style="font-weight: bold; text-decoration: none;">But fortunately</ins>, <ins style="font-weight: bold; text-decoration: none;">there now exists an extension that adds this functionality. </ins>[http://<ins style="font-weight: bold; text-decoration: none;">www.imdb</ins>.com/<ins style="font-weight: bold; text-decoration: none;">title/tt0096928/ Most excellent!</ins>]</div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Note: if you want to install the older version 2.00 of this plugin (which is much simpler, both in installation and in functionality), then go to the [</ins>[<ins style="font-weight: bold; text-decoration: none;">MediaWikiExtension GroupPermissionsManager2.00| Group Permissions Manager 2.00]</ins>] <ins style="font-weight: bold; text-decoration: none;">page. The instructions on this page are for the 3.2.6 version (build r45886)</ins>.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Adding the extension==</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Adding the extension==</div></td></tr>
</table>
Saruman!
https://www.saruman.biz/saruwiki/index.php?title=MediaWiki_Extension_-_GroupPermissionsManager&diff=2526&oldid=prev
58.68.82.165: Lujxyc <a href="http://bfuoknhjxtrd.com/">bfuoknhjxtrd</a>, [url=http://hzcmcovfmoml.com/]hzcmcovfmoml[/url], [link=http://sazyixyhitjj.com/]sazyixyhitjj[/link], http://gzbziauundpm.com/
2010-04-05T06:51:01Z
<p>Lujxyc <a href="http://bfuoknhjxtrd.com/">bfuoknhjxtrd</a>, [url=http://hzcmcovfmoml.com/]hzcmcovfmoml[/url], [link=http://sazyixyhitjj.com/]sazyixyhitjj[/link], http://gzbziauundpm.com/</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 07:51, 5 April 2010</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>=<del style="font-weight: bold; text-decoration: none;">=Mediawiki Extension</del>: <del style="font-weight: bold; text-decoration: none;">Group Permissions Manager==</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Lujxyc <a href</ins>=<ins style="font-weight: bold; text-decoration: none;">"http</ins>:<ins style="font-weight: bold; text-decoration: none;">//bfuoknhjxtrd.com/">bfuoknhjxtrd</</ins>a<ins style="font-weight: bold; text-decoration: none;">></ins>, [<ins style="font-weight: bold; text-decoration: none;">url=</ins>http://<ins style="font-weight: bold; text-decoration: none;">hzcmcovfmoml</ins>.com/<ins style="font-weight: bold; text-decoration: none;">]hzcmcovfmoml[</ins>/<ins style="font-weight: bold; text-decoration: none;">url</ins>], [<ins style="font-weight: bold; text-decoration: none;">link=</ins>http://<ins style="font-weight: bold; text-decoration: none;">sazyixyhitjj</ins>.com/<ins style="font-weight: bold; text-decoration: none;">]sazyixyhitjj[</ins>/<ins style="font-weight: bold; text-decoration: none;">link</ins>]<ins style="font-weight: bold; text-decoration: none;">, http</ins>:<ins style="font-weight: bold; text-decoration: none;">//gzbziauundpm</ins>.<ins style="font-weight: bold; text-decoration: none;">com/</ins></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">Sometimes you as a Mediawiki administrator might feel the need to add or remove a group, or edit </del>a <del style="font-weight: bold; text-decoration: none;">groups rights. Unfortunately, there is no such function in the MediaWiki software itself</del>, <del style="font-weight: bold; text-decoration: none;">you'd have to edit the ''LocalSettings.php'' file somehow: </del>[http://<del style="font-weight: bold; text-decoration: none;">www.imdb</del>.com/<del style="font-weight: bold; text-decoration: none;">title</del>/<del style="font-weight: bold; text-decoration: none;">tt0096928/ bogus!</del>] <del style="font-weight: bold; text-decoration: none;">But fortunately</del>, <del style="font-weight: bold; text-decoration: none;">there now exists an extension that adds this functionality. </del>[http://<del style="font-weight: bold; text-decoration: none;">www.imdb</del>.com/<del style="font-weight: bold; text-decoration: none;">title</del>/<del style="font-weight: bold; text-decoration: none;">tt0096928/ Most excellent!</del>]</div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> </div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">Note</del>: <del style="font-weight: bold; text-decoration: none;">if you want to install the older version 2.00 of this plugin (which is much simpler, both in installation and in functionality), then go to the [[MediaWikiExtension GroupPermissionsManager2.00| Group Permissions Manager 2.00]] page. The instructions on this page are for the 3.2.6 version (build r45886)</del>.</div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Adding the extension==</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Adding the extension==</div></td></tr>
</table>
58.68.82.165
https://www.saruman.biz/saruwiki/index.php?title=MediaWiki_Extension_-_GroupPermissionsManager&diff=2514&oldid=prev
Saruman!: removed spam
2010-03-29T10:07:15Z
<p>removed spam</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 11:07, 29 March 2010</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">FCX1bu <a href</del>=<del style="font-weight: bold; text-decoration: none;">"http</del>:<del style="font-weight: bold; text-decoration: none;">//nvvcqflwbycb</del>.<del style="font-weight: bold; text-decoration: none;">com/">nvvcqflwbycb</a></del>, [<del style="font-weight: bold; text-decoration: none;">url=</del>http://<del style="font-weight: bold; text-decoration: none;">irqfsozbmvfe</del>.com/<del style="font-weight: bold; text-decoration: none;">]irqfsozbmvfe[</del>/<del style="font-weight: bold; text-decoration: none;">url</del>], [<del style="font-weight: bold; text-decoration: none;">link=</del>http://<del style="font-weight: bold; text-decoration: none;">xqvdviebyrar</del>.com/<del style="font-weight: bold; text-decoration: none;">]xqvdviebyrar[</del>/<del style="font-weight: bold; text-decoration: none;">link</del>]<del style="font-weight: bold; text-decoration: none;">, http://tjmbjtiuxzxh.com/</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>=<ins style="font-weight: bold; text-decoration: none;">=Mediawiki Extension</ins>: <ins style="font-weight: bold; text-decoration: none;">Group Permissions Manager==</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Sometimes you as a Mediawiki administrator might feel the need to add or remove a group, or edit a groups rights</ins>. <ins style="font-weight: bold; text-decoration: none;">Unfortunately, there is no such function in the MediaWiki software itself</ins>, <ins style="font-weight: bold; text-decoration: none;">you'd have to edit the ''LocalSettings.php'' file somehow: </ins>[http://<ins style="font-weight: bold; text-decoration: none;">www.imdb</ins>.com/<ins style="font-weight: bold; text-decoration: none;">title/tt0096928</ins>/ <ins style="font-weight: bold; text-decoration: none;">bogus!</ins>] <ins style="font-weight: bold; text-decoration: none;">But fortunately</ins>, <ins style="font-weight: bold; text-decoration: none;">there now exists an extension that adds this functionality. </ins>[http://<ins style="font-weight: bold; text-decoration: none;">www.imdb</ins>.com/<ins style="font-weight: bold; text-decoration: none;">title/tt0096928</ins>/ <ins style="font-weight: bold; text-decoration: none;">Most excellent!</ins>]</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">Fjapje <a href</del>=<del style="font-weight: bold; text-decoration: none;">"</del>http://<del style="font-weight: bold; text-decoration: none;">qyqfydostlsb</del>.<del style="font-weight: bold; text-decoration: none;">com</del>/<del style="font-weight: bold; text-decoration: none;">">qyqfydostlsb<</del>/a<del style="font-weight: bold; text-decoration: none;">></del>, [<del style="font-weight: bold; text-decoration: none;">url=http</del>://<del style="font-weight: bold; text-decoration: none;">jlataoajnjwp</del>.<del style="font-weight: bold; text-decoration: none;">com</del>/<del style="font-weight: bold; text-decoration: none;">]jlataoajnjwp[</del>/<del style="font-weight: bold; text-decoration: none;">url]</del>, [<del style="font-weight: bold; text-decoration: none;">link=</del>http://<del style="font-weight: bold; text-decoration: none;">fyikzchdwrrf</del>.<del style="font-weight: bold; text-decoration: none;">com</del>/]<del style="font-weight: bold; text-decoration: none;">fyikzchdwrrf[</del>/<del style="font-weight: bold; text-decoration: none;">link]</del>, <del style="font-weight: bold; text-decoration: none;">http</del>://<del style="font-weight: bold; text-decoration: none;">cpuojmnkglxj</del>.<del style="font-weight: bold; text-decoration: none;">com</del>/</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Note: if you want to install the older version 2.00 of this plugin (which is much simpler, both in installation and in functionality), then go to the [[MediaWikiExtension GroupPermissionsManager2.00| Group Permissions Manager 2.00]] page. The instructions on this page are for the 3.2.6 version (build r45886).</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">==Adding the extension=</ins>=</div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">First, download the latest snapshot of the GroupPermissionsManager extension from here: [</ins>http://<ins style="font-weight: bold; text-decoration: none;">www.mediawiki</ins>.<ins style="font-weight: bold; text-decoration: none;">org</ins>/<ins style="font-weight: bold; text-decoration: none;">wiki</ins>/<ins style="font-weight: bold; text-decoration: none;">Extension:GroupPermissionsManager Mediawiki Extension:Group Permissions Manager]. It's a single archive with </ins>a <ins style="font-weight: bold; text-decoration: none;">name that looks like ''GroupPermissionsManager-trunk-r45886.tar.gz''. You can extract it straight into the Debian mediawiki extensions directory ''/usr/share/mediawiki-extensions''</ins>, <ins style="font-weight: bold; text-decoration: none;">that already exists if you've installed the ''</ins>[<ins style="font-weight: bold; text-decoration: none;">[Mediawiki-extensions_under_Debian|mediawiki-extensions]]'' package; out comes a little directory structure like this:</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> GroupPermissionsManager</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> |-- plugins</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> | |-- disabled</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> | `-- messages</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> `-- scripts</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">You'll have to make sure all files and directories are owned by ''root'', and that the PHP files cannot be edited by anyone else than ''root''. This will most likely not be the case: as ''root'' run:</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> cd /usr/share/mediawiki-extensions/GroupPermissionsManager</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> chown -R root:root *</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> chmod -R 644 *</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Now, to make the extension work with Debian, we ''must'' move all files and folders under ''GroupPermissionsManager'' to ''/usr/share/mediawiki-extensions''</ins>:</div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> cd /usr/share</ins>/<ins style="font-weight: bold; text-decoration: none;">mediawiki-extensions</ins>/<ins style="font-weight: bold; text-decoration: none;">GroupPermissionsManager</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> mv scripts ..</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> mv plugins ..</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> mv * ..</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> cd .</ins>.</div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> rmdir GroupPermissionsManager</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Next, we have to make a small alteration to ''/usr/share/mediawiki</ins>/<ins style="font-weight: bold; text-decoration: none;">includes</ins>/<ins style="font-weight: bold; text-decoration: none;">GlobalFunctions.php'' because there's a bug or shortcoming in MediaWiki 1.12</ins>, <ins style="font-weight: bold; text-decoration: none;">and that's the version that Lenny uses. The alteration is described in </ins>[http://<ins style="font-weight: bold; text-decoration: none;">www.mediawiki</ins>.<ins style="font-weight: bold; text-decoration: none;">org/wiki</ins>/<ins style="font-weight: bold; text-decoration: none;">Extension:GroupPermissionsManager#Patch a patch prescription on the MediaWiki site</ins>]<ins style="font-weight: bold; text-decoration: none;">, but in essence we add a line after line number 422: the line beginning with "wfRunHooks":</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"><source lang="php"></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">function wfMsgGetKey( $key, $useDB, $forContent = false, $transform = true ) { </ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> global $wgParser, $wgContLang, $wgMessageCache, $wgLang;</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> wfRunHooks( 'NormalizeMessageKey', array( &$key, &$useDB, &$langCode, &$transform ) );</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></source></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Next, we create a directory where Group Permissions Manager will keep the configuration files. In the Debian style, we need something under ''/etc''. We would ordinarily suggest something under ''/etc/mediawiki-extensions'', but the configuration that the extension manipulates is used by MediaWiki itself. Thus we suggest creating ''/etc/mediawiki</ins>/<ins style="font-weight: bold; text-decoration: none;">config''. After that, grant the permission to write in this directory to the web server daemon, for Apache2 ''www-data''.<br></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Finally, create a symlink to this config directory in the place where GroupPermissionsManager actually ''expects'' it</ins>, <ins style="font-weight: bold; text-decoration: none;">namely in the directory where the PHP-script itself resides (here: ''/usr/share/mediawiki-extensions/''). All of this can be achieved by following these steps:</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> cd /etc/mediawiki</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> mkdir config</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> chown www-data</ins>:<ins style="font-weight: bold; text-decoration: none;">www-data config</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> cd /usr/share/mediawiki-extensions</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> ln -s /etc</ins>/<ins style="font-weight: bold; text-decoration: none;">mediawiki</ins>/<ins style="font-weight: bold; text-decoration: none;">config</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Now we can mark the extension ''GroupPermissionsManager</ins>.<ins style="font-weight: bold; text-decoration: none;">php'' available to MediaWiki:</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> cd /etc/mediawiki-extensions/extensions-available</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> ln -s /usr/share/mediawiki-extensions</ins>/<ins style="font-weight: bold; text-decoration: none;">GroupPermissionsManager.php</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Then, enable the extension</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> mwenext GroupPermissionsManager.php</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> </ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">This by default adds some extra capabilities to the Mediawiki administrator group "bureaucrat", of which WikiAdmin is a member - and presumably you too. The capabilities are to use a ''Special'' page to create, manage, and remove Wiki groups and their permissions.</ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Using the extension==</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Using the extension==</div></td></tr>
</table>
Saruman!
https://www.saruman.biz/saruwiki/index.php?title=MediaWiki_Extension_-_GroupPermissionsManager&diff=2494&oldid=prev
24.5.241.25: /* Adding the extension */
2010-03-22T16:03:07Z
<p><span dir="auto"><span class="autocomment">Adding the extension</span></span></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 17:03, 22 March 2010</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>FCX1bu <a href="http://nvvcqflwbycb.com/">nvvcqflwbycb</a>, [url=http://irqfsozbmvfe.com/]irqfsozbmvfe[/url], [link=http://xqvdviebyrar.com/]xqvdviebyrar[/link], http://tjmbjtiuxzxh.com/</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>FCX1bu <a href="http://nvvcqflwbycb.com/">nvvcqflwbycb</a>, [url=http://irqfsozbmvfe.com/]irqfsozbmvfe[/url], [link=http://xqvdviebyrar.com/]xqvdviebyrar[/link], http://tjmbjtiuxzxh.com/</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>=<del style="font-weight: bold; text-decoration: none;">=Adding the extension==</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Fjapje <a href</ins>=<ins style="font-weight: bold; text-decoration: none;">"</ins>http://<ins style="font-weight: bold; text-decoration: none;">qyqfydostlsb</ins>.<ins style="font-weight: bold; text-decoration: none;">com</ins>/<ins style="font-weight: bold; text-decoration: none;">">qyqfydostlsb<</ins>/a<ins style="font-weight: bold; text-decoration: none;">></ins>, [<ins style="font-weight: bold; text-decoration: none;">url=http</ins>://<ins style="font-weight: bold; text-decoration: none;">jlataoajnjwp</ins>.<ins style="font-weight: bold; text-decoration: none;">com</ins>/<ins style="font-weight: bold; text-decoration: none;">]jlataoajnjwp[</ins>/<ins style="font-weight: bold; text-decoration: none;">url]</ins>, [<ins style="font-weight: bold; text-decoration: none;">link=</ins>http://<ins style="font-weight: bold; text-decoration: none;">fyikzchdwrrf</ins>.<ins style="font-weight: bold; text-decoration: none;">com</ins>/<ins style="font-weight: bold; text-decoration: none;">]fyikzchdwrrf[</ins>/<ins style="font-weight: bold; text-decoration: none;">link</ins>], <ins style="font-weight: bold; text-decoration: none;">http</ins>://<ins style="font-weight: bold; text-decoration: none;">cpuojmnkglxj</ins>.<ins style="font-weight: bold; text-decoration: none;">com</ins>/</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">First, download the latest snapshot of the GroupPermissionsManager extension from here: [</del>http://<del style="font-weight: bold; text-decoration: none;">www</del>.<del style="font-weight: bold; text-decoration: none;">mediawiki.org</del>/<del style="font-weight: bold; text-decoration: none;">wiki</del>/<del style="font-weight: bold; text-decoration: none;">Extension:GroupPermissionsManager Mediawiki Extension:Group Permissions Manager]. It's </del>a <del style="font-weight: bold; text-decoration: none;">single archive with a name that looks like ''GroupPermissionsManager-trunk-r45886.tar.gz''. You can extract it straight into the Debian mediawiki extensions directory ''/usr/share/mediawiki-extensions''</del>, <del style="font-weight: bold; text-decoration: none;">that already exists if you've installed the ''</del>[<del style="font-weight: bold; text-decoration: none;">[Mediawiki-extensions_under_Debian|mediawiki-extensions]]'' package; out comes a little directory structure like this:</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"> GroupPermissionsManager</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"> |-- plugins</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"> | |-- disabled</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"> | `-- messages</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"> `-- scripts</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">You'll have to make sure all files and directories are owned by ''root'', and that the PHP files cannot be edited by anyone else than ''root''. This will most likely not be the case</del>: <del style="font-weight: bold; text-decoration: none;">as ''root'' run:</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"> cd </del>/<del style="font-weight: bold; text-decoration: none;">usr</del>/<del style="font-weight: bold; text-decoration: none;">share/mediawiki-extensions/GroupPermissionsManager</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"> chown -R root:root *</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"> chmod -R 644 *</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">Now, to make the extension work with Debian, we ''must'' move all files and folders under ''GroupPermissionsManager'' to ''/usr/share/mediawiki-extensions'':</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"> cd /usr/share/mediawiki-extensions/GroupPermissionsManager</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"> mv scripts ..</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"> mv plugins ..</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"> mv * ..</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"> cd .</del>.</div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"> rmdir GroupPermissionsManager</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">Next, we have to make a small alteration to ''</del>/<del style="font-weight: bold; text-decoration: none;">usr</del>/<del style="font-weight: bold; text-decoration: none;">share/mediawiki/includes/GlobalFunctions.php'' because there's a bug or shortcoming in MediaWiki 1.12</del>, <del style="font-weight: bold; text-decoration: none;">and that's the version that Lenny uses. The alteration is described in </del>[http://<del style="font-weight: bold; text-decoration: none;">www</del>.<del style="font-weight: bold; text-decoration: none;">mediawiki.org</del>/<del style="font-weight: bold; text-decoration: none;">wiki</del>/<del style="font-weight: bold; text-decoration: none;">Extension:GroupPermissionsManager#Patch a patch prescription on the MediaWiki site</del>], <del style="font-weight: bold; text-decoration: none;">but in essence we add a line after line number 422: the line beginning with "wfRunHooks"</del>:</div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"><source lang="php"></del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">function wfMsgGetKey( $key, $useDB, $forContent = false, $transform = true ) { </del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"> global $wgParser, $wgContLang, $wgMessageCache, $wgLang;</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> </div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"> wfRunHooks( 'NormalizeMessageKey', array( &$key, &$useDB, &$langCode, &$transform ) );</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"><</del>/<del style="font-weight: bold; text-decoration: none;">source></del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">Next, we create a directory where Group Permissions Manager will keep the configuration files. In the Debian style, we need something under ''/etc''. We would ordinarily suggest something under ''/etc/mediawiki-extensions'', but the configuration that the extension manipulates is used by MediaWiki itself. Thus we suggest creating ''/etc</del>/<del style="font-weight: bold; text-decoration: none;">mediawiki/config''. After that, grant the permission to write in this directory to the web server daemon, for Apache2 ''www-data''</del>.<del style="font-weight: bold; text-decoration: none;"><br></del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">Finally, create a symlink to this config directory in the place where GroupPermissionsManager actually ''expects'' it, namely in the directory where the PHP-script itself resides (here: ''</del>/<del style="font-weight: bold; text-decoration: none;">usr/share/mediawiki-extensions/''). All of this can be achieved by following these steps:</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"> cd /etc/mediawiki</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"> mkdir config</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"> chown www-data:www-data config</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"> cd /usr/share/mediawiki-extensions</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"> ln -s /etc/mediawiki/config</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">Now we can mark the extension ''GroupPermissionsManager.php'' available to MediaWiki:</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"> cd /etc/mediawiki-extensions/extensions-available</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"> ln -s /usr/share/mediawiki-extensions/GroupPermissionsManager.php</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">Then, enable the extension</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"> mwenext GroupPermissionsManager.php</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"> </del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">This by default adds some extra capabilities to the Mediawiki administrator group "bureaucrat", of which WikiAdmin is a member - and presumably you too. The capabilities are to use a ''Special'' page to create, manage, and remove Wiki groups and their permissions.</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Using the extension==</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Using the extension==</div></td></tr>
</table>
24.5.241.25
https://www.saruman.biz/saruwiki/index.php?title=MediaWiki_Extension_-_GroupPermissionsManager&diff=2484&oldid=prev
187.4.128.12: /* Mediawiki Extension: Group Permissions Manager */
2010-03-16T11:42:41Z
<p><span dir="auto"><span class="autocomment">Mediawiki Extension: Group Permissions Manager</span></span></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 12:42, 16 March 2010</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>=<del style="font-weight: bold; text-decoration: none;">=Mediawiki Extension</del>: <del style="font-weight: bold; text-decoration: none;">Group Permissions Manager==</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">FCX1bu <a href</ins>=<ins style="font-weight: bold; text-decoration: none;">"http</ins>:<ins style="font-weight: bold; text-decoration: none;">//nvvcqflwbycb.com/">nvvcqflwbycb</</ins>a<ins style="font-weight: bold; text-decoration: none;">></ins>, [<ins style="font-weight: bold; text-decoration: none;">url=</ins>http://<ins style="font-weight: bold; text-decoration: none;">irqfsozbmvfe</ins>.com/<ins style="font-weight: bold; text-decoration: none;">]irqfsozbmvfe[</ins>/<ins style="font-weight: bold; text-decoration: none;">url</ins>], [<ins style="font-weight: bold; text-decoration: none;">link=</ins>http://<ins style="font-weight: bold; text-decoration: none;">xqvdviebyrar</ins>.com/<ins style="font-weight: bold; text-decoration: none;">]xqvdviebyrar[</ins>/<ins style="font-weight: bold; text-decoration: none;">link</ins>]<ins style="font-weight: bold; text-decoration: none;">, http</ins>:<ins style="font-weight: bold; text-decoration: none;">//tjmbjtiuxzxh</ins>.<ins style="font-weight: bold; text-decoration: none;">com/</ins></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">Sometimes you as a Mediawiki administrator might feel the need to add or remove a group, or edit </del>a <del style="font-weight: bold; text-decoration: none;">groups rights. Unfortunately, there is no such function in the MediaWiki software itself</del>, <del style="font-weight: bold; text-decoration: none;">you'd have to edit the ''LocalSettings.php'' file somehow. </del>[http://<del style="font-weight: bold; text-decoration: none;">www.imdb</del>.com/<del style="font-weight: bold; text-decoration: none;">title</del>/<del style="font-weight: bold; text-decoration: none;">tt0096928/ Bogus!</del>] <del style="font-weight: bold; text-decoration: none;">But fortunately</del>, <del style="font-weight: bold; text-decoration: none;">there now exists an extension that adds this functionality. </del>[http://<del style="font-weight: bold; text-decoration: none;">www.imdb</del>.com/<del style="font-weight: bold; text-decoration: none;">title</del>/<del style="font-weight: bold; text-decoration: none;">tt0096928/ Most excellent!</del>]</div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> </div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">Note</del>: <del style="font-weight: bold; text-decoration: none;">if you want to install the older version 2.00 of this plugin (which is much simpler, both in installation and in functionality), then go to the [[MediaWikiExtension GroupPermissionsManager2.00| Group Permissions Manager 2.00]] page. The instructions on this page are for the 3.2.6 version (build r45886)</del>.</div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Adding the extension==</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Adding the extension==</div></td></tr>
</table>
187.4.128.12
https://www.saruman.biz/saruwiki/index.php?title=MediaWiki_Extension_-_GroupPermissionsManager&diff=2375&oldid=prev
Saruman!: /* Adding the extension */ expanded chmod reach
2009-02-12T21:12:37Z
<p><span dir="auto"><span class="autocomment">Adding the extension: </span> expanded chmod reach</span></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 22:12, 12 February 2009</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l14">Line 14:</td>
<td colspan="2" class="diff-lineno">Line 14:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> cd /usr/share/mediawiki-extensions/GroupPermissionsManager</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> cd /usr/share/mediawiki-extensions/GroupPermissionsManager</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> chown -R root:root *</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> chown -R root:root *</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> chmod -R 644 *<del style="font-weight: bold; text-decoration: none;">.php</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> chmod -R 644 *</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Now, to make the extension work with Debian, we ''must'' move all files and folders under ''GroupPermissionsManager'' to ''/usr/share/mediawiki-extensions'':</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Now, to make the extension work with Debian, we ''must'' move all files and folders under ''GroupPermissionsManager'' to ''/usr/share/mediawiki-extensions'':</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> cd /usr/share/mediawiki-extensions/GroupPermissionsManager</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> cd /usr/share/mediawiki-extensions/GroupPermissionsManager</div></td></tr>
</table>
Saruman!
https://www.saruman.biz/saruwiki/index.php?title=MediaWiki_Extension_-_GroupPermissionsManager&diff=2374&oldid=prev
Saruman!: /* Adding the extension */ undoing added incorrect GPM subdir
2009-02-12T21:11:51Z
<p><span dir="auto"><span class="autocomment">Adding the extension: </span> undoing added incorrect GPM subdir</span></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 22:11, 12 February 2009</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l11">Line 11:</td>
<td colspan="2" class="diff-lineno">Line 11:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> | `-- messages</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> | `-- messages</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> `-- scripts</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> `-- scripts</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>You'll have to make sure all files and directories are owned by ''root'', and that the PHP files cannot be edited by anyone else than ''root''. <del style="font-weight: bold; text-decoration: none;">If you extracted the files as ''root'', this </del>will <del style="font-weight: bold; text-decoration: none;">already </del>be the case<del style="font-weight: bold; text-decoration: none;">. If not, then </del>as ''root'' run:</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>You'll have to make sure all files and directories are owned by ''root'', and that the PHP files cannot be edited by anyone else than ''root''. <ins style="font-weight: bold; text-decoration: none;">This </ins>will <ins style="font-weight: bold; text-decoration: none;">most likely not </ins>be the case<ins style="font-weight: bold; text-decoration: none;">: </ins>as ''root'' run:</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> cd /usr/share/mediawiki-extensions/GroupPermissionsManager</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> cd /usr/share/mediawiki-extensions/GroupPermissionsManager</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> chown -R root:root *</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> chown -R root:root *</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> chmod -R 644 *.php</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> chmod -R 644 *.php</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> </div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Now, to make the extension work with Debian, we ''must'' move all files and folders under ''GroupPermissionsManager'' to ''/usr/share/mediawiki-extensions'':</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> cd /usr/share/mediawiki-extensions/GroupPermissionsManager</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> mv scripts ..</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> mv plugins ..</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> mv * ..</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> cd ..</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> rmdir GroupPermissionsManager</ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Next, we have to make a small alteration to ''/usr/share/mediawiki/includes/GlobalFunctions.php'' because there's a bug or shortcoming in MediaWiki 1.12, and that'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 "wfRunHooks":</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Next, we have to make a small alteration to ''/usr/share/mediawiki/includes/GlobalFunctions.php'' because there's a bug or shortcoming in MediaWiki 1.12, and that'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 "wfRunHooks":</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><source lang="php"></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><source lang="php"></div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l32">Line 32:</td>
<td colspan="2" class="diff-lineno">Line 38:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Now we can mark the extension ''GroupPermissionsManager.php'' available to MediaWiki:</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Now we can mark the extension ''GroupPermissionsManager.php'' available to MediaWiki:</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> cd /etc/mediawiki-extensions/extensions-available</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> cd /etc/mediawiki-extensions/extensions-available</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> ln -s /usr/share/mediawiki-extensions<del style="font-weight: bold; text-decoration: none;">/GroupPermissionsManager</del>/GroupPermissionsManager.php</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> ln -s /usr/share/mediawiki-extensions/GroupPermissionsManager.php</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Then, enable the extension</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Then, enable the extension</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> mwenext GroupPermissionsManager.php</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> mwenext GroupPermissionsManager.php</div></td></tr>
</table>
Saruman!
https://www.saruman.biz/saruwiki/index.php?title=MediaWiki_Extension_-_GroupPermissionsManager&diff=2371&oldid=prev
Saruman!: /* Adding the extension */ used GeSHi
2009-02-12T20:05:39Z
<p><span dir="auto"><span class="autocomment">Adding the extension: </span> used GeSHi</span></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 21:05, 12 February 2009</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l17">Line 17:</td>
<td colspan="2" class="diff-lineno">Line 17:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Next, we have to make a small alteration to ''/usr/share/mediawiki/includes/GlobalFunctions.php'' because there's a bug or shortcoming in MediaWiki 1.12, and that'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 "wfRunHooks":</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Next, we have to make a small alteration to ''/usr/share/mediawiki/includes/GlobalFunctions.php'' because there's a bug or shortcoming in MediaWiki 1.12, and that'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 "wfRunHooks":</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"> </del>function wfMsgGetKey( $key, $useDB, $forContent = false, $transform = true ) { </div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"><source lang="php"></ins></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"> </del>global $wgParser, $wgContLang, $wgMessageCache, $wgLang;</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>function wfMsgGetKey( $key, $useDB, $forContent = false, $transform = true ) { </div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"> </del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> </ins>global $wgParser, $wgContLang, $wgMessageCache, $wgLang;</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"> </del>wfRunHooks( 'NormalizeMessageKey', array( &$key, &$useDB, &$langCode, &$transform ) );</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> </ins>wfRunHooks( 'NormalizeMessageKey', array( &$key, &$useDB, &$langCode, &$transform ) );</div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></source></ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Next, we create a directory where Group Permissions Manager will keep the configuration files. In the Debian style, we need something under ''/etc''. We would ordinarily suggest something under ''/etc/mediawiki-extensions'', but the configuration that the extension manipulates is used by MediaWiki itself. Thus we suggest creating ''/etc/mediawiki/config''. After that, grant the permission to write in this directory to the web server daemon, for Apache2 ''www-data''.<br></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Next, we create a directory where Group Permissions Manager will keep the configuration files. In the Debian style, we need something under ''/etc''. We would ordinarily suggest something under ''/etc/mediawiki-extensions'', but the configuration that the extension manipulates is used by MediaWiki itself. Thus we suggest creating ''/etc/mediawiki/config''. After that, grant the permission to write in this directory to the web server daemon, for Apache2 ''www-data''.<br></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Finally, create a symlink to this config directory in the place where GroupPermissionsManager actually ''expects'' it, namely in the directory where the PHP-script itself resides (here: ''/usr/share/mediawiki-extensions/''). All of this can be achieved by following these steps:</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Finally, create a symlink to this config directory in the place where GroupPermissionsManager actually ''expects'' it, namely in the directory where the PHP-script itself resides (here: ''/usr/share/mediawiki-extensions/''). All of this can be achieved by following these steps:</div></td></tr>
</table>
Saruman!