扩展:全域监视列表

This page is a translated version of the page Extension:GlobalWatchlist and the translation is 55% complete.

GlobalWatchlist

2021 Coolest Tool
Award Winner

in the category
Newcomer

MediaWiki扩展手册
GlobalWatchlist
发行状态: 稳定版
实现 特殊页面
描述 建立一个“全域”监视列表
作者 DannyS712留言
兼容性政策 快照跟随MediaWiki发布。 master分支不向后兼容。
MediaWiki 1.36+
许可协议 GNU通用公眾授權條款2.0或更新版本
下載
README
  • $wgGlobalWatchlistEnableGuidedTour
  • $wgGlobalWatchlistSiteLimit
  • $wgGlobalWatchlistWikibaseSite
  • $wgGlobalWatchlistDevMode
季度下載量 8 (Ranked 134th)
正在使用的公开wiki数 5,392 (Ranked 51st)
前往translatewiki.net翻譯GlobalWatchlist扩展
問題 开启的任务 · 报告错误

全域监视列表扩展允许用户一次性查看多个站点的页面更改。

安裝

  • 下载文件,并将其放置在您extensions/文件夹中的GlobalWatchlist目录内。
    开发者和代码贡献人员应从Git安装扩展,输入:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/GlobalWatchlist
  • 将下列代码放置在您的LocalSettings.php 的底部:
    wfLoadExtension( 'GlobalWatchlist' );
    
  •   完成 – 在您的wiki上导航至Special:Version,以验证已成功安装扩展。

配置

该扩展有以下配置选项
值名 默认值 描述
$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

参见