(anonymous guest) (logged out)

Copyright (C) by the contributors. Some rights reserved, license BY-SA.

Sponsored by the Wiki Symposium and the Nuveon GmbH.

 

Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-1) was last changed on 20-Sep-2007 11:13 by RadomirDopieralski  

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 1 added 9 lines
I seems that abbreviations and acronyms don't usually require special wiki markup, as they can be automatically detected and marked up by the wiki engine in question.
This is how I've done it in a simple parser for MoinMoin:
* There is a distinguished page, appropriately titled, containing a list of all abbreviations and acronyms that are expected to be encountered on that particular wiki, together with their descriptions (usually the full name).
* When this page is saved, an internal representation of it, a hash map, is updated.
* When a page is parsed, this hash map is used to recognize known abbreviations and mark them up, together with an explanation for them in a title attribute.
The only problem with this approach are abbreviations and acronyms that look like normal words -- depending on their relative rarity as both, they could be escaped in one or the other form. Not sure how.
Version Date Modified Size Author Changes ... Change note
1 20-Sep-2007 11:13 0.913 kB RadomirDopieralski some thoughts about abbr's
« This page (revision-1) was last changed on 20-Sep-2007 11:13 by RadomirDopieralski