Extension:GetUserName/pl
Appearance
Status wydania: stabilne |
|
|---|---|
| Realizacja | Zmienna |
| Opis | Allows the current user's name to be put in a page |
| Autor(zy) | |
| Ostatnia wersja | 2.1 (2022-01-02) |
| Polityka zgodności | Snapshots releases along with MediaWiki. Master nie jest kompatybilny wstecznie. |
| MediaWiki | 1.35+ |
| Licence | Licencja GNU General Public License 2.0 |
| Pobieranie | GitHub:
Uwaga: README |
The GetUserName extension allows to obtain the current user's name from wgUser and insert it on a page.
Użycie
When {{#USERNAME:}} is found in the page, it will replace it with the current user name.
The cache is invalidated for pages using this extension.
In the visual editor,
{{#USERNAME}} will evaluate to your current IP address because session information is not preserved when Parsoid parses pages. This also mean template substitution does not work with this tag.
Instalacja
- Download i umieść plik(i) w katalogu o nazwie
GetUserNamew swoim kataloguextensions/. - Dodaj poniższy kod na dole twojego pliku LocalSettings.php:
wfLoadExtension( 'GetUserName' );
Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.
