Jump to content

Extension:SubpageWatchlist

From mediawiki.org
MediaWiki extensions manual
SubpageWatchlist
Release status: stable
Implementation Hook
Description Include subpages of watched pages on Special:Watchlist
Author(s) Brian Wolff, Mark A. Hershberger (Bawolfftalk)
Latest version 2.1.0
MediaWiki >= 1.42
License GNU General Public License 2.0
Download
Quarterly downloads 0
Translate the SubpageWatchlist extension if it is available at translatewiki.net

The SubpageWatchlist extension adds an option to the Special:Watchlist navigation, so that in addition to things on your watchlist that were recently edited appearing, it also adds any subpages of watched items that were recently edited.

This extension can reduce the performance of the Special:Watchlist page significantly when enabled. Performance scales with the size of the recentchanges table and the size of the user's watchlist. Reducing $wgRCMaxAge will improve the performance of this extension.

Known issues: If you're watching Foo and Foo/bar, and someone edits Foo/bar, the extension will make it appear on the list twice (Once for itself, and once as subpage of Foo). This extension considers all pages with a / to be subpages, even if subpages aren't enabled in the relevant namespace.

Installation

[edit]
  • Download and move the extracted SubpageWatchlist 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/SubpageWatchlist
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'SubpageWatchlist' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

See also

[edit]