Jump to content

Topic on Talk:VisualEditor

On MW1.40 setting $wgReadOnly breaks VisualEditor

1
SyncmasterN (talkcontribs)

So I was upgrading MW from 1.39 to 1.40 and following the guide here and here, I set $wgReadOnly in the LocalSettings.php, all things good, after completing the upgrade I started checking some of the pages for content and forgot to delete $wgReadOnly from config.

When trying to edit a page with VisualEditor, I was getting this error: Unable to fetch Parsoid HTML

I was sure this was an upgrade issue but it turns out that deleting the property is the fix.

Installed software

Product Version
MediaWiki 1.40.1
PHP 8.1.14 (fpm-fcgi)
ICU 67.1
MariaDB 10.6.11-MariaDB-1:10.6.11+maria~ubu2204
Lua 5.1.5
Pygments 2.11.2
  • In MW 1.39, VisualEditor still works when $wgReadOnly is set.


Cheers

Reply to "On MW1.40 setting $wgReadOnly breaks VisualEditor"