Extension:GlobalUserPage/zh
Appearance
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.42+ |
PHP | 5.5.9+ |
许可协议 | GNU通用公眾授權條款3.0或更新版本 |
下載 | |
帮助 | Help:Extension:GlobalUserPage/zh |
示例 | ShoutWiki |
|
|
季度下載量 | 29 (Ranked 100th) |
正在使用的公开wiki数 | 2,011 (Ranked 198th) |
前往translatewiki.net翻譯GlobalUserPage扩展 | |
問題 | 开启的任务 · 报告错误 |
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.
安裝
- 下载文件,并将解压后的
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农场/托管网站或软件包以确认提供情况。 |
Categories:
- Stable extensions/zh
- User interface extensions/zh
- GPL licensed extensions/zh
- Extensions in Wikimedia version control/zh
- ArticleDeleteComplete extensions/zh
- ArticleFromTitle extensions/zh
- GetDoubleUnderscoreIDs extensions/zh
- LinksUpdateComplete extensions/zh
- PageSaveComplete extensions/zh
- TitleGetEditNotices extensions/zh
- TitleIsAlwaysKnown extensions/zh
- WikiPageFactory extensions/zh
- All extensions/zh
- Extensions used on Wikimedia/zh
- Extensions included in Miraheze/zh
- Extensions included in ShoutWiki/zh
- Extensions included in Telepedia/zh
- Extensions included in WikiForge/zh
- Extensions by ShoutWiki/zh