Manual:purgeExpiredUserrights.php

From Linux Web Expert

Revision as of 17:34, 23 February 2022 by imported>APaskulin (WMF)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<td class="mw-version-versionbox" title="<translate nowrap> The latest stable version is <tvar name=1>1.41</tvar></translate>">
<translate> ≥</translate> 1.31
<translate> MediaWiki version:</translate>

Details

purgeExpiredUserrights.php is a maintenance script to remove user right assignments which have expired (ug_expiry is before current time) from the user_groups table and add them to the user_former_groups table.

Options/Arguments

This script does not take any options/arguments.

Usage

php maintenance/purgeExpiredUserrights.php


Terminal

See also