Just recently a new release of MediaWiki 1.35 (and newer) has been made available. It addresses a couple of security issues. Even though MediaWiki 1.31 is no longer supported, there may be users that are not able/willing to upgrade to more modern versions (e.g. due to heavy customization). Therefore it would be great if those important changes could be made available to them.
Proposed patch: https://gerrit.wikimedia.org/r/c/mediawiki/core/+/747874
This is related to T271037, T34716, T297416, T297574, T297322.
Also cherry-picked change from VisualEditor: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/VisualEditor/+/747703