< Extension:GlobalUserPage
![]() 發佈狀態: 穩定版本 |
|
---|---|
实现 | |
描述 | Enables global (shared between wikis) user pages on a wiki farm. |
作者 | Jack Phoenix, Kunal Mehta |
最新版本 | 0.11.1 (2017-09-18) |
性政策 | 快照跟随MediaWiki发布。 master分支不向後。 |
MediaWiki | 1.40+ |
PHP | 5.5.9+ |
许可协议 | GNU通用公眾授權條款3.0或更新版本 |
下載 | 下載 Git [?]: |
Help:Extension:GlobalUserPage/zh | |
ShoutWiki | |
參數
|
|
使用的钩子
|
|
季度下載量 | 19 (Ranked 151st) |
公開的wiki使用 | 2,011 (Ranked 198th) |
翻譯GlobalUserPage的,若在translatewiki.net可用 | |
問題 | 尚未完成的工作 · 錯誤 |

The GlobalUserPage extension enables global (shared between wikis) user pages on a wiki farm.
This extension was developed by Jack Phoenix for ShoutWiki
, originally based on the Extension:HelpPages by Kunal Mehta (the extensions no longer share any code).文档
参见Help:扩展:全域用户页
。Caveats
Using this extension comes with a few security risks. You must absolutely trust the central wiki and its admins, as they can easily insert raw HTML into your wiki, opening up XSS holes and other bad things.
安裝
- 下载,并将其放置在您
extensions/
中的GlobalUserPage
目录内。 - 将下列放置在您的LocalSettings.php
wfLoadExtension( 'GlobalUserPage' );
的底部: 完成 – 在您的wiki上至Special:Version,以验证已成功安装。
配置
$wgGlobalUserPageAPIUrl
- the URL to the central wiki'sapi.php
. This URL is internally used to fetch the global user page's text.$wgGlobalUserPageCacheExpiry
- controls how long to cache the rendered HTML for. The default is60 * 60 * 24 * 7
(one week). The HTML is usually invalidated upon editing, but this is a worst case fallback.$wgGlobalUserPageDBname
- the name of the database where global user page data is stored, i.e. usually this should be set to the same value as$wgSharedDB
.$wgGlobalUserPageFooterKey
- message key to add as a footer to the bottom of global user pages, or false if no footer should be added.$wgGlobalUserPageTimeout
- Timeout for internal API requests, to use$wgHTTPTimeout
set this to the string "default".
![]() | 此用于一个或多个维基媒体项目。 这可能意味着足够稳定、运作足够良好,可以用在这样的高流量的网站上。 请在维基媒体的CommonSettings.php和InitialiseSettings.php中查找此的名称以查看哪些网站安装了该。 特定wiki上的已安装的的完整列表位于Special:Version页面。 |
![]() | 此包含在以下wiki農場、托管,和/或包中: 這不是一份權威名單。 即使一些wiki農場/託管者沒有被列在這裡,他們也可能包含這個。 請以各wiki農場/託管者或包的狀態為準。 |
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.