Skip to content

Releases: edwardspec/mediawiki-moderation

1.2.0 - stable release (April 2018) for MediaWiki 1.27-1.30

23 Apr 22:00
Compare
Choose a tag to compare

Note: this version requires MediaWiki 1.27+. MediaWiki 1.23 is no longer supported.
Note: please run update.php (there are changes to DB schema).

Changes in Moderation 1.2.0 since Moderation 1.1.0

Features:

  • Support MediaWiki 1.30.
  • Support uploads via API and MultiUpload-like extensions in MediaWiki 1.28+.
  • In-wiki notification "New changes await moderation" is now shown to moderators.
  • Allowed to disable/enable Moderation on per-namespace basis via
    $wgModerationIgnoredInNamespaces and $wgModerationOnlyInNamespaces.
  • Support third-party Extension:PageForms (editing via Special:FormEdit).
  • AbuseFilter: tags set by AbuseFilter are now preserved by Moderation.

UI changes:

  • Moderation is now listed under Antispam section of Special:SpecialPages.

Security updates:

  • Restricted filerevert API (revert image to older version) to automoderated
    users, because this action can't be intercepted by Moderation.
  • Fixed improper escaping of user-provided mod_comment on Special:Moderation.

Bugfixes:

  • Fixed situation when JobQueueError (caused by another extension) resulted in
    duplicate rows on Special:Moderation.
  • Fixed "404 Not Found" not being sent for missing stash images (MW 1.28+).
  • In $wgModerationUseAjax mode, Preview is no longer treated as one-click action.
  • Field mod_title now uses underscores (as other MediaWiki tables), not spaces.

Documentation:

  • Explained each configuration variable in extension.json.

Refactoring, performance optimizations:

  • Removed legacy code for MediaWiki 1.23-1.26.
  • Replaced PHP syntax array() with shorter []

Test results

This version is stable and has passed all unit tests (with MediaWiki 1.30, 1.29, 1.28, 1.27),
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.30, you should use the newest version of Moderation, not this release.

Compatibility with MediaWiki 1.23 (old LTS)

This version no longer supports obsolete MediaWiki 1.23.
If you are still at MediaWiki 1.23, please use the latest 1.1.0.x release (or the top of REL1_23 branch).

1.1.0.3 - security release for legacy MediaWiki 1.23 (obsolete LTS)

23 Apr 21:59
Compare
Choose a tag to compare

Versions 1.1.0.x are bugfix releases that still support MediaWiki 1.23.

Unlike Moderation 1.2.0, this release has no changes except those needed for security.
If you are at MediaWiki 1.27+, please use Moderation 1.2.0.

Changes in Moderation 1.1.0.3 since Moderation 1.1.0

Security updates:

  • Restricted filerevert API (revert image to older version) to automoderated
    users, because this action can't be intercepted by Moderation.
  • Fixed improper escaping of user-provided mod_comment on Special:Moderation.

1.1.0 - stable release (October 2017) for MediaWiki 1.23-1.29

16 Oct 20:21
Compare
Choose a tag to compare

Changes in Moderation 1.1.0 since Moderation 1.0.0

Features:

  • Support MediaWiki 1.28-1.29.
  • VisualEditor: Support Internet Explorer 11.
  • API: Support for prependtext/appendtext parameters (action=edit).
  • API: Provide moderation API (action=moderation).
  • Made "Watch this page" checkbox work even if edit was intercepted by Moderation.
  • Support situation when user got deleted (e.g. via [removeUnusedAccounts.php]).
  • Made sure that successfully queued edit won't be lost if DB rollback happens.
  • (disabled by default) Experimental Ajax handling of links on Special:Moderation.

UI changes:

  • Added "pending review" icon to postedit notification.
  • Added link to Special:Log/moderation on Special:Moderation.
  • Now showing date on Special:Moderation.

Bugfixes:

  • Fixed incorrect preloading of section #0.
  • Fixed incorrect calculation of mod_new_len when editing section.
  • Fixed bug that caused user-agent (for CheckUser extension) not to be preserved during ApproveAll.
  • Fixed issue of user sometimes becoming logged out after registration.
  • MobileFrontend: Fixed bug that caused pending edit not to preload when creating a new article.
  • VisualEditor: fixed error "String.split is not a function" in Chrome.

Warnings fixed:

  • Fixed warning when MediaWiki uses alternate editor.
  • Fixed PHP 7.0 warnings (missing static).
  • Fixed warning "explicit commit of implicit transaction".
  • Removed obsolete hook AuthPluginAutoCreate for MediaWiki 1.27+.

Refactoring, performance optimizations:

  • Faster rendering of Special:Moderation: used LinkBatch.
  • Simplified error handling of "file not found in stash".
  • Refactoring of ModerationPreload class.
  • Major refactoring of ajaxhook JavaScript.

Configuration:

  • Added skip-moderation to $wgGrantPermissions['basic'] (MediaWiki 1.28+ only).

Test results

This version is stable and has passed all unit tests (with MediaWiki 1.29, 1.28, 1.27, 1.23),
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.29, you should use the newest version of Moderation, not this release.

Compatibility with MediaWiki 1.23 (old LTS)

This version still supports obsolete MediaWiki 1.23. All further versions will require MediaWiki 1.27+.

1.0.0 - stable release (December 2016) for MediaWiki 1.23-1.29

01 Jan 16:40
Compare
Choose a tag to compare

This is the last commit made in 2016 (25dec2016-1).
If your deployment procedure recommends that you don't clone extensions from the master branch, you can use this release instead.

This version is stable and has passed all unit tests (with MediaWiki 1.28, 1.27, 1.23).
It was also manually tested with 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.28, you should use the newest version of Moderation, not this release.