[pmwiki-users] Re: Question about HTML output for link targets
Patrick R. Michaud
pmichaud at pobox.com
Wed Feb 2 16:18:55 CST 2005
On Thu, Feb 03, 2005 at 11:02:42AM +1300, John Rankin wrote:
> You might look at the Cookbook.SubpageMarkup recipe.
I did exactly that -- indeed, when I first recognized that I really
wanted comments to be in a separate page I took a look at subpages.
(I meant to include credit to you for the idea in my previous message
but got distracted before hitting "send". Sorry about that.)
>Also, I suggest:
>
> - *not* _ because it would be prudent to reserve this for sites that
> prefer to use _ instead of spaces in page names
I agree entirely -- this wasn't ever an option for me.
> - *not* ~ because [[~xyz]] means [[Profiles.xyz]]
> - I ended up with [[*Subpage]] markup to mean [[{$Group}.{$PageName}*Subpage]]
I don't like '*' for the very practical reason that someone doing
the command line "rm Group.SomePage*SubPage" to remove a page might
be very upset by the results. It also just looks funny and could scare
off a few admins.
In considering "~" I did think about the potential conflict with [[~xyz]],
but I wasn't necessarily planning to allow a [[~subpage]] markup.
And even though hyphens are allowed in page names, I still haven't
excluded just using plain hyphen ('-') here, as in "-Comments" and
"-Draft". Using hyphen wouldn't mean excluding it from other page
names; it's just that page names ending in '-Comments', '-Draft', etc.
would be "special" (without having to introduce a full "subpage"
capability).
Pm
More information about the pmwiki-users
mailing list