Extension: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.4.1 (2020-12-13) |
MediaWiki | 1.32+ |
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 | |
Issues | Open tasks · Report a bug |
WatchSubpages extension allows a user to add all subpages of a page quickly to their watchlist.
InstallationEdit
- Download and place the file(s) in a directory called
WatchSubpages
in yourextensions/
folder. - Add the following code at the bottom of your
LocalSettings.php
:wfLoadExtension( 'WatchSubpages' );
- 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.21Edit
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;