[Pmwiki-users] SingleWikiWords implementation

Michael_Paulukonis@divintech.com Michael_Paulukonis
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
right now...

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 
http://www.b-a-l-u.de/index.php/Main/SingleWikiWords

and now Newspapers and News-Archive are all reconfigured to the 
single-word implementation (and thus temporarily trashing Mr. Balu's news 
archive setup!).

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...
URL: http://contra.vosn.net/pipermail/pmwiki-users_pmichaud.com/attachments/20040506/ae22763c/attachment-0001.htm


More information about the pmwiki-users mailing list