[Pmwiki-users] SingleWikiWords implementation
Thu May 6 06:54:10 CDT 2004
Balu: Okay, I've take a few minutes to try to create the wanted
SingleWikiWords feature. I am testing the code snippet below in my Wiki
Lookin' good! fairly easy..if not easier than I had envisioned! The extra
[= and ' coding is awkward, but if it's what's needed to make it work, I
am not squawking.
One caveat: Once a single-word has been defined, the script uses any
string matching that word--even if the word is PART of a larger string.
eg, I added "News" to the SingleWikiWords wordlist at
and now Newspapers and News-Archive are all reconfigured to the
single-word implementation (and thus temporarily trashing Mr. Balu's news
Similarly, "Sand" grabs both "Sandwich" and "SandBox".
Is there any way to make the script stop after the listed characters? ie
"Sand" will not effect "Sands" or "Sandwiches" or "SandBox" unless there
are wildcards specifically inputted into the SingleWikiWords list?
Great start! wow!
Michael J. Paulukonis
Technical Support Specialist
Diversified Information Technologies
570-343-2300 Ext 3043
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pmwiki-users