... | ... | @@ -224,3 +224,17 @@ public static function onPageContentSave(WikiPage &$wikiPage, User &$user, Conte |
|
|
]
|
|
|
}
|
|
|
```
|
|
|
|
|
|
# Vagrant MediaWiki
|
|
|
|
|
|
## Fixing the VisualEditor problem
|
|
|
```
|
|
|
vagrant ssh
|
|
|
cd /vagrant/srv/restbase/
|
|
|
rm -rf node_modules/
|
|
|
npm install
|
|
|
npm init --yes
|
|
|
npm install restbase-mod-table-sqlite --no-bin-links
|
|
|
npm install npmlog
|
|
|
tail -f /vagrant/logs/restbase.log # check if no other module is missing
|
|
|
``` |