Manuale:CheckUsernames.php

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:CheckUsernames.php and the translation is 50% complete.

Other languages:
Deutsch • ‎English • ‎Nederlands • ‎català • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎suomi • ‎日本語

Dettagli

checkUsernames.php file is a maintenance script that is used to check that all usernames in the database (user table) are actually valid. Existing usernames can become invalid if User::isValidUserName() is altered or if $wgMaxNameChars is changed.

Uso

php checkUsernames.php

In case invalid usernames are found, the script returns the user_id and the username for each of the affected users.