[pmwiki-users] include other pages from other groups without breaking simple links?

Petko Yotov 5ko at 5ko.fr
Sat Mar 14 18:16:36 CDT 2009


On Saturday 14 March 2009 21:51:21 Grzegorz Hermanowicz wrote:
> I can use polish diacritics in links by using this recipe
> http://www.pmwiki.org/wiki/Cookbook/UTF-8
...
> can't digest simple links with polish letters in it.
> [[wiadro]] works as should and [[siodło]] is not...

Confirmed, you discovered a bug! It will hopefully be fixed in the next PmWiki 
version. Thanks for reporting it!

Until then, you can add the following lines in config.php to fix your links:

  $qpkey = '/(\\[\\[(?>[^\\]]+?->)?\\s*)'
    .'([-\\w\\x80-\\xfe\\s\'()]+([|#?].*?)?\\]\\])/e';
  $QualifyPatterns[$qpkey]  = "PSS('$1').\$group.PSS('/$2')";

Thanks,
Petko



More information about the pmwiki-users mailing list