Dan Kelley wrote:
In a wiki I'm working on, there are some prices of old computers. (I want to make the point, to my students, that computers have gotten a lot cheaper since the days when I was a lad.)
It would be great to have a macro that would do dollar conversions from an arbitrary year to the present day (or to another arbitrary year). Such things exist on the web as excel spreadsheets, etc., so the data are available.
You might try writing an extension; there is a hook-in mechanism for extensions which will take section like <tag>...</tag> and return HTML.
See the 'extensions' module in CVS for some examples; see the 'timeline' module for instance. Since SourceForge's anonymous CVS servers are having some trouble here's a snapshot I checked out a couple days ago: http://download.wikimedia.org/mediawiki/mediawiki-cvs-2004-08-17.tar.bz2
-- brion vibber (brion @ pobox.com)