[Pmwiki-users] acronyms that aren't wikiwords
John Rankin
john.rankin
Thu Jan 20 21:39:15 CST 2005
On Friday, 21 January 2005 3:40 PM, Kevin Walsh <kev at tao.ca> wrote:
>
>Howdy,
>
>I have
>
> $SpaceWikiWords = 1;
>
>But currently words like "CEOs" and "GMOs" are getting wikiworded into
>"CE Os" and GM Os".
>Is there a setting for "acronyms" (consecutive capital letters) to be
>exceptions from the above variable?
There are a couple of options:
- `CEOs and `GMOs will suppress wikiwording
- the markup extensions recipe requires wikiwords to have at least
2 upper case letters and 2 lower case letters, so simple plurals
of abbreviations are disqualified, along with BSc, PhD and so on
- or try the following in your config.php
Markup("abbr",'>[[',"/\\b([[:upper:]][[:upper:]]+s)/e","Keep('$1')");
>
>Thanks
>
>Kevin
>
>please cc kev at tao.ca in your response.
>
>
>
>
>
>
>--
>Pmwiki-users mailing list
>Pmwiki-users at pmichaud.com
>http://pmichaud.com/mailman/listinfo/pmwiki-users_pmichaud.com
>
--
JR
--
John Rankin
More information about the pmwiki-users
mailing list