Extension:SubpageWatchlist

From Linux Web Expert

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.39
License GNU General Public License 2.0
Download
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 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

  • <translate> [[<tvar name=2>Special:ExtensionDistributor/SubpageWatchlist</tvar>|Download]] and move the extracted <tvar name=name>SubpageWatchlist</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/SubpageWatchlist
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'SubpageWatchlist' );
    
  • 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>

See also