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.
Q: does mediawiki have this already? I guess I could just write the PHP code myself and put it in my own wiki setup, but it would make sense to use something pre-existing.
Dan E. Kelley, Associate Professor phone:(902)494-1694 Oceanography Department, Dalhousie University fax:(902)494-2885 Halifax, Nova Scotia mailto:Dan.Kelley@Dal.CA Canada B3H 4J1 http://www.phys.ocean.dal.ca/~kelley/Kelley_Dan.html
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)
mediawiki-l@lists.wikimedia.org