[Pmwiki-users] bug in WikiWord#label processing?

John Rankin john.rankin
Mon Nov 10 13:53:42 CST 2003

Fred, try something like the following in local.php:

$WikiPageExistsFragFmt = 
    "<a class='wikiword' href='\$PageUrl\$Fragment'>\$LinkText</a>";
$WikiPageExistsFmt = 
    "<a class='wikiword' href='\$PageUrl'>\$LinkText</a>";
$FmtWikiLink = 'MyFmtWikiLink';

function MyFmtWikiLink($pat,$ref,$btext,$out=NULL,$pname=NULL) {
  global $WikiPageExistsFmt,$WikiPageExistsFragFmt;
  if (strstr($ref,'#')) {
  $r = FmtWikiLink($pat,$ref,$btext,$out,$pname);
  return $r;

Hope this helps.

John Rankin

On Tuesday, 11 November 2003 9:17 AM, Fred Henle <fred_henle at mercersburg.edu> wrote:
I struggled with that bug for a while last month and then gave up.  What
is your local fix?


Pmwiki-users mailing list
Pmwiki-users at pmichaud.com

More information about the pmwiki-users mailing list