Extension:LastUserLogin/pl

This page is a translated version of the page Extension:LastUserLogin and the translation is 27% complete.
Podręcznik rozszerzeń MediaWiki
LastUserLogin
Status wydania: stabilne
Realizacja Strona specjalna , Aktywność użytkownika
Opis Displays the last time a user logged in
Autor(zy) Justin G. Cramer, Danila Ulyanov, Thomas Klein
Opiekun(owie) Sophivorus
Ostatnia wersja 1.6 (2021-02-04)
MediaWiki 1.29+
PHP 5.5+
Licencja GNU General Public License 3.0 or later
Pobieranie
lastlogin
Quarterly downloads 26 (Ranked 123rd)
Przetłumacz rozszerzenie LastUserLogin jeżeli jest dostępne na translatewiki.net
Problemy Otwarte zadania · Zgłoś błąd

The LastUserLogin extension introduces a special page that displays a simple table of users and the last time they logged in.

This can be useful if your wiki is used as a knowledge base for outside personnel. If you have a requirement that they check the wiki prior to placing a call or email, LastUserLogin can be used to verify that this policy is being enforced.

Instalacja

  • Pobierz i umieść plik(i) w katalogu o nazwie LastUserLogin w folderze extensions/.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/LastUserLogin
  • Dodaj poniższy kod na dole twojego pliku LocalSettings.php :
    wfLoadExtension( 'LastUserLogin' );
    
  •   Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.

Użycie

Once installed, visit Special:LastUserLogin to see the times at which each user last logged in.

This extension introduces the 'lastlogin' right which is needed to view the special page, and by default is only granted to admins (sysops).

Technical details

The extension works by updating the user_touched column every time a user loads a page. This is done via the BeforeInitialize hook.

Zobacz też