Laajennus:WatchSupbages
![]() Julkaisustatus: vakaa |
|
---|---|
Toteutus | Toimintosivu , MyWiki |
Kuvaus | Allows to quickly add all subpages of a page to the users' watchlist |
Tekijä(t) | Prodkeskustelu |
Viimeisin versio | 2.4.1 (2020-12-13) |
MediaWiki | 1.32+ |
Tietokantamuutokset | Ei |
Lisenssi | GNU General Public License 2.0 tai myöhempi |
Lataa | |
Esimerkki | StrategyWiki |
watchsubpages |
|
Quarterly downloads | 1 (Ranked 171st) |
Voit kääntää WatchSubpages-laajennuksen mikäli se on saatavilla translatewiki.netissä | |
Ongelmat | Avoimet tehtävät · Raportoi ongelmasta |
WatchSubpages extension allows a user to add all subpages of a page quickly to their watchlist.
Asennus
- 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' );
- Tehty – 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 versiosta 1.11 versioon 1.21
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;