Extension:SubpageWatchlist

From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
OOjs UI icon advanced.svg
SubpageWatchlist
Release status: experimental
Implementation Hook
Description Include subpages of watched pages on Special:Watchlist
Author(s) (Bawolfftalk)
License GPLv2
Download
Hooks used
SpecialWatchlistFilters
SpecialWatchlistQuery
Translate the SubpageWatchlist extension if it is available at translatewiki.net
Check usage and version matrix.
Issues Open issues · Report a bug

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 has not had its performance evaluated. It should be fine for a small wiki and probably even a medium sized wiki. Given that watchlists are already a somewhat scary query, I feel like this shouldn't make things that much worse (although it does make things not as good). One probably would definitely not want to install this on a Wikipedia sized wiki without doing some good performance analysis and testing.

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 relavent namespace.

Installation[edit]

  • Download and place the file(s) in a directory called SubpageWatchlist in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'SubpageWatchlist' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

See also[edit]