[pmwiki-users] Marup processing and EnableRelativePageVars

DaveG pmwiki at solidgone.com
Wed Sep 12 12:08:23 CDT 2007




> Oh, sorry -- I forgot backslashes:
> 
>   Markup('skidoo_tab_edit', 'directives',
>          '/\\(:skidoo_tab_edit:\\)/e',
>          "PRR('<div class="divedit">[[{\$FullName}?action=edit | edit
> ]]{\$FullName}</div>')"
>          );
The variable is now replaced, but does not reference the page on which the variable is located -- it acts under the old method. If I simply place ($FullName} within the page, I get a reference to the 'included' page, but when it's part of the markup the replacement refers to the current page, not the page on which the variable is used.


> It does seem that if this is going to be the default, all the old skins
> will need to be updated.
> 
> This doesn't (shouldn't) have any direct impact on skins; at most
> it affects some wiki pages provided with skins.  As far as I know,
> most of the affected skins on pmwiki.org have already been updated
> to the new behavior -- but feel free to point out any that are not.
I'm creating a skin, and started with something as a base -- I'll have to verify whether that skin was updated.




More information about the pmwiki-users mailing list