Extension:GlobalWatchlist/zh
![]() 發布狀態: 穩定版本 |
|
---|---|
实现 | 特殊页面 |
描述 | 建立一个“全域”监视列表 |
作者 | DannyS712讨论 |
兼容性政策 | 快照跟随MediaWiki发布。 master分支不向後兼容。 |
MediaWiki | 1.36+ |
许可协议 | GNU通用公眾授權條款2.0或更新版本 |
下載 | README |
|
|
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' );
完成 – 在您的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.
結合其他擴充功能
- 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
参见
![]() | 此扩展用于一个或多个维基媒体项目。 这可能意味着扩展足够稳定、运作足够良好,可以用在这样的高流量的网站上。 请在维基媒体的CommonSettings.php和InitialiseSettings.php配置文件中查找此扩展的名称以查看哪些网站安装了该扩展。 特定wiki上的已安装的扩展的完整列表位于Special:Version页面。 |
Categories:
- Stable extensions/zh
- Special page extensions/zh
- GPL licensed extensions/zh
- Extensions in Wikimedia version control/zh
- ApiOptions extensions/zh
- GetPreferences extensions/zh
- LoginFormValidErrorMessages extensions/zh
- ResourceLoaderRegisterModules extensions/zh
- SidebarBeforeOutput extensions/zh
- All extensions/zh
- Extensions used on Wikimedia/zh