[Pmwiki-users] Re: FreeLinks and the Calendar

Patrick R. Michaud pmichaud
Sun Mar 14 17:30:32 CST 2004


On Mon, Mar 15, 2004 at 11:36:45AM +1300, John Rankin wrote:
> 
> >  11. FreeLinks and the Calendar (Dave Noonan)
> >
> Try downloading and installing wikilog-0.6.7 from
> 
> You are correct that the freelink pattern needs to be set,
> as does the page title pattern. By default, pmwiki doesn't
> allow page names to begin with a digit.

Is there any particular reason that the Calendar script doesn't
go ahead and change the freelink pattern as part of the script?

> And your idea to display the dates with separators is a
> good one.

I think the page names ought to have the separators "built-in"; i.e.,
use {{2004-02-29}} as the page name instead of {{20040229}}.

> Now that pmwiki allows us to redefine the AsSpaced function,
> wikilog can look for 8 digit page names and insert separators.
> The only downside I can see is that people will still have to
> write {{20040229}} to refer to another page, which could be 
> confusing.

If the freelink pattern is set to allow page names with leading
digits, then {{2004 02 29}} will work just fine unless the 
space-to-underscore feature is enabled.

> I'll try it and see how it works. Presumably, this should
> be a display option that administrators can turn off.

I'm still planning to write a slightly different calendar module--
I hate to create a "module fork" here but the existing one doesn't
quite work for some of my needs.

Pm



More information about the pmwiki-users mailing list