Extension:SimpleChanges
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 |
MediaWiki | >= 1.34.0 |
Database changes | No |
License | GNU General Public License 2.0 or later |
Download | |
|
|
Quarterly downloads | 13 (Ranked 119th) |
Translate the SimpleChanges extension if it is available at translatewiki.net | |
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.
Installation
edit- Download and move the extracted
SimpleChanges
folder to yourextensions/
directory.
Developers and code contributors should install the extension from Git instead, using:cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/SimpleChanges - Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'SimpleChanges' );
- Configure as required.
- Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Configuration
edit- $wgSimpleChangesOnlyContentNamespaces
- Defaults to
false
. Change this totrue
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 totrue
after including the extension to show the user name of the user who made the change, in parentheses.
Usage
editTransclusion
editYou 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 Page
editNavigate to Special:SimpleChanges
for a customizable, simple display of the Recent Changes list.
See also
editThis extension is included in the following wiki farms/hosts and/or packages: This is not an authoritative list. Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |