mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Gadgets
synced 2024-11-23 23:13:27 +00:00
Use wfLoadExtension in README.md
Since MediaWiki 1.25 wfLoadExtension is the preferred way to include extensions. This extension requires MediaWiki 1.27. Change-Id: Ia35287265d5e020c3a9c32ffdd3691bc9a2d502f
This commit is contained in:
parent
16c5c0eac0
commit
abe39c1a80
|
@ -21,7 +21,7 @@ Copy the Gadgets directory into the extensions folder of your
|
|||
MediaWiki installation. Then add the following lines to your
|
||||
LocalSettings.php file (near the end):
|
||||
|
||||
require_once "$IP/extensions/Gadgets/Gadgets.php";
|
||||
wfLoadExtension( 'Gadgets' );
|
||||
|
||||
Usage
|
||||
-------------
|
||||
|
|
|
@ -1 +1 @@
|
|||
require_once( "{{path}}/Gadgets.php" );
|
||||
wfLoadExtension( 'Gadgets' );
|
||||
|
|
Loading…
Reference in a new issue