Jump to content

Extension:CleanChanges

From mediawiki.org
MediaWiki extensions manual
CleanChanges
Release status: stable
Implementation User interface
Description More compact display of changes list
Author(s) Niklas Laxström (Nikerabbittalk)
Latest version 2024-07-16
Compatibility policy Master maintains backward compatibility.
MediaWiki >= 1.39.0
Database changes No
License GNU General Public License 2.0 or later
Download Included in Language Extension Bundle
Example translatewiki.net
  • $wgCCUserFilter
  • $wgCCTrailerFilter
Quarterly downloads 45 (Ranked 93rd)
Translate the CleanChanges extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

The CleanChanges extension is based on enhanced changes list, but it tries to be more concise by hiding less important information by default. It needs JavaScript to be fully functional. It works best in wikis where the number of changes per user is high.

It also provides two extra filters: by user and by language code suffix.

Installation

[edit]
  • Download and move the extracted CleanChanges folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/CleanChanges
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'CleanChanges' );
    $wgDefaultUserOptions['usenewrc'] = 1;
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration

[edit]
Parameters provided
  • $wgCCUserFilter - defaults to "true". It is needed to filter by user.
  • $wgCCTrailerFilter - defaults to "false". It is needed to filter by language (code suffix).
  • $wgCCFiltersOnly - defaults to "true". TODO: document what to do with it.