Jump to content

Estensione:GlobalUserPage

From mediawiki.org
This page is a translated version of the page Extension:GlobalUserPage and the translation is 35% complete.
Manuale sulle Estensioni MediaWiki
GlobalUserPage
Stato della release: stabile
Implementazione Interfaccia utente
Descrizione Enables global (shared between wikis) user pages on a wiki farm.
Autore(i) Jack Phoenix, Kunal Mehta
Versione 0.11.1 (2017-09-18)
Politica di compatibilità Snapshots releases along with MediaWiki. Master is not backward compatible.
MediaWiki 1.42+
PHP 5.5.9+
Licenza GNU General Public License 3.0 or later
Scaricare
Aiuto Help:Extension:GlobalUserPage/it
Esempio ShoutWiki
  • $wgGlobalUserPageAPIUrl
  • $wgGlobalUserPageTimeout
  • $wgGlobalUserPageDBname
  • $wgGlobalUserPageFooterKey
  • $wgGlobalUserPageCacheExpiry
Quarterly downloads 25 (Ranked 115th)
Public wikis using 2,011 (Ranked 198th)
Traduci l'estensione GlobalUserPage se è disponibile su translatewiki.net
Problemi Compiti aperti · Riportare un bug

GlobalUserPage

2020 Coolest Tool
Award Winner

in the category
Reusable


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).

Documentazione per l'utente

Vedi Aiuto:Estensione:GlobalUserPage .

Avvertenze

L'utilizzo di questa estensione comporta alcuni rischi per la sicurezza. 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.

Installazione

  • Download and move the extracted GlobalUserPage folder to your extensions/ 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
  • Aggiungi il seguente codice al tuo $LocalSettings (preferibilmente alla fine):
    wfLoadExtension( 'GlobalUserPage' );
    
  • Yes Done – Naviga in Special:Version nella tua wiki per verificare che l'estensione sia stata installata correttamente.

Configurazione

  • $wgGlobalUserPageAPIUrl - the URL to the central wiki's api.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 is 60 * 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".