MediaWiki extensions manual
Examples
Release status: stable
Implementation Example, ContentHandler
Author(s) Krinkle, Kaldari
MediaWiki 1.32
License GNU General Public License 2.0 or later
Download
Hooks used
  • BeforePageDisplay
  • ParserFirstCallInit
  • ParserGetVariableValueSwitch
  • SkinTemplateNavigation
  • MagicWordwgVariableIDs
  • GetMagicVariableIDs
  • LoadExtensionSchemaUpdates
Translate the Examples extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

The Examples extension is a collection of small extensions that extend the BoilerPlate extension, implementing some common features. It has many additional annotations and inline comments explaining how it all works. Read the Examples extension, base your own code on the BoilerPlate extension.

Installation

  • Download and extract the files in a directory called examples in your extensions/ folder. If you're a developer then instead you should use git clone to clone the mediawiki/extensions/examples repository in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'examples' );
    
  • Yes Done Navigate to "Special:Version" on your wiki to verify that the extension is successfully installed.


See also

  • Extension:BoilerPlate
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.