Page MenuHomePhabricator

HTTP 404 error for Visual editor when trying to edit a subpage (top-level page works)
Closed, ResolvedPublic

Description

I use shared hosting and have the following problem with Visual Editor on clean wiki 1.35.

Visual editor works fine on usual pages like https://example.org/w/index.php?title=Test. But if I try to edit the subpage https://example.org/w/index.php?title=Test/Test, I get the error: Error contacting the Parsoid/RESTBase server (HTTP 404). The problem exactly in subpages - no matter which namespace is it, if it is a subpage like "Main_Page/subpage", visual editor always doesn't work, but the standard editor works.

Event Timeline

Aklapper renamed this task from Visual editor doesn't work on subpages to HTTP 404 error for Visual editor when trying to edit a subpage (top-level page works).Jul 15 2021, 11:24 AM
matmarex claimed this task.
matmarex added a project: MW-1.41-notes.
matmarex subscribed.

This problem should no longer occur on MediaWiki 1.41 and later, as VisualEditor no longer uses HTTP requests internally to contact Parsoid, it just calls the PHP methods directly (see T320529 for related work).

Please try MediaWiki 1.41 and hopefully VisualEditor will now finally just work. If you still encounter some issues, please file a new task.