Page MenuHomePhabricator

[Bug] Editing should be disabled on diffs and old revisions
Closed, ResolvedPublic

Description

The big refactoring done by Adrian introduced a regression: old revisions (diffs and so on) can be edited again.

At one point we disabled all JavaScript on old revisions. This was bad because the terms table could not be expanded then. Better solution is to make the view aware if it should be in edit or read-only mode.

The patch https://gerrit.wikimedia.org/r/304252 was originally created for T129836: References sections are not expanded anymore when viewing diffs.