Does this mean I need to say<br> $WhiteUrlPatterns[nz]  = &#39;<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">http://[^/] \\.nz</span>&#39;;  ### -AND-<br>
 $WhiteUrlPatterns[au] = &#39;<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">http://[^/] \\.au</span>&#39;;<div><br></div><div>Simon<br><div><br><div class="gmail_quote">
On 6 June 2010 04:19, Petko Yotov <span dir="ltr">&lt;<a href="mailto:5ko@5ko.fr">5ko@5ko.fr</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
On Saturday 05 June 2010 13:10:33, Hans wrote :<br>
<div class="im">&gt; Saturday, June 5, 2010, 8:54:21 AM, Petko Yotov wrote:<br>
&gt; &gt; Yes, see $WhiteUrlPatterns at this page :<br>
&gt; &gt;   <a href="http://www.pmwiki.org/wiki/PmWiki/UrlApprovals" target="_blank">http://www.pmwiki.org/wiki/PmWiki/UrlApprovals</a><br>
&gt;<br>
&gt; This confuses me:<br>
<br>
</div><div class="im">&gt; Is $WhiteUrlPatterns an array or not?<br>
<br>
</div>It can be both -- if it is not an array but a string, it will be converted to<br>
an array with a single element.<br>
<div class="im"><br>
&gt; In any case neither way worked here (&#39;<a href="http://localhost/&#39;" target="_blank">http://localhost/&#39;</a>),<br>
<br>
</div>Both work for me :<br>
<br>
  $WhiteUrlPatterns   = &#39;<a href="http://localhost" target="_blank">http://localhost</a>&#39;;  ### -OR-<br>
  $WhiteUrlPatterns[] = &#39;<a href="http://localhost" target="_blank">http://localhost</a>&#39;;<br>
<font color="#888888"><br>
Petko<br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
pmwiki-users mailing list<br>
<a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br>
<a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users" target="_blank">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>____<br><a href="http://kiwiwiki.co.nz">http://kiwiwiki.co.nz</a><br>
</div></div>