Extension:GlobalWatchlist/zh

From mediawiki.org
This page is a translated version of the page Extension:GlobalWatchlist and the translation is 43% complete.
Coolest Tool Award 2021 square logo.svg

GlobalWatchlist

2021 Coolest Tool
Award Winner

in the category
Newcomer

MediaWiki扩展手冊
OOjs UI icon advanced-invert.svg
GlobalWatchlist
發布狀態: 穩定版本
实现 特殊页面
描述 建立一个“全域”监视列表
作者 DannyS712讨论
兼容性政策 快照跟随MediaWiki发布。 master分支不向後兼容。
MediaWiki 1.36+
许可协议 GNU通用公眾授權條款2.0或更新版本
下載
README
  • $wgGlobalWatchlistEnableGuidedTour
  • $wgGlobalWatchlistUseVue
  • $wgGlobalWatchlistWikibaseSite
  • $wgGlobalWatchlistSiteLimit
  • $wgGlobalWatchlistDevMode
Quarterly downloads 3 (Ranked 163rd)
Public wikis using 1,075 (Ranked 226th)
翻譯GlobalWatchlist扩展,若在translatewiki.net可用
問題 尚未完成的工作 · 报告錯誤

The GlobalWatchlist extension allows a user to view changes to watched pages on multiple sites at once.

安裝

  • 下载文件,并将其放置在您extensions/文件夹中的GlobalWatchlist目录内。
  • 将下列代码放置在您的LocalSettings.php 的底部:
    wfLoadExtension( 'GlobalWatchlist' );
    
  • Yes 完成 – 在您的wiki上导航至Special:Version,以验证已成功安装扩展。

配置

The extension has the following configuration options
值名 默认值 描述
$wgGlobalWatchlistWikibaseSite false The site that should be treated as a Wikibase Repository and should have labels fetched for items that are changed. If false, the extra handling for Wikibase items is not applied.
$wgGlobalWatchlistUseVue false Whether to use the experimental Vue.js version of the display
$wgGlobalWatchlistDevMode false Whether to send debug log entries to the console
$wgGlobalWatchlistEnableGuidedTour false Whether to enable the GuidedTour for the settings page, if the GuidedTour extension is installed
$wgGlobalWatchlistSiteLimit 5 The maximum number of sites that a user can save to their watchlist. Set to 0 to disable the limit.

使用

To view the global watchlist, visit Special:GlobalWatchlist on the wiki where the extension is installed. By default, only the local wiki's changes are shown, but by changing the configuration at Special:GlobalWatchlistSettings the user can choose other sites to show, up to the maximum if configured.

警告 警告: It is recommended to use this in conjunction with CentralAuth and to choose other sites that the user has an attached account on; this extension is not tested with any other setup.

結合其他擴充功能

  • When CentralAuth is installed, only wikis where the user has an attached account are allowed in their global watchlist
  • When one of the sites included in the global watchlist has the Wikibase Repository extension installed, labels for items and properties can be fetched and displayed. If WikibaseLexeme is installed labels for lexemes are retrieved too.
  • When GuidedTour is installed, and $wgGlobalWatchlistEnableGuidedTour is enabled, a tour is available at Special:GlobalWatchlistSettings the first time you visit the page

参见