Extension:GlobalUserPage
(Redirected from GlobalUserPage)
GlobalUserPage Release status: stable |
|
---|---|
Implementation | User interface |
Description | Enables global (shared between wikis) user pages on a wiki farm. |
Author(s) | Jack Phoenix, Kunal Mehta |
Latest version | 0.11.1 (2017-09-18) |
Compatibility policy | Snapshots releases along with MediaWiki. Master is not backward compatible. |
MediaWiki | 1.43+ |
PHP | 5.5.9+ |
License | GNU General Public License 3.0 or later |
Download | |
Help | Help:Extension:GlobalUserPage |
Example | ShoutWiki |
|
|
Quarterly downloads | 26 (Ranked 104th) |
Public wikis using | 2,011 (Ranked 198th) |
Translate the GlobalUserPage extension if it is available at translatewiki.net | |
Issues | Open tasks · Report a bug |
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).
User documentation
editCaveats
editUsing 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.
Installation
edit- Download and move the extracted
GlobalUserPage
folder to yourextensions/
directory.
Developers and code contributors should install the extension from Git instead, using:cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/GlobalUserPage - Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'GlobalUserPage' );
- Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Configuration
edit$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".
This extension is being used on one or more Wikimedia projects. This probably means that the extension is stable and works well enough to be used by such high-traffic websites. Look for this extension's name in Wikimedia's CommonSettings.php and InitialiseSettings.php configuration files to see where it's installed. A full list of the extensions installed on a particular wiki can be seen on the wiki's Special:Version page. |
This extension is included in the following wiki farms/hosts and/or packages: This is not an authoritative list. Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |