Extension:SubpageWatchlist

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.png
SubpageWatchlist

Release status:Extension status experimental

ImplementationTemplate:Extension#type Hook
DescriptionTemplate:Extension#description Include subpages of watched pages on Special:Watchlist
Author(s)Template:Extension#username (Bawolfftalk)
LicenseTemplate:Extension#license GPLv2
Download
Hooks usedTemplate:Extension#hook
SpecialWatchlistFiltersManual:Hooks/SpecialWatchlistFilters
SpecialWatchlistQueryManual:Hooks/SpecialWatchlistQuery

Translate the SubpageWatchlist extension if it is available at translatewiki.net

Check usage and version matrix.

IssuesGithub

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' );
  • YesY Done - Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

See also[edit]