It is also hard to say what is going on with your install without more
information or error messages.
Looking at
, it
looks like you are also on NameCheap and you might benefit from whatever
that other user has tried to get NameCheap to update some security
rules. So, let us start there on that Flow thread.
As Bartosz said earlier, our docs don't cover all these various
scenarios that users encounter and so most of the problems are related
to our missing documentation for these use cases. We are limited in our
ability to capture them all and support them all and do rely on users
helping each other out.
Anyway, let us move this conversation on the wiki talk page so we can
actually look at error messages.
Subbu.
On 10/15/20 8:37 AM, Rehman Abubakr wrote:
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,
*Rehman <https://en.wikipedia.org/wiki/User:Rehman>*
------------------------------------------------------------------------
*From:* Subramanya Sastry <ssastry(a)wikimedia.org>
*Sent:* 15 October 2020 18:36
*To:* MediaWiki announcements and site admin list
<mediawiki-l(a)lists.wikimedia.org>rg>; Rehman Abubakr
<rehman.wikimedia(a)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_…
-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,
>
> *Rehman <https://en.wikipedia.org/wiki/User:Rehman>*
>
>
> ------------------------------------------------------------------------
> *From:* MediaWiki-l <mediawiki-l-bounces(a)lists.wikimedia.org>
> <mailto:mediawiki-l-bounces@lists.wikimedia.org> on behalf of Bartosz
> Dziewoński <matma.rex(a)gmail.com> <mailto:matma.rex@gmail.com>
> *Sent:* 14 October 2020 18:14
> *To:* mediawiki-l(a)lists.wikimedia.org
> <mailto:mediawiki-l@lists.wikimedia.org>
> <mediawiki-l(a)lists.wikimedia.org>
> <mailto: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