SMWCon Fall 2014/Mediawiki Extension Development

Audience: This tutorial is targeted for users with enough MediaWiki/Semantic MediaWiki experience and/or MediaWiki administration skills that would like to delve into MediaWiki programming and start having some custom hacks in their wikis.

Knowledge on PHP or other similar programming languages will help.


 * Slides at: https://slid.es/similis/mediawiki-extensions (Zip archive with presentation)
 * Used code: https://github.com/toniher/UserAvatar

Content

 * Extension file structure
 * Extension credits
 * Coding style
 * Hooks
 * Type of extensions:
 * Tag extensions, parser functions
 * Examples with different kind of hooks
 * Usage of MediaWiki classes: User, Title, File, etc.
 * Localization
 * Resourceloader (including Javascript and CSS in your extension)
 * Ajax function example