<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Kommentare für Monty&#039;s Sammelsurium</title>
	<atom:link href="http://blog.pagansoft.de/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.pagansoft.de</link>
	<description>Ideas, Jokes and everything else...</description>
	<lastBuildDate>Sat, 12 Nov 2011 16:36:06 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Kommentar zu Introducing AutoTest for Delphi von Demarlo</title>
		<link>http://blog.pagansoft.de/2011/09/30/introducing-autotest-for-delphi/#comment-203</link>
		<dc:creator>Demarlo</dc:creator>
		<pubDate>Sat, 12 Nov 2011 16:36:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pagansoft.de/?p=194#comment-203</guid>
		<description>Hey, that&#039;s poewrful. Thanks for the news.</description>
		<content:encoded><![CDATA[<p>Hey, that&#8217;s poewrful. Thanks for the news.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Kommentar zu Version 0.8 of AccessControl Extension for MediaWiki von Zimler Attila Tamás</title>
		<link>http://blog.pagansoft.de/2007/09/29/accesscontrol-extension-for-mediawiki-version-0-8/#comment-202</link>
		<dc:creator>Zimler Attila Tamás</dc:creator>
		<pubDate>Wed, 17 Feb 2010 16:22:49 +0000</pubDate>
		<guid isPermaLink="false">http://wordpress.pagansoft.de/2007/09/29/version-0-8-of-accesscontrol-extension-for-mediawiki/#comment-202</guid>
		<description>Version 0.8 contains assumption that mediawiki is installed into the root directory of the webserver. Patch for correcting this bug follows:

&lt; --- begin snippet ---&gt;
&lt;code&gt;
--- accesscontrol.php	2007-09-29 12:20:00.000000000 +0200
+++ /var/lib/mediawiki/extensions/GroupBasedAccessControl/accesscontrol.php	2010-02-17 18:15:32.000000000 +0100
@@ -233,9 +233,10 @@
 	{
 		global $wgOut;
 		global $wgAccessControlNoAccessPage;
+		global $wgScriptPath;
 
 		// some first initialisations
-		if (trim($wgAccessControlNoAccessPage)==&quot;&quot;) $wgAccessControlNoAccessPage=&quot;/index.php/No_Access&quot;;
+		if (trim($wgAccessControlNoAccessPage)==&quot;&quot;) $wgAccessControlNoAccessPage=&quot;$wgScriptPath/index.php/No_Access&quot;;
 
 		// make direct redirect, if $wgOut isn&#039;t already set (bypassing the cache), bad hack
 		if ((is_object( $wgOut )) &amp;&amp; (is_a( $wgOut, &#039;StubObject&#039; )))
@@ -385,6 +386,8 @@
 	// Parses a Wiki-Link and generates a HTML-Link (this is quite a bad hack)
         function parseLink($link)
 	{
+		global $wgScriptPath;
+		
 		// Check if Link is marked &quot;Read Only&quot;
 		if (strpos( $link, &quot;(ro)&quot;))
 		{
@@ -417,7 +420,7 @@
                 }
 		
 		// return the HTML link
-                return &quot;&lt;a href=\&quot;/index.php/$linkTitle\&quot; title=\&quot;$linkTitle\&quot; rel=&quot;nofollow&quot;&gt;$linkName&lt;/a&gt;&quot;;
+                return &quot;&lt;a href=\&quot;$wgScriptPath/index.php/$linkTitle\&quot; title=\&quot;$linkTitle\&quot; rel=&quot;nofollow&quot;&gt;$linkName&lt;/a&gt;&quot;;
         }
&lt;/code&gt;
&lt; --- end snippet ---&gt;

Have fun,

Attila

PS: Spam prevention is very bad. I was unable to read 2 strings.</description>
		<content:encoded><![CDATA[<p>Version 0.8 contains assumption that mediawiki is installed into the root directory of the webserver. Patch for correcting this bug follows:</p>
<p>< --- begin snippet ---><br />
<code><br />
--- accesscontrol.php	2007-09-29 12:20:00.000000000 +0200<br />
+++ /var/lib/mediawiki/extensions/GroupBasedAccessControl/accesscontrol.php	2010-02-17 18:15:32.000000000 +0100<br />
@@ -233,9 +233,10 @@<br />
 	{<br />
 		global $wgOut;<br />
 		global $wgAccessControlNoAccessPage;<br />
+		global $wgScriptPath;</p>
<p> 		// some first initialisations<br />
-		if (trim($wgAccessControlNoAccessPage)=="") $wgAccessControlNoAccessPage="/index.php/No_Access";<br />
+		if (trim($wgAccessControlNoAccessPage)=="") $wgAccessControlNoAccessPage="$wgScriptPath/index.php/No_Access";</p>
<p> 		// make direct redirect, if $wgOut isn't already set (bypassing the cache), bad hack<br />
 		if ((is_object( $wgOut )) &#038;&#038; (is_a( $wgOut, 'StubObject' )))<br />
@@ -385,6 +386,8 @@<br />
 	// Parses a Wiki-Link and generates a HTML-Link (this is quite a bad hack)<br />
         function parseLink($link)<br />
 	{<br />
+		global $wgScriptPath;<br />
+<br />
 		// Check if Link is marked "Read Only"<br />
 		if (strpos( $link, "(ro)"))<br />
 		{<br />
@@ -417,7 +420,7 @@<br />
                 }</p>
<p> 		// return the HTML link<br />
-                return "<a href=\"/index.php/$linkTitle\" title=\"$linkTitle\" rel="nofollow">$linkName</a>";<br />
+                return "<a href=\"$wgScriptPath/index.php/$linkTitle\" title=\"$linkTitle\" rel="nofollow">$linkName</a>";<br />
         }<br />
</code><br />
< --- end snippet ---></p>
<p>Have fun,</p>
<p>Attila</p>
<p>PS: Spam prevention is very bad. I was unable to read 2 strings.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Kommentar zu Version 0.8 of AccessControl Extension for MediaWiki von Nicolas</title>
		<link>http://blog.pagansoft.de/2007/09/29/accesscontrol-extension-for-mediawiki-version-0-8/#comment-201</link>
		<dc:creator>Nicolas</dc:creator>
		<pubDate>Thu, 01 Oct 2009 21:44:35 +0000</pubDate>
		<guid isPermaLink="false">http://wordpress.pagansoft.de/2007/09/29/version-0-8-of-accesscontrol-extension-for-mediawiki/#comment-201</guid>
		<description>Hi,
I would like to restrict the information on the members (Special:Listusers) of a group to only members of that group. Is it possible to do it with your extension?

Many thanks for any information.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I would like to restrict the information on the members (Special:Listusers) of a group to only members of that group. Is it possible to do it with your extension?</p>
<p>Many thanks for any information.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Kommentar zu Version 0.8 of AccessControl Extension for MediaWiki von kiklop</title>
		<link>http://blog.pagansoft.de/2007/09/29/accesscontrol-extension-for-mediawiki-version-0-8/#comment-200</link>
		<dc:creator>kiklop</dc:creator>
		<pubDate>Tue, 08 Sep 2009 12:39:58 +0000</pubDate>
		<guid isPermaLink="false">http://wordpress.pagansoft.de/2007/09/29/version-0-8-of-accesscontrol-extension-for-mediawiki/#comment-200</guid>
		<description>I wrote my own patch to &quot;solve&quot; this problem..
I have modified accesscontrol.php on line 248 to this :
&lt;code&gt;
			// redirect to the no-access-page if current user doesn&#039;t match the
			// accesscontrol list
			If(strpos($_SERVER[&quot;HTTP_REFERER&quot;],&quot;&amp;search=&quot;)){
			}else{
			
			$wgOut-&gt;redirect($wgAccessControlNoAccessPage);
			}
&lt;/code&gt;
Its not ideal solution, but now you can search in protected documents...</description>
		<content:encoded><![CDATA[<p>I wrote my own patch to &#8220;solve&#8221; this problem..<br />
I have modified accesscontrol.php on line 248 to this :<br />
<code><br />
			// redirect to the no-access-page if current user doesn't match the<br />
			// accesscontrol list<br />
			If(strpos($_SERVER["HTTP_REFERER"],"&#038;search=")){<br />
			}else{</p>
<p>			$wgOut->redirect($wgAccessControlNoAccessPage);<br />
			}<br />
</code><br />
Its not ideal solution, but now you can search in protected documents&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Kommentar zu Version 0.8 of AccessControl Extension for MediaWiki von Alain</title>
		<link>http://blog.pagansoft.de/2007/09/29/accesscontrol-extension-for-mediawiki-version-0-8/#comment-199</link>
		<dc:creator>Alain</dc:creator>
		<pubDate>Sat, 01 Aug 2009 15:21:54 +0000</pubDate>
		<guid isPermaLink="false">http://wordpress.pagansoft.de/2007/09/29/version-0-8-of-accesscontrol-extension-for-mediawiki/#comment-199</guid>
		<description>As I cant find an E-Mail address of yours, ill just post it as a comment:

Your Plugin works fine, but it totally messes up wiki search.

See my fixes:
&lt;code&gt;
	function doRedirect()
	{
		global $wgOut;
		global $wgAccessControlNoAccessPage;

		//aliedit so user can search
		global $wgTitle, $wgSearchPageName;
		if ($wgTitle==$wgSearchPageName)
			return; //aliedit end
&lt;/code&gt;

AND 

&lt;code&gt;
function hookUserCan( &amp;$title, &amp;$wgUser, $action, &amp;$result )
	{

[....]
else
						$allowAccess = controlUserAccess( $allowedGroups, true ); //aliedit
						//controlUserAccess( $allowedGroups, true );
				}
			}
		}
		
		if ($allowAccess)
			return true;
	}
&lt;/code&gt;
This seams to work and does not show entries the user has no right to read as search results. If this fix is not applied any user can read any document by multiply using search...</description>
		<content:encoded><![CDATA[<p>As I cant find an E-Mail address of yours, ill just post it as a comment:</p>
<p>Your Plugin works fine, but it totally messes up wiki search.</p>
<p>See my fixes:<br />
<code><br />
	function doRedirect()<br />
	{<br />
		global $wgOut;<br />
		global $wgAccessControlNoAccessPage;</p>
<p>		//aliedit so user can search<br />
		global $wgTitle, $wgSearchPageName;<br />
		if ($wgTitle==$wgSearchPageName)<br />
			return; //aliedit end<br />
</code></p>
<p>AND </p>
<p><code><br />
function hookUserCan( &#038;$title, &#038;$wgUser, $action, &#038;$result )<br />
	{</p>
<p>[....]<br />
else<br />
						$allowAccess = controlUserAccess( $allowedGroups, true ); //aliedit<br />
						//controlUserAccess( $allowedGroups, true );<br />
				}<br />
			}<br />
		}</p>
<p>		if ($allowAccess)<br />
			return true;<br />
	}<br />
</code><br />
This seams to work and does not show entries the user has no right to read as search results. If this fix is not applied any user can read any document by multiply using search&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Kommentar zu Version 0.8 of AccessControl Extension for MediaWiki von Markus</title>
		<link>http://blog.pagansoft.de/2007/09/29/accesscontrol-extension-for-mediawiki-version-0-8/#comment-198</link>
		<dc:creator>Markus</dc:creator>
		<pubDate>Thu, 26 Mar 2009 09:48:05 +0000</pubDate>
		<guid isPermaLink="false">http://wordpress.pagansoft.de/2007/09/29/version-0-8-of-accesscontrol-extension-for-mediawiki/#comment-198</guid>
		<description>Hi Martin!

Ich habe das gleiche Problem wie ein paar Leute hier auch schon. Ich verwende MediaWiki 1.14.0 und AccessControl 1.0. Wenn man nach einem Begriff sucht, der in einer gesperrten Seite vorkommt, bugt die Suche.

Kannst Du mir sagen, wie ich das fixen kann, so dass man den Suchbegriff auf den Seiten, zu denen man Zugang hat, findet, und auf den gesperrten nicht?

Beste Grüße,
Markus</description>
		<content:encoded><![CDATA[<p>Hi Martin!</p>
<p>Ich habe das gleiche Problem wie ein paar Leute hier auch schon. Ich verwende MediaWiki 1.14.0 und AccessControl 1.0. Wenn man nach einem Begriff sucht, der in einer gesperrten Seite vorkommt, bugt die Suche.</p>
<p>Kannst Du mir sagen, wie ich das fixen kann, so dass man den Suchbegriff auf den Seiten, zu denen man Zugang hat, findet, und auf den gesperrten nicht?</p>
<p>Beste Grüße,<br />
Markus</p>
]]></content:encoded>
	</item>
	<item>
		<title>Kommentar zu Version 0.8 of AccessControl Extension for MediaWiki von Piotr Szrajber</title>
		<link>http://blog.pagansoft.de/2007/09/29/accesscontrol-extension-for-mediawiki-version-0-8/#comment-197</link>
		<dc:creator>Piotr Szrajber</dc:creator>
		<pubDate>Tue, 27 Jan 2009 11:54:15 +0000</pubDate>
		<guid isPermaLink="false">http://wordpress.pagansoft.de/2007/09/29/version-0-8-of-accesscontrol-extension-for-mediawiki/#comment-197</guid>
		<description>Hello,

I have problems using AccessControl with Collection extension.

My problem is similar to one described here:

http://www.mail-archive.com/mwlib@googlegroups.com/msg00211.html

The error message is

Fatal error: Call to a member function getText() on a non-object in /var/www/wiki/extensions/accesscontrol.php on line 594

when accessing page

api.php?redirects=1&amp;titles=Makler&amp;format=json&amp;action=query&amp;rvprop=content&amp;prop=revisions


Could you please fix that behaviour in the next release or point some way of solving the problem?

Kind regards,
Piotr</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I have problems using AccessControl with Collection extension.</p>
<p>My problem is similar to one described here:</p>
<p><a href="http://www.mail-archive.com/mwlib@googlegroups.com/msg00211.html" rel="nofollow">http://www.mail-archive.com/mwlib@googlegroups.com/msg00211.html</a></p>
<p>The error message is</p>
<p>Fatal error: Call to a member function getText() on a non-object in /var/www/wiki/extensions/accesscontrol.php on line 594</p>
<p>when accessing page</p>
<p>api.php?redirects=1&#038;titles=Makler&#038;format=json&#038;action=query&#038;rvprop=content&#038;prop=revisions</p>
<p>Could you please fix that behaviour in the next release or point some way of solving the problem?</p>
<p>Kind regards,<br />
Piotr</p>
]]></content:encoded>
	</item>
	<item>
		<title>Kommentar zu Version 0.8 of AccessControl Extension for MediaWiki von Julian</title>
		<link>http://blog.pagansoft.de/2007/09/29/accesscontrol-extension-for-mediawiki-version-0-8/#comment-196</link>
		<dc:creator>Julian</dc:creator>
		<pubDate>Fri, 10 Oct 2008 19:58:52 +0000</pubDate>
		<guid isPermaLink="false">http://wordpress.pagansoft.de/2007/09/29/version-0-8-of-accesscontrol-extension-for-mediawiki/#comment-196</guid>
		<description>Hi There, 

it seems to have a problem with Category Pages. Is that possible?

Cheers, 

Julian</description>
		<content:encoded><![CDATA[<p>Hi There, </p>
<p>it seems to have a problem with Category Pages. Is that possible?</p>
<p>Cheers, </p>
<p>Julian</p>
]]></content:encoded>
	</item>
	<item>
		<title>Kommentar zu Version 0.8 of AccessControl Extension for MediaWiki von Lena</title>
		<link>http://blog.pagansoft.de/2007/09/29/accesscontrol-extension-for-mediawiki-version-0-8/#comment-195</link>
		<dc:creator>Lena</dc:creator>
		<pubDate>Mon, 29 Sep 2008 12:32:03 +0000</pubDate>
		<guid isPermaLink="false">http://wordpress.pagansoft.de/2007/09/29/version-0-8-of-accesscontrol-extension-for-mediawiki/#comment-195</guid>
		<description>Hallo,

ich benutze MediaWiki 1.13 und probiere gerade alle Hacks aus, die hier vorgeschlagen werden. Aber irgendwie wollen die alle nicht funktionieren. Das wiki ist bei mir auch in einem Unterverzeichnis. Was könnte ich noch ändern um Accesscontrol anwenden zu können?

Bin für jede Hilfe dankbar</description>
		<content:encoded><![CDATA[<p>Hallo,</p>
<p>ich benutze MediaWiki 1.13 und probiere gerade alle Hacks aus, die hier vorgeschlagen werden. Aber irgendwie wollen die alle nicht funktionieren. Das wiki ist bei mir auch in einem Unterverzeichnis. Was könnte ich noch ändern um Accesscontrol anwenden zu können?</p>
<p>Bin für jede Hilfe dankbar</p>
]]></content:encoded>
	</item>
	<item>
		<title>Kommentar zu Version 0.8 of AccessControl Extension for MediaWiki von Delerue Jean-Francois</title>
		<link>http://blog.pagansoft.de/2007/09/29/accesscontrol-extension-for-mediawiki-version-0-8/#comment-194</link>
		<dc:creator>Delerue Jean-Francois</dc:creator>
		<pubDate>Wed, 16 Jul 2008 11:56:22 +0000</pubDate>
		<guid isPermaLink="false">http://wordpress.pagansoft.de/2007/09/29/version-0-8-of-accesscontrol-extension-for-mediawiki/#comment-194</guid>
		<description>Hi Martin,

I installed your extension and I am happy so far. thank you very much.

However, I would like to know if there is any way to protect documents stored in the Image Namespace the same way? I.e. restrict access to media document using tags, groups etc...

If you know of any free or commercial way, stable or beta... 

Thank you very much in advance,

Jean Francois</description>
		<content:encoded><![CDATA[<p>Hi Martin,</p>
<p>I installed your extension and I am happy so far. thank you very much.</p>
<p>However, I would like to know if there is any way to protect documents stored in the Image Namespace the same way? I.e. restrict access to media document using tags, groups etc&#8230;</p>
<p>If you know of any free or commercial way, stable or beta&#8230; </p>
<p>Thank you very much in advance,</p>
<p>Jean Francois</p>
]]></content:encoded>
	</item>
</channel>
</rss>

