VisualEditor/Real-time collaboration
shortcut: COLLABPAD
Appearance
VisualEditor real-time collaboration
"CollabPad" Providing a real-time collaboration tool in MediaWiki
|
A work-in-progress demo exists in the VisualEditor codebase which provides support for real-time collaboration in a VE environment.
The code is currently experimental and unstable.
Demos
[edit]Standalone
[edit]- Make sure you have the latest master of VisualEditor core from git (and place it at
extensions/VisualEditor/lib/ve
if inside MediaWiki). - Install a MongoDB instance.
- In the root folder of VisualEditor core (or
extensions/VisualEditor/lib/ve
if inside MediaWiki), runnpm install
and thennpx grunt build
. - In the
rebaser/
sub-folder runnpm install
. - Create a
config.yaml
file by copyingconfig.dev.yaml
and making any changes you require. - Run
npm start
to start the server. - Go to
http://localhost:8081
(or whatever port you set inconfig.yaml
)
If you update the code, you will need to re-run npx grunt build
and then restart the server from within rebaser/
.
Once you have the standalone server working you can have a go at the MediaWiki integration:
MediaWiki
[edit]- Check out the latest version of VisualEditor-MediaWiki from https://github.com/wikimedia/mediawiki-extensions-VisualEditor, and run
git submodule update
to get the latest associated version of VE core inlib/ve
. - Follow the steps above to get the standalone server running.
- Add
$wgVisualEditorRebaserURL = 'http://localhost:8081';
to yourLocalSettings.php
(or whatever server/port you ended up using above). - Go to Special:CollabPad on your wiki.
Known issues
[edit]Support
[edit]You can speak with us in our chat channel, #mediawiki-visualeditor connect.