Extension:WatchSubpages

From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.svg
WatchSubpages

Release status:Extension status stable

ImplementationTemplate:Extension#type Special page, MyWiki
DescriptionTemplate:Extension#description Allows to quickly add all subpages of a page to the users' watchlist
Author(s)Template:Extension#username (Prodtalk)
Latest versionTemplate:Extension#version 2.3.0 (2014-03-23)
MediaWikiTemplate:Extension#mediawiki 1.11+
Database changesTemplate:Extension#needs-updatephp No
LicenseTemplate:Extension#license GNU General Public License 2.0 or later
Download
ExampleTemplate:Extension#example StrategyWiki
Added rightsTemplate:Extension#rights

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' );
    
  • YesY 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;