Extension:GetUserName/pl

Category:GPL licensed extensions/pl
Podręcznik rozszerzeń MediaWiki
GetUserName
Status wydania: stabilneCategory:Stable extensions/pl
Realizacja Zmienna Category:Variable extensions/pl
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+Category:Extensions with manual MediaWiki version/pl
Licencja Licencja GNU General Public License 2.0
Pobieranie Category:Extensions in GitHub version control/pl
README
Category:All extensions/plCategory:Extensions not in ExtensionJson/pl

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 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ż

Category:All extensions/pl Category:Extensions in GitHub version control/pl Category:Extensions not in ExtensionJson/pl Category:Extensions with manual MediaWiki version/pl Category:GPL licensed extensions/pl Category:ParserFirstCallInit extensions/pl Category:Stable extensions/pl Category:Variable extensions/pl