summaryrefslogtreecommitdiff
path: root/extensions/Spoilers/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/Spoilers/README.md')
-rw-r--r--extensions/Spoilers/README.md9
1 files changed, 8 insertions, 1 deletions
diff --git a/extensions/Spoilers/README.md b/extensions/Spoilers/README.md
index f4b7826..4a29920 100644
--- a/extensions/Spoilers/README.md
+++ b/extensions/Spoilers/README.md
@@ -5,12 +5,19 @@ Mediawiki extension that allows for spoiler tags that will hide a block of text.
Installation
------------
-To install this extension, add the follwoing lines to the end of the LocalSettings.php file:
+To install this extension, add the following lines to the end of the LocalSettings.php file:
```
//Spoilers
require("$IP/extensions/Spoilers/Spoilers.php");
```
+Or, if you are using MediaWiki 1.25+
+
+```
+//Spoilers
+wfLoadExtension('Spoilers');
+```
+
Usage Example
---------------------
```