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

De Semantic MediaWiki - Sandbox

(add)
(add)
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">
Ligne 11 : Ligne 11 :
'domain' => 'sandbox.semantic-mediawiki.org'
'domain' => 'sandbox.semantic-mediawiki.org'
];
];
</syntaxhighlight>Parsoid via stunnel is at https://sandbox.semantic-mediawiki.org:8143/.
</syntaxhighlight>'''Parsoid''' via ''stunnel'' is at https://sandbox.semantic-mediawiki.org:8143/.


RESTbase via stunnel is at https://sandbox.semantic-mediawiki.org:7232/sandbox.semantic-mediawiki.org/v1/. When enabled via VisualEditor neither Parsoid nor RESTbase work. I am very pissed indeed. I am not sure if it is good or bad that they are running flawlessly in and environment isolated from each other.
'''RESTbase''' via ''stunnel'' is at https://sandbox.semantic-mediawiki.org:7232/sandbox.semantic-mediawiki.org/v1/. When enabled via VisualEditor neither Parsoid nor RESTbase work. <u>I am very pissed indeed.</u> I am not sure if it is good or bad that both servers are running flawlessly in and environment isolated from each other.

Version du 23 janvier 2018 à 01:40

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' => 'https://sandbox.semantic-mediawiki.org:8143',
	'domain' => 'sandbox.semantic-mediawiki.org'
	];

Parsoid via stunnel is at https://sandbox.semantic-mediawiki.org:8143/.

RESTbase via stunnel is at https://sandbox.semantic-mediawiki.org:7232/sandbox.semantic-mediawiki.org/v1/. When enabled via VisualEditor neither Parsoid nor RESTbase work. I am very pissed indeed. I am not sure if it is good or bad that both servers are running flawlessly in and environment isolated from each other.

Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.