Jump to content

Globalūs naudotojų puslapiai

From Meta, a Wikimedia project coordination wiki
This page is a translated version of the page Global user pages and the translation is 33% complete.
Shortcut:
GUP

Globalūs naudotojų puslapiai - Metaviki projekte esantys naudotojų puslapiai, kurie yra naudojami kituose Vikimedijos projektuose. Iš viso yra 3 tokie puslapiai:

  1. Asmeninis Meta naudotojo puslapis, kuris bus rodomas tuose vikiprojektuose, kuriuose nėra lokalaus naudotojo puslapio.
  2. Asmeninis global.css CSS stilius, kuris yra importuojamas kiekviename prisijungtame vikiprojekte.
  3. Asmeninis global.js JavaScript kodas, kuris yra įkeliamas kiekviename prisijungtame vikiprojekte.

Norint naudoti šiuos puslapius reikia turėti globalią paskyrą. Globalūs puslapiai yra paveldimi tik tuose vikiprojektuose, kuriuose yra turima lokali paskyra (žr. paskyrų, prijungtų prie tavo globalios paskyros, sąrašas), tai reiškia, kad globalus naudotojo puslapis nebus matomas vikiprojektuose, kuriuose nebuvote prisijungę.

Globalaus naudotojo puslapio ir skriptų valdymas

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.

Local user pages

Your global user page won't be shown on local wikis if you already have a user page there.

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.

Turinys

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.

Vertimas

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=Welcome to my user page!
}}

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.

Sudėtingesnis pavyzdys pateikiamas User:°/multilingual global user page − how to.

Taip pat skaitykite