Introduction to MediaWiki extensions creation

From semantic-mediawiki.org
< SMWCon Fall 2013
SMWCon Fall 2013Introduction to MediaWiki extensions creation
SMWCon Fall 2013
Introduction to MediaWiki extensions creation
Talk details
Description: An introduction to how to develop basic MediaWiki extensions. We will show how to create your own extensions to increase the possibilities of your wiki.
Speaker(s): Toni Hermoso Pulido
Type: Tutorial
Audience: Developers
Event start: 2013/10/28 09:00:00 AM
Event finish: 2013/10/28 10:00:00 AM
Length: 120 minutes
Video: not available
Keywords: mediawiki, extension, jquery
Give feedback

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.

Content[edit]

  • 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