Skip to content

Commit 8710aef

Browse files
committed
Updating installation and setup procedure for MwJson extension
1 parent fbe6bd7 commit 8710aef

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,19 @@ The extension is built with a modular architecture:
111111

112112
2. **Installation**
113113
```bash
114-
git clone https://github.com/OpenSemanticLab/mediawiki-extensions-MwJson.git
115-
cd mediawiki-extensions-MwJson
114+
cd extensions
115+
git clone https://github.com/OpenSemanticLab/mediawiki-extensions-MwJson.git MwJson
116+
cd MwJson
116117
```
117118

119+
In the `LocalSettings.php` file, add the config
120+
```
121+
$wgMwJsonSlotRenderResultTransformation = [
122+
"enabled" => true,
123+
];
124+
```
125+
By enabling the MwJson option, this ensures slot render results are displayed correctly
126+
118127
3. **Building**
119128
- Install dependencies
120129
- Run tests

0 commit comments

Comments
 (0)