* Maintenance script to reset the user_token for all users on the wiki.
*
* @ingroup Maintenance
+ * @deprecated since 1.27, use $wgAuthenticationTokenVersion instead.
*/
class ResetUserTokens extends Maintenance {
public function __construct() {
parent::__construct();
$this->addDescription(
- 'Reset the user_token of all users on the wiki. Note that this may log some of them out.'
+ "Reset the user_token of all users on the wiki. Note that this may log some of them out.\n"
+ . "Deprecated, use \$wgAuthenticationTokenVersion instead."
);
$this->addOption( 'nowarn', "Hides the 5 seconds warning", false, false );
$this->addOption(