[Pmwiki-users] Feature Suggestion

Jonathan Scott Duff duff at pobox.com
Fri Mar 7 09:02:14 CST 2003


In the interest of favoring authors, how about a way to include
"intermaps" (I'll be calling these shortcuts from now on as the word
"intermap" doesn't make much sense to me anymore) in wiki pages?  For
instance, say the ISBN shortcut wasn't in the intermap.txt nor in the
localmap.txt or you want ISBN to be a shortcut to Barnes&Noble rather
than whatever the PmWikiAdmin has decided it should be a shortcut to.
If there were a way to specify a shortcut using PmWikiMarkup, then the
author of a page could define shortcuts where it makes sense.

The only syntactic way that springs to mind right off is something
like (the all too line oriented):

[%
Abbrev0 FullyExpandedThing0
Abbrev1 FullyExpandedThing1
%]

s/%/<some other character>/   maybe a colon would work.

This could also allow shortcuts for a whole group by making it part of
the GroupAttributes page (for instance) and have pmwiki read that page
for shortcuts after reading intermap.txt. The rule would be that page
specific shortcuts override group specific shortcuts override
intermap.txt.

-Scott
-- 
Jonathan Scott Duff
duff at cbi.tamucc.edu




More information about the pmwiki-users mailing list