[Pmwiki-users] Unwanted Autolinks with WikiWords Off
Eric Celeste
efc
Fri Apr 9 12:54:48 CDT 2004
> Keep in mind that if $pagename is empty (i.e., if someone goes to the
> pmwiki.php script without specifying a pagename), then $group will be
> empty...
Ah! Exactly. The empty group was still linking wikiwords. Since "UThink" was
a link on the default page of the site, it sprouted a "?" whenever the site
was referenced without a group or pagename. After a "save" in editing,
PmWiki returned users to the same page, but _with_ a group and pagename. So
after any edit, the wikiwords were turned off again.
Changing config.php to...
$group = FmtPageName('$Group',$pagename);
if ($group!='Main' && $group!='PmWiki')
$WikiWordCountMax = 0;
...seems to have fixed things.
Thanks, Pm!
...Eric
More information about the pmwiki-users
mailing list