[pmwiki-users] Empty $pagename (Was: variables for customization)
Patrick R. Michaud
pmichaud at pobox.com
Thu Jul 7 19:44:37 CDT 2005
On Fri, Jul 08, 2005 at 12:27:31AM +0200, chr at home.se wrote:
> Oh.. this might explain quite a few bugs actually. I'm guessing this is
> not a fact that's well known... PmWiki.BasicVariables could do with a
> note about this as well. Would you say that $pagename deserves it's own
> page just like FmtPageName()?
I don't think it deserves its own page -- it could probably go
in PmWiki.BasicVariables.
> What's the recommended way for scripts to deal with this? (I'm talking
> about scripts that might be invoked by config.php)
I don't have a recommended way for this. Based on the discussions
of the past couple of days I'm thinking that I'll create a SetPageName()
function, which initializes $pagename as well as $group and $name.
Pm
More information about the pmwiki-users
mailing list