[pmwiki-users] Custom variables in a page?

Robin Sheat robin at kallisti.net.nz
Tue Feb 28 18:09:06 CST 2006


I have part of my wiki for software distribution[0]. What I'd like to be 
able to do is something like (in shell-like syntax):
In the GroupHeader:
prog_version = 0.17
And then in the pages:
The current version is ${prog_version}, you can download it here: 
Attach:emusicj-${prog_version}.tar.gz

Basically, a simple string substitution. This way, when I release a new 
version, I can just change the version in one place, and everything 
changes. I can then click on the Attach: link to upload the new version.

Is this possible?

[0] Shameless plug: http://www.kallisti.net.nz/EMusicJ/HomePage :)
-- 
Robin <robin at kallisti.net.nz> JabberID: <eythian at jabber.kallisti.net.nz>

Hostes alienigeni me abduxerunt. Qui annus est?

PGP Key 0xA99CEB6D = 5957 6D23 8B16 EFAB FEF8  7175 14D3 6485 A99C EB6D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /pipermail/pmwiki-users/attachments/20060301/608d17b8/attachment.bin 


More information about the pmwiki-users mailing list