1.6.22 - stable release (July 2022) for MediaWiki 1.35-1.38
Note: this version requires MediaWiki 1.35+. MediaWiki 1.31 is no longer supported.
Changes in Moderation 1.6.22 since Moderation 1.5.36
Features:
- Support MediaWiki 1.37-1.38.
- Better support of VisualEditor in MediaWiki 1.36-1.37.
- Better support of AbuseFilter and CheckUser in MediaWiki 1.36-1.37
(tags and XFF of approved edit are preserved). - Allow AbuseFilter to tag intercepted edits as "place this to Spam folder"
by adding "moderation-spam" tag to them.
Security updates:
- Restricted imagerotate API (rotate/reupload existing image) to automoderated
users, because this action can't be intercepted by Moderation.
Refactoring, performance optimizations:
- Removed legacy code for MediaWiki 1.31-1.34.
- Removed legacy code for supporting obsolete (pre-1.35) DB schema.
- Provide type-checking interfaces for hooks that are called by Moderation itself.
- Refactoring of hook classes (strict type checks, dependency injection).
- Refactoring of API and special page classes (dependency injection).
- Refactoring of action classes (dependency injection).
Test results
This version is stable and has passed all unit tests (with MediaWiki 1.38, 1.37, 1.36, 1.35),
as well as manual tests of MobileFrontend and VisualEditor.
NOTE: Extension:VisualEditor itself is under active development and its internals often undergo breaking changes. If you use VisualEditor with MediaWiki >=1.38, you should use the newest version of Moderation, not this release.