Jump to content

Wikipedia:Global user page

From Wikipedia, the free encyclopedia
(Redirected fromWikipedia:GUP)

Since February 2015,users with an accountcan create aglobal user pagefor all Wikimedia projects onMeta-Wiki.

Implementation

[edit]

Theuser page on Metais displayed on all Wikis where no local user page exists.

  • At the moment all templates are evaluated at Meta, but wikilinks link to the local project where the user page is displayed. It is currently not possible to display different content for individual projects, however, it is possible to account forthe language of the reader.
  • With<noinclude>(Meta only) and<includeonly>(everywhere else), different content can be displayed; seeWikipedia:Transclusion#Partial transclusionfor details.
  • For optimal use of the Babel system in other wikis, the parser function#babelshould be used. In contrast toTemplate:Babelthat differs on every wiki, this approach is guaranted to work on all sites.
  • Changes on Meta are immediately visible everywhere.

A possibly still-existingsoft redirect(withTemplate:Soft redirect) needs to be deleted from the local page for the global page to become operative. Redirects to the global user page have to be replaced in the local wiki (English Wikipedia) with soft redirects or wikilinks, as they otherwise would end up atSpecial:BrokenRedirects.

Delivery wiki of the user page

[edit]

Currently (start of 2016), the user page is evaluated atMeta.After a changed version has been computed and Meta templates and system messages have been interpreted, the content is frozen for delivery to other wikis. The completed page is displayed as a shadow page where no local page exists.

There are intentions to changethe softwareto interpret the page in the local wiki and use local templates.

Wikilinks on the other hand always link to the local wiki. To link to a specific wiki a fullinterwiki linkhas to be provided:

[[w:en:User:MyName]]points to a Wikipediaw:in englishen:configuration and the named local user page.

For the concept of shadow pages, seemw:Requests for comment/Shadow namespaces.

Transition of existing pages

[edit]

To see where local user pages already exist, the tooltoollabs:meta/userpages/can be used. Also helpful are the toolstoollabs:guc/andtoollabs:meta/crossactivity.

Users with many local user pages can askSynchbotto delete these pages.

CSS and JavaScript

[edit]

Preferences for Shared CSS/JavaScriptlinks tom:Special:MyPage/global.jsandm:Special:MyPage/global.css.

Example: account for reader's language

[edit]

While it is not possible to display the page in the project language, it is possible to show the page in the reader's chosen user interface language. To do this, the following code can be used on theglobal user page:

{{#babel:en|de-2}}
{{#switch: {{int:lang}}
|de-at
|de-ch
|de=Hallo

Willkommen auf meiner Benutzerseite!
|de-formal=Willkommen

Ich begrüße Sie auf meiner Benutzerseite!
|#default=Hello

Welcome to my userpage!
}}
{{userpage}}

At the moment,{{User page}}is a multilingual template at meta:meta:Template:Userpage.In the future, it could be required to check for the existence of a local template before transcluding it.

See also

[edit]