[pmwiki-users] Making a domain name a wiki page

Patrick R. Michaud pmichaud at pobox.com
Wed May 31 09:58:03 CDT 2006


On Tue, May 30, 2006 at 09:44:39PM -0400, Stirling Westrup wrote:
> Patrick R. Michaud wrote:
> > It's not just the linking syntax, we also have to see if this affects
> > the way pages are stored on disk (where '.' is used to delimit groups
> > in pagenames), and understand what impacts it might have on the 
> > loading and naming of files in local/ and pub/css/ .
> > 
> > This isn't to say it can't be done, only that it's a non-trivial
> > change, and has a strong potential to break a lot of sites.
> > 
> > I'm presuming that we wouldn't allow dots in group names, just
> > page names?  
> 
> I've been wondering if some sort of escaping mechanism couldn't be used
> here, so that something like [[Group\.Name.Ver\ 1\.2]] could produce a
> link like
> 
>   http://www.somewiki.org/Group.Name/Ver 1.2/
> 
> or perhaps more like
> 
>   http://www.somewiki.org/Group.Name/Ver%201.2/

A *very* useful idea.  I'll keep it in mind.

At the moment I'm thinking that we'll establish an equivalence
between underscores and spaces, so that

    [[Group.Name with spaces]]

will generate a url like

    http://www.example.com/wiki/Group/Name_with_spaces

instead of the ugly and hard-to-type

    http://www.example.com/wiki/Group/Name%20with%20spaces

Using underscores is also more consistent with the way that MediaWiki
names its pages.

Pm




More information about the pmwiki-users mailing list