[Pmwiki-users] 0.6-beta -- possible change to search results

John Rankin john.rankin
Mon Jan 26 16:30:54 CST 2004


On Tuesday, 27 January 2004 10:05 AM, Patrick R. Michaud <pmichaud at pobox.com> wrote:
>On Tue, Jan 27, 2004 at 09:49:09AM +1300, John Rankin wrote:

>> [...]
>
>Another consideration: in uploads one gets a list of available uploads
>by doing [[$Attachlist]].  Should that have been [[attachlist:...]]
>instead?  

um... yes, probably.

Christian and I have had a discussion about whether generating a page
table of contents should use [[$Toc]] or [[toc]]. The current version
uses [[toc]].

>
>And to pre-empt the obvious question:  No, I really *don't* have a 
>good distinction in meanings/interpretation between the [[$Word]] and 
>[[word:...]] forms of directives.  Originally things such as 
>[[$Title]], [[$Group]], [[$Titlespaced]], [[$Groupspaced]], [[$Search]],
>etc. were named by way of reference to their $...Fmt variable 
>equivalents, while [[noheader]], [[spacewikiwords]], and the like 
>tended to be "directives" that affected the overall page and didn't 
>produce any direct output.  But [[include:]] and [[$Attachlist]] might 
>not fit well into that model... :-(  Should we try for something
>more consistent, or not bother?

I think of [[include:...]], [[attachlist]], [[search:...]], [[para:...]]
and [[toc]] as being like little PmWiki macros that run and return some 
wiki text that the pmwiki engine then processes. You are right, they are
really a third thing. I do think that [[$Search]] and [[search:some text]]
or [[$Title]] and a hypothetical [[title:WikiPage]] convey different 
meanings.

I can imagine [[$Include]] that generates a form inviting somebody to 
choose a page for inclusion. OK no obvious use for such a feature...

In my head, [[$Name]] indicates a noun or object and [[name]] indicates
a verb or service.

Yes, I think it would be good to be consistent.

J

>
>Pm
>
>-- 
>Pmwiki-users mailing list
>Pmwiki-users at pmichaud.com
>http://pmichaud.com/mailman/listinfo/pmwiki-users_pmichaud.com
>


-- 
JR
--
John Rankin





More information about the pmwiki-users mailing list