Frederisk / Wikitext-VSCode-Extension

A Visual Studio Code Extension that provides language support for Wikitext.
MIT License
89 stars 14 forks source link

Error on launching preview #79

Closed DaveEveritt closed 1 year ago

DaveEveritt commented 1 year ago

"ErrorName: Error; ErrorMessage: connect ECONNREFUSED 127.0.0.1:443;"

Not sure how to address this or where it’s set so changed the "Wikitext: Host" setting from Locahost to the above localhost IP address, restarted VSCode, but no joy.

Frederisk commented 1 year ago

I don't quite understand, are you trying to use the extension to connect to an external website or test it locally?

Are other functions, such as logging in, working properly?

DaveEveritt commented 1 year ago

Perhaps I'm misunderstanding, but I was presuming a local preview, as with Markdown in VSCode? I'm not connecting to any external site, and no logging in.

Frederisk commented 1 year ago

Oh, yes, the preview is actually rendered by an external MediaWiki site. Login is optional, but a valid MediaWiki site address must be filled in Host.

DaveEveritt commented 1 year ago

ah I see - will any mediawiki site do, or could you recommend a non-login site? I was editing a Wikipedia page

Frederisk commented 1 year ago

Any site will do, unless that site is private. If you use this extension to edit Wikipedia, I recommend filling in Host with the address of the website you want to edit, Ex. en.wikipedia.org.

Frederisk commented 1 year ago

Of course, this means that a connection to the Internet is a must.

DaveEveritt commented 1 year ago

understood, thanks. I misunderstood that I can't get a preview on localhost.