Extension:WatchSubpages

From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
OOjs UI icon advanced.svg
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.3.0 (2014-03-23)
MediaWiki 1.11+
Database changes No
License GNU General Public License 2.0 or later
Download
Example StrategyWiki
watchsubpages
Translate the WatchSubpages extension if it is available at translatewiki.net
Check usage and version matrix.

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

Installation[edit]

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

To users running MediaWiki 1.24 or earlier:

The instructions above describe the new way of installing this extension using wfLoadExtension(). If you need to install this extension on these earlier versions (MediaWiki 1.24 and earlier), instead of wfLoadExtension( 'WatchSubpages' );, you need to use:

require_once "$IP/extensions/WatchSubpages/WatchSubpages.php";

MediaWiki 1.11 to 1.21[edit]

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;