Extension:MyVariables/pl
Appearance
This extension is professionally maintained by the WikiTeq team.
WikiTeq provides official support for MediaWiki LTS releases only. It may work with other MediaWiki releases.
MyVariables Status wydania: stabilne |
|
---|---|
Realizacja | Zmienna |
Opis | Adds new built-in variables |
Autor(zy) | |
Opiekun(owie) | WikiTeq team |
Ostatnia wersja | 4.3 (2021-09-23) |
Polityka zgodności | Dla każdego wydania MediaWiki, które jest wydaniem wsparcia długoterminowego, istnieje odpowiednia gałąź w rozszerzeniu. |
MediaWiki | 1.31-1.35, 1.39 |
Zmiany w bazie danych | Nie |
Licencja | Licencja GNU General Public License 2.0 lub nowsza |
Pobieranie | |
Quarterly downloads | 30 (Ranked 104th) |
Przetłumacz rozszerzenie MyVariables jeżeli jest dostępne na translatewiki.net | |
Problemy | Otwarte zadania · Zgłoś błąd |
The MyVariables extension adds new built-in variables:
Variable | Opis | Sample |
---|---|---|
{{currentuser}}
|
Login of current user or the IP for anonymous users. | "Pastakhov" lub "x.x.x.x" |
{{currentloggeduser}}
|
Login of current user or empty for anonymous users. | "Pastakhov" lub "" |
{{currentuserrealname}}
|
Real name of current user. | "Pavel Astakhov" |
{{hitcounter}}
|
Number of visits (hits) to the current page according to Extension:HitCounters or empty if the extension isn't installed. | "123" lub "" |
{{logo}}
|
Path to wiki logo. | "/w/skins/common/images/wiki.png" |
{{uuid}}
|
Random (v4) UUID. | "65ba1a51-c723-4b9d-b1f3-13148d628322" |
{{userlanguagecode}}
|
Language that the user specified in the preferences. | "en", "en-ca", "ru" itd. |
{{userregistration}}
|
Timestamp of the date at which the user registered or empty if the page isn't a user page. | "20100809003006" lub "" |
{{firstrevisionid}}
|
ID of the first revision of the current page or empty if page isn't yet created. | "1" lub "" |
{{firstrevisiontimestamp}}
|
Timestamp of the first revision of the current page or empty if page isn't yet created. | "20100809003006" lub "" |
{{firstrevisionuser}}
|
The user name (without the User prefix) or IP address associated to the first revision of the current page or empty if page isn't yet created. | "Pastakhov", "x.x.x.x" lub "" |
{{pageimage}}
|
The main image of the current page as determined by Extension:PageImages . If the extension is not installed or no main image was determined then {{PAGEIMAGE}} will output nothing. | "Logo.png" lub "" |
{{realname}}
|
When used in a user page, will output the real name of the user. However, if used like this {{REALNAME:Jimbo}} it will output the real name of the user Jimbo. This dual behavior is similar to core variables like {{PAGENAME}}. | "Pastakhov" lub "" |
{{redirects}}
|
Comma-separated list of redirects to the current page or empty if there're no redirects. | "Foo, Bar, Baz" or "" |
{{subpages}}
|
The subpages of the current page, in plain text, comma-separated and in alphabetic order. If there are no any subpages, it will output nothing. | "Pastakhov/Subpage1, Pastakhov/Subpage2" or "" |
{{whatlinkshere}}
|
The titles of the pages that link to the current page, comma-separated and in alphabetic order. It will be empty if there are no linked pages. | "Bar, Baz, Foo" or "" |
Instalacja
- Pobierz i umieść plik(i) w katalogu o nazwie
MyVariables
w folderzeextensions/
.
Developers and code contributors should install the extension from Git instead, using:cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/MyVariables - Dodaj poniższy kod na dole twojego pliku LocalSettings.php :
wfLoadExtension( 'MyVariables' );
- Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.
Note
- This extension should not be confused with the Variables extension, which allows the use of variables in the computer programming sense.
Zobacz też
- Extension:Semantic Extra Special Properties - Semantic properties for page authors, subpages and more
- Extension:IDProvider
- Rozszerzenie:FunkcjeUżytkownika
- Extension:UILangCode
- Extension:PageMagic
To rozszerzenie jest dołączone do następujących farm/hostów wiki lub pakietów: To nie jest pełna lista. Niektóre farmy/hosty wiki lub pakiety mogą zawierać to rozszerzenie nawet jeśli nie są one tutaj wymienione. Zawsze sprawdzaj swoje farmy/hosty wiki, aby to potwierdzić. |
Categories:
- Extensions by WikiTeq/pl
- Stable extensions/pl
- Variable extensions/pl
- GPL licensed extensions/pl
- Extensions in Wikimedia version control/pl
- GetMagicVariableIDs extensions/pl
- ParserFirstCallInit extensions/pl
- ParserGetVariableValueSwitch extensions/pl
- ParserOptionsRegister extensions/pl
- All extensions/pl
- Extensions included in Canasta/pl
- Extensions included in Miraheze/pl
- Extensions included in MyWikis/pl
- Extensions included in Open CSP/pl
- Extensions included in ProWiki/pl
- Extensions included in wiki.gg/pl
- Extensions included in WikiForge/pl