Extension:GetUserName/pl

This page is a translated version of the page Extension:GetUserName and the translation is 11% complete.
Podręcznik rozszerzeń MediaWiki
GetUserName
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 is not backward compatible.
MediaWiki 1.35+
Licencja GNU General Public License 2.0
Pobieranie
README

The GetUserName extension allows to obtain the current user's name from wgUser and insert it on a page.

Usage

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.

Installation

  • Download i umieść plik(i) w katalogu o nazwie GetUserName w swoim katalogu extensions/.
  • Dodaj poniższy kod na dole twojego pliku LocalSettings.php :
    wfLoadExtension( 'GetUserName' );
    
  • Yes Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.

Zobacz też