Globale brugersider
Global user pages are user pages defined on Meta that apply on other Wikimedia wikis. This includes three pages:
- Your Meta user page will be shown on any wiki where you don't have a local user page.
- Your
global.css
contains styles that are imported on every wiki when you're logged in. - Your
global.js
contains scripts that are loaded on every wiki when you're logged in.
Du skal have en global konto for at kunne benytte dig af disse funktioner. The global pages will only be inherited on wikis where you have a local account (see a list of accounts attached to your global account), meaning your global user page won't appear on wikis you've never visited.
Managing global user page and scripts
Global user page, JS script and style sheet are enabled by default, and once these pages are created they will come into effect automatically. For more details about managing and controlling global user pages, scripts and style sheets, see the documentation:
To prevent your Meta-Wiki userpage from appearing globally, you may add the __NOGLOBAL__
magic word, which also determines whether a link to a user page on a remote wiki should be red or blue.
Metawiki (this wiki) utilises an abuse filter to prevent another person's (global) user page from being edited by IP editors and editors without an elevated level of permission.
Lokale brugersider
Your global user page won't be shown on local wikis if you already have a user page there.
Transclusion and wikilinks
This page is displayed as a transclusion of the userpage in Meta in your local wiki. Therefore, if you don't want a particular text to appear globally, you can use <noinclude></noinclude>
tag. Also, if you want a text to appear only globally, you can use <includeonly></includeonly>
tag.
Wikilinks for your userpage on Meta do not work on another wiki, for example: in User:Example, when you link on User:Example/sandbox, in Wikidata this link would be redirected to d:User:Example/sandbox, not your Meta sandbox. You can bypass this issue by using m:User:Example/sandbox.
Indhold
Your global user page should not contain content considered inappropriate on projects where it will be displayed (see help about user pages for more information, and for interwiki links to language help pages).
Please use Meta:Civility as a guide.
Oversættelse
While you can't translate your user page automatically into the local content language, you can translate it into the reader's user interface language (which may not be the wiki's default language!). For example, this adds a user language box, and a sentence translated into either German or English:
{{#babel:en|de-2}} {{#switch:{{int:lang}} |de=Willkommen auf meiner Benutzerseite! |en=Welcome to my user page! |#default=Velkommen til min brugerside! }}
The text in any language can be any number of lines, but every language can only occur once inside the #switch-block. The #default-block must not be missed, as it is the fallback for all possible languages, that are not explicitly mentioned.
Du kan se et mere komplekst eksempel.
Se også
- Wikitech-l: Global user pages deployed to all wikis
- GlobalUserPage Extension
- Synchbot (bot used to synchronise or delete pages across Wikimedia wikis)
- Help about unified login