Skip to content

Commit ec1a32c

Browse files
authored
Merge pull request #19 from xadina02/@outreachy/adina/update-readme
Updating the installation and setup procedure for the MwJson extension
2 parents 9e30821 + 8710aef commit ec1a32c

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)