Last modified: 2011-03-13 18:05:04 UTC
Created attachment 6892 [details] Patch that adds "toupper" and "tolower" functions It would be really great to have string functions "toupper" which changes a string to its upper-case equivalent, and "tolower" which changes a string to its lower-case equivalent. These are built-in with PHP, so it was pretty trivial to hack these in (patch attached). Might want to double-check to make sure everything is working okay, because I have no way to test for myself.
Created attachment 6894 [details] Corrected patch (first one had function name mismatch) Oops, the first patch had a mismatch between the function names in the array and the actual function names. This corrects that problem.
Core MediaWiki provides {{lc: }} {{uc: }} which seem to have the effects you desire. See http://www.mediawiki.org/wiki/Help:Magic_words#Formatting