Topic on Project:Support desk

Visualeditor open api help page instead of edit article

3
Francod85 (talkcontribs)

Hi, I have just set up VisualEditor with parsoid for my mediawiki, but when I want to edit an article open the mediawiki api help page instead of edit the article.

https://k60.kn3.net/2/F/0/8/1/2/77D.png

PokestarFan (talkcontribs)
Ciencia Al Poder (talkcontribs)

Maybe your webserver is doing a redirect from non-www to www domain, or from http to https, and the request is losing the POST data sent to the server, resulting in the api help page (the default when you request api.php without parameters). Check in the access logs of the webserver if that's the case. You may need to adjust the api URL in parsoid configuration so it points to the correct URL.