Open main menu

Extension:SimpleChanges

MediaWiki extensions manual
OOjs UI icon advanced.svg
SimpleChanges
Release status: beta
Implementation Special page
Description Special page that displays a barebones Recent Changes list - ideal for transclusion
Author(s) Ike Hecht (tosfostalk)
Latest version 1.1 (July 2015)
MediaWiki 1.25+, likely earlier versions as well
PHP 5.3+
Database changes No
License GNU General Public License 2.0 or later
Download
$wgSimpleChangesOnlyContentNamespaces, $wgSimpleChangesOnlyLatest, $wgSimpleChangesShowUser
Translate the SimpleChanges extension if it is available at translatewiki.net
Check usage and version matrix.

The SimpleChanges extension creates a Special page that displays a barebones Recent Changes list. It is ideal for transclusion. For example, you may want a list of recent changes on your Main page, but you don't need all the extra text that shows up on Special:Recentchanges. This extension displays only the titles of the modified pages. You may also want to restrict your list to show only pages in a content namespace. This extension allows that while maintaining the features and options of the standard Recent Changes page. It also prevents log actions from displaying.

InstallationEdit

  • Download and place the file(s) in a directory called SimpleChanges in your extensions/ folder.

To users running MediaWiki 1.30 or earlier:

The instructions above describe the new way of installing this extension using wfLoadExtension(). If you need to install this extension on these earlier versions (MediaWiki 1.30 and earlier), instead of wfLoadExtension( 'SimpleChanges' );, you need to use:

require_once "$IP/extensions/SimpleChanges/SimpleChanges.php";

ConfigurationEdit

$wgSimpleChangesOnlyContentNamespaces
Defaults to false. Change this to true after including the extension in order to restrict the list to display only content namespaces. See Manual:$wgContentNamespaces for more information.
$wgSimpleChangesOnlyLatest
Defaults to true, which avoids duplicate titles showing up in the list by only showing changes that match each page's most recent revision.
$wgSimpleChangesShowUser
Defaults to false. Change this to true after including the extension to show the user name of the user who made the change, in parentheses.

UsageEdit

TransclusionEdit

You can transclude the simple list of Recent Changes in the same way you would transclude the standard Recent Changes page. It uses the same format and offers the same options. See the Recent Changes help page for more information. Here are some examples:

This special page can be transcluded, with the first unnamed parameter specifying how many entries should be displayed.

{{Special:SimpleChanges/50}}

Additional parameters may be used in a comma separated list such as:

{{Special:SimpleChanges/days=5,limit=40}}

The Recent Changes help page has more parameters, which should all work with this extension.

Special PageEdit

Navigate to Special:SimpleChanges for a customizable, simple display of the Recent Changes list.

See alsoEdit