Extension:GlobalUserPage/pt-br
From Linux Web Expert
GlobalUserPage Estado da versão: estável |
|
---|---|
Implementação | Interface de usuário |
Descrição | Enables global (shared between wikis) user pages on a wiki farm. |
Autor(es) | Jack Phoenix, Kunal Mehta |
Última versão | 0.11.1 (2017-09-18) |
Política de compatibilidade |
Snapshots releases along with MediaWiki. Master is not backward compatible. |
MediaWiki | 1.41+ |
PHP | 5.5.9+ |
Licença | Nenhuma licença especificada |
Download | |
Help | Help:Extension:GlobalUserPage/pt-br |
Exemplo | ShoutWiki |
Quarterly downloads | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Public wikis using | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Para traduzir a extensão GlobalUserPage, verifique sua disponibilidade no translatewiki.net | |
Problemas | Tarefas em aberto · Relatar um 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
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.
Installation
- <translate> [[<tvar name=2>Special:ExtensionDistributor/GlobalUserPage/pt-br</tvar>|Download]] and move the extracted <tvar name=name>
GlobalUserPage/pt-br
</tvar> folder to your <tvar name=ext>extensions/
</tvar> directory.</translate>
<translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/GlobalUserPage%2Fpt-br - <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
wfLoadExtension( 'GlobalUserPage/pt-br' );
- File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>
Configuration
$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".
File:Wikimedia-logo black.svg | <translate> This {{<tvar name=1>#ifeq:Extension|Extension</tvar>|extension|skin}} is being used on one or more [[<tvar name=2>m:Special:MyLanguage/Wikimedia projects</tvar>|Wikimedia projects]].</translate> <translate> This probably means that the {{<tvar name=1>#ifeq:Extension|Extension</tvar>|extension|skin}} is stable and works well enough to be used by such high-traffic websites.</translate> <translate> Look for this {{<tvar name=1>#ifeq:Extension|Extension</tvar>|extension's|skin's}} name in Wikimedia's <tvar name=2>CommonSettings.php</tvar> and <tvar name=3>InitialiseSettings.php</tvar> configuration files to see where it's installed.</translate> <translate> A full list of the {{<tvar name=1>#ifeq:Extension|Extension</tvar>|extensions|skins}} installed on a particular wiki can be seen on the wiki's <tvar name=ver>Special:Version</tvar> page.</translate> |
File:OOjs UI icon information-progressive.svg |
Categories:
- Pages with script errors
- Pages with broken file links
- Stable extensions/pt-br
- User interface extensions/pt-br
- Extensions with manual MediaWiki version
- Extensions with no license specified/pt-br
- Extensions in Wikimedia version control/pt-br
- All extensions/pt-br
- Extensions not in ExtensionJson
- Extensions used on Wikimedia/pt-br
- Extensions by ShoutWiki/pt-br