1.4.20 - stable release (March 2020) for MediaWiki 1.31-1.34
Note: this version requires MediaWiki 1.31+. MediaWiki 1.27 is no longer supported.
Changes in Moderation 1.4.20 since Moderation 1.4.0
Features:
- Support MediaWiki 1.34.
- Support MobileFrontend editor in MW 1.33-1.34.
- Support anonymous uploads (if allowed in $wgGroupPermissions).
- Support PostgreSQL.
Bugfixes:
- Default value of mod_stash_key is now NULL, not empty string.
- mod_minor field is now 0 or 1 (not EDIT_MINOR, which is 4).
Warnings fixed:
- Replaced deprecated ApiBase::dieUsage()
- Replaced deprecated EditPage::$mTitle
- Replaced deprecated Linker::link()
- Replaced deprecated StreamFile::send404Message()
- Replaced deprecated Title::GAID_FOR_UPDATE
- Replaced deprecated UploadBase::stashFile()
- Replaced deprecated $wgContLang, $wgUser, $wgRequest
- Replaced deprecated wfMemcKey()
Refactoring, performance optimizations:
- Removed legacy code for MediaWiki 1.27-1.30.
Test results
This version is stable and has passed all unit tests (with MediaWiki 1.34, 1.33, 1.32, 1.31),
as well as Selenium 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.34, you should use the newest version of Moderation, not this release.