Jump to content

Help:Extension:GlobalUserPage

From mediawiki.org

TheGlobalUserPageextension lets you reuse the same user page across multiple wikis in a wikifarm.

Enabling your global user page

In most cases, you don't need to do anything. If a localuser pageis not showing what you desire, you may need one or more of the following steps.

  • Create your user page on the central wiki. On Wikimedia projects,your Meta user pageis your global user page.
  • If the feature is disabled by default andGlobalPreferencesis installed, go toSpecial:GlobalPreferencesand enable the “Use global user page” and “Use this preference on all wikis” checkboxes. It is enabled by default in Wikimedia projects, and can be disabled by adding the magic word __NOGLOBAL__ to the page rather than in your personal settings.
  • If you already have a local user page on some wiki with content which you no longer want to be shown, you need to request its deletion. SeeHelp:Deletion and undeletionfor details, or contact anadministratorof that wiki. Note that deleting the local user page will mean the user page will no longer appear in search results.

Where content comes from

Your global user page is generated on the central wiki, and theresultis shown on local wikis. The content you see on the central wiki is what you'll see on other wikis. This means:

  • transcluding templates will use the central wiki's templates (your global user page won't use local templates);
  • transcluding special pages like{{Special:PrefixIndex/User:''My name''/}}will transclude the data from the central wiki;
  • the{{int:}}parser functionwill show system messages from the central wiki;
  • magic wordslike{{SERVERNAME}}will show the value from the central wiki.

Wikilinksare relative, so they'll point to the local wiki.

On Wikimedia projects, useinterwiki links.

Disabling your global user page

To disable the global user page, you can use the__NOGLOBAL__magic word, which, if present on the central user page, will prevent it from being displayed on remote wikis. This will also determine whether a link to a user page on remote wiki should be red or blue.

Controlling what content is displayed

Just like transcluding a template, you can use the‎<noinclude>and‎<includeonly>tags to control what content is only displayed on the central site where the page exist, or globally on all sites.

You can “opt out” of global user pages by simply wrapping your central user page in‎<noinclude>tags. If the page is empty or consists only of invisible content like__NOINDEX__,it won't be shown on other wikis.

Caveats

  • Your user page might not look the same on other wikis due to differences in their site CSS. Check your page on aRTLwiki,e.g.,:ar:or:he:.
  • Transclusions of special pages or parser functions like{{#time}}won't update as frequently as they do locally.
  • Help:Page status indicatorson the central wiki user page, e.g., anICBM geohackin<indicatorname="ICBM"><sampid="coordinates"class="coordinates plainlinks"></samp></indicator>,will not work on local wikis. Try<noinclude><indicatorname="ICBM"></noinclude><sampid="coordinates"class="coordinates plainlinks"style="float:right"></samp><noinclude></indicator></noinclude>to get a page status indicator affecting only the user page on the central wiki, i.e.,Meta-Wikifor most Wikimedia projects.
  • Non-content wikitext will be ignored on local wikis. This includes categories, redirects and somemagic wordslike__NOINDEX__and{{DISPLAYTITLE:}}.
  • Attempts to createinterlanguage links<includeonly>[[en:User:Example]]</includeonly>end up as ordinaryUser:Examplelinks.

See also