Erweiterung:Examples
Page needs to be updated after finishing the phab:T156568 ticket as it's a major refactor of the extension to a more recent architecture of MediaWiki extensions and use of MediaWiki 1.25+. |
![]() Freigabestatus: stabil |
|
---|---|
![]() |
|
Einbindung | Beispiel, ContentHandler |
Autor(en) | Krinkle, Kaldari |
MediaWiki | 1.32 |
Lizenz | GNU General Public License 2.0 oder später |
Herunterladen | |
Übersetze die Examples-Erweiterung, wenn sie auf translatewiki.net verfügbar ist | |
Probleme | Offene Aufgaben · Einen Fehler melden |
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 yourextensions/
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' );
- Erledigt – Navigate to "Special:Version" on your wiki to verify that the extension is successfully installed.