< Extension:GlobalWatchlist

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
使用的钩子
  • ApiOptions
  • GetPreferences
  • LoginFormValidErrorMessages
  • ResourceLoaderRegisterModules
  • SidebarBeforeOutput
季度下載量 2 (Ranked 168th)
公開的wiki使用 5,392 (Ranked 51st)
翻譯GlobalWatchlist的,若在translatewiki.net可用
問題 尚未完成的工作 · 錯誤

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

安裝

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

该扩展有以下配置选项
值名 默认值 描述
$wgGlobalWatchlistWikibaseSitefalseThe 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.
$wgGlobalWatchlistUseVuefalseWhether to use the experimental Vue.js version of the display
$wgGlobalWatchlistDevModefalseWhether to send debug log entries to the console
$wgGlobalWatchlistEnableGuidedTourfalseWhether to enable the GuidedTour for the settings page, if the GuidedTour extension is installed
$wgGlobalWatchlistSiteLimit5The 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

参见

This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.