Hey, I'd like to introduce everyone to an extension called Validator [0] that I wrote over the past few months and aims to facilitate parameter handling for other extensions. I developed it for usage in the Maps and Semantic Maps extensions, as I thought it would be nice to have a less messy way of creating parser hooks. It's now at a point where it can be used by other extensions, without having to worry about compatibility to much. For a more detailed explanation of what Validator does, check out the "functionality overview" section [1] on the extension page.
I encourage all extension authors to have a look at it, especially if you are considering creating a new extension where you have to deal with user-provided parameters, to see if this can help you. Feedback is welcome :) [0] http://www.mediawiki.org/wiki/Extension:Validator [1] http://www.mediawiki.org/wiki/Extension:Validator#Functionality_overview Cheers -- Jeroen De Dauw * http://blog.bn2vs.com * http://wiki.bn2vs.com Don't panic. Don't be evil. 50 72 6F 67 72 61 6D 6D 69 6E 67 20 34 20 6C 69 66 65! -- _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l