« Extra:VisualEditorTest » : différence entre les versions

De Semantic MediaWiki - Sandbox

Aucun résumé des modifications
Aucun résumé des modifications
Ligne 1 : Ligne 1 :
This was my first visual edit on a wiki using a self installed VisualEditor. Finally got this one working for this wiki. The documentation is apparently not self-explanatory. On Wikimedia projects I have probably done about ten visual edits so far. That's not really much.
This was my first visual edit on a wiki using a self installed '''VisualEditor'''. Finally got this one working for this wiki. The documentation is apparently not self-explanatory. On Wikimedia projects I have probably done about ten visual edits so far. That's not really much.


<syntaxhighlight lang="php">
<syntaxhighlight lang="php">

Version du 22 janvier 2018 à 02:47

This was my first visual edit on a wiki using a self installed VisualEditor. Finally got this one working for this wiki. The documentation is apparently not self-explanatory. On Wikimedia projects I have probably done about ten visual edits so far. That's not really much.

## VisualEditor
wfLoadExtension( 'VisualEditor' );
$wgVisualEditorAvailableNamespaces = [
	NS_EXTRA => true
	];
$wgVirtualRestConfig['modules']['parsoid'] = [
	'url' => 'http://sandbox.semantic-mediawiki.org:8142',
	'domain' => '02100'
	];
Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.