Extension:LastUserLogin/ru

This page is a translated version of the page Extension:LastUserLogin and the translation is 27% complete.
Справка по расширениям MediaWiki
LastUserLogin
Статус релиза: стабильно
Реализация Служебная страница , Действия пользователя
Описание Displays the last time a user logged in
Автор(ы) Justin G. Cramer, Danila Ulyanov, Thomas Klein
Поддерживающий(ие) Sophivorus
Последняя версия 1.6 (2021-02-04)
MediaWiki 1.29+
PHP 5.5+
Лицензия GNU General Public License 3.0 или позднее
Скачать
lastlogin
Ежеквартальные загрузки 26 (Ranked 123rd)
Переведите расширение LastUserLogin, если оно доступно на translatewiki.net
Проблемы Открытые задачи · Сообщить об ошибке

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.

Установка

  • Скачайте и распакуйте файл(ы) в папку с названием LastUserLogin в вашей папке extensions/.
    Вместо этого разработчикам и соавторам кода следует установить расширение из Git, используя:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/LastUserLogin
  • Добавьте следующий код в конце вашего файла LocalSettings.php :
    wfLoadExtension( 'LastUserLogin' );
    
  •   Готово – Перейдите на страницу Special:Version на своей вики, чтобы удостовериться в том, что расширение успешно установлено.

Использование

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.

См. также