Extension:CleanChanges

From Linux Web Expert

MediaWiki extensions manual
CleanChanges
Release status: stable
File:CleanChanges.png
Implementation User interface
Description More compact display of changes list
Author(s) Niklas Laxström (Nikerabbittalk)
Latest version 2019-01-17
Compatibility policy Master maintains backward compatibility.
MediaWiki 1.30+
Database changes No
Composer mediawiki/clean-changes
License GNU General Public License 2.0 or later
Download Included in Language Extension Bundle
Example translatewiki.net
  • $wgCCUserFilter
  • $wgCCTrailerFilter
Quarterly downloads Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Public wikis using Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
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

  • <translate> [[<tvar name=2>Special:ExtensionDistributor/CleanChanges</tvar>|Download]] and move the extracted <tvar name=name>CleanChanges</tvar> folder to your <tvar name=ext>extensions/</tvar> directory.</translate>
    <translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/CleanChanges
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'CleanChanges' );
    $wgDefaultUserOptions['usenewrc'] = 1;
    
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>

Configuration

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.