Extension:GlobalUserPage/zh
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).
文档
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.
安裝
- 下载,并将解压后的
GlobalUserPage
移动到extensions/
目录中。
开发者和代码贡献人员应从Git安装扩展,输入:cd extensions/ git clone https://gerrit.wikimedia.org/r/mediawiki/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农场/托管网站或软件包以确认提供情况。 |
Category:All extensions/zh
Category:ArticleDeleteComplete extensions/zh
Category:ArticleFromTitle extensions/zh
Category:Extensions by ShoutWiki/zh
Category:Extensions in Wikimedia version control/zh
Category:Extensions included in Miraheze/zh
Category:Extensions included in ShoutWiki/zh
Category:Extensions included in Telepedia/zh
Category:Extensions included in WikiForge/zh
Category:Extensions used on Wikimedia/zh
Category:Extensions with manual MediaWiki version/zh
Category:GPL licensed extensions/zh
Category:GetDoubleUnderscoreIDs extensions/zh
Category:LinksUpdateComplete extensions/zh
Category:PageSaveComplete extensions/zh
Category:Stable extensions/zh
Category:TitleGetEditNotices extensions/zh
Category:TitleIsAlwaysKnown extensions/zh
Category:User interface extensions/zh
Category:WikiPageFactory extensions/zh