Hi Subbu,
Thank you for replying.
I'm afraid the result is the same. I've first tried adding the blue bit, outcome was same. Then tried red bit, same. And then both, same.
$wgVirtualRestConfig['modules']['parsoid']['forwardCookies'] = true;
$PARSOID_INSTALL_DIR = 'vendor/wikimedia/parsoid'; # bundled copy #$PARSOID_INSTALL_DIR = '/my/path/to/git/checkout/of/Parsoid';
// For developers: ensure Parsoid is executed from $PARSOID_INSTALL_DIR, // (not the version included in mediawiki-core by default) // Must occur *before* wfLoadExtension() if ( $PARSOID_INSTALL_DIR !== 'vendor/wikimedia/parsoid' ) { AutoLoader::$psr4Namespaces += [ // Keep this in sync with the "autoload" clause in // $PARSOID_INSTALL_DIR/composer.json 'Wikimedia\Parsoid\' => "$PARSOID_INSTALL_DIR/src", ]; }
wfLoadExtension( 'Parsoid', "$PARSOID_INSTALL_DIR/extension.json" );
# Manually configure Parsoid $wgVisualEditorParsoidAutoConfig = false; $wgParsoidSettings = [ 'useSelser' => true, 'rtTestMode' => false, 'linting' => false, ]; $wgVirtualRestConfig['modules']['parsoid'] = [];
The blue code is from your link. And the red code is from the footnote link within your link.
For a basic freshly-installed private wiki, in order to use the bundled VisualEditor feature, what code do you suggest please?
Yours truly,
Rehmanhttps://en.wikipedia.org/wiki/User:Rehman
________________________________ From: Subramanya Sastry ssastry@wikimedia.org Sent: 15 October 2020 18:36 To: MediaWiki announcements and site admin list mediawiki-l@lists.wikimedia.org; Rehman Abubakr rehman.wikimedia@live.com Subject: Re: [MediaWiki-l] Issue with VisualEditor on MediaWiki 1.35
For private instances, it won't work out of the box. You need to manually configure your LocalSettings.php.
See https://www.mediawiki.org/wiki/Extension:VisualEditor#Linking_with_Parsoid_i...
-Subbu.
On 10/14/20 7:54 AM, Rehman Abubakr wrote: Thanks for the reply.
I had purchased the domain/hosting purely to test MW before I do a demo for a company to install a private instance.
Hence, the setup is as basic as it could be. Nothing has been modified beyond the defaults.
Yours truly,
Rehmanhttps://en.wikipedia.org/wiki/User:Rehman
________________________________ From: MediaWiki-l mediawiki-l-bounces@lists.wikimedia.orgmailto:mediawiki-l-bounces@lists.wikimedia.org on behalf of Bartosz Dziewoński matma.rex@gmail.commailto:matma.rex@gmail.com Sent: 14 October 2020 18:14 To: mediawiki-l@lists.wikimedia.orgmailto:mediawiki-l@lists.wikimedia.org mediawiki-l@lists.wikimedia.orgmailto:mediawiki-l@lists.wikimedia.org Subject: Re: [MediaWiki-l] Issue with VisualEditor on MediaWiki 1.35
On 2020-10-14 13:56, Rehman Abubakr wrote:
A number of users have complained about VisualEditor not working out-of-the-box for MW 1.35.0 (even on fresh install). [1][2][3]
Is this a known issue (i.e. actually a bug)? And has a solution been shared yet?
Sorry if this is the wrong place. It just seems (to me) like it is not accepted as an actual bug yet, despite a number of feedbacks. Feel free to reply to the onsite pages.
My impression has been that if you have the simplest possible setup, then everything does work out-of-the-box.
But if you have configured any of many reasonable things (e.g. you have some hardened security settings, or you're running multiple wikis, or you have a caching proxy in front of your site), then you might also need to configure VisualEditor with that in mind.
Unfortunately our documentation for configuring VisualEditor is lacking. You could probably consider that a bug, even if most of the issues being reported don't actually require any code changes on our side to fix.
-- Bartosz Dziewoński
_______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l