Extension:WatchSubpages

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual
Crystal Clear action run.png
WatchSubpages

Release status: stable

Implementation Special page, MyWiki
Description Allows to quickly add all subpages of a page to the users' watchlist
Author(s) (Prodtalk)
Latest version 2.0 (2014-03-23)
MediaWiki 1.11+
Database changes No
License GPLv2
Download
Example StrategyWiki
Added rights

watchsubpages

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

Check usage and version matrix; code metrics

WatchSubpages extension allows a user to add all subpages of a page quickly to their watchlist.

Installation[edit | edit source]

  • Download and extract the file(s) in a directory called WatchSubpages in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
require_once "$IP/extensions/WatchSubpages/WatchSubpages.php";
  • Done! Navigate to "Special:Version" on your wiki to verify that the extension is successfully installed.

MediaWiki 1.11 to 1.21[edit | edit source]

You will also need to give some group the watchsubpages user right. If you want to allow all registered users to access "Special:WatchSubpages", then add the following to your wiki's LocalSettings.php:

$wgGroupPermissions['user']['watchsubpages'] = true;