Manual:ChangePassword.php/pt-br

O arquivo changePassword.php pode ser usado para alterar a senha de um usuário em sua wiki. Senhas devem ter, no mínimo, 10 caracteres.

Uso
The following examples assume that they are called from the  directory of the wiki code.

Um exemplo:

Nomes de usuário e senhas podem ter espaços, que terão de ser protegidos de seu shell (seja ele bash ou ; consulte Solução de problemas, abaixo):

Para exibir uma mensagem de ajuda:

Opções

 * (o nome do usuário)
 * (a nova senha do usuário)
 * (exibe a mensagem de ajuda)

Solução de problemas

 * If your MediaWiki installation uses a memory cache, such as APC, memcached or Redis, then the user object is cached. Thus after making SQL changes you must flush the cache before a user can log in with the new password.
 * Windows has special challenges with parsing double-quoted strings, as when a username or password contains spaces in the second example above. You may find some illumination on this issue here (autohotkey.net)&mdash;or it might just make your brain hurt.
 * Occasionally triple and quadruple sets of double quotes will solve your problems with Windows' command shell,  . You may be happier, though, to try Cygwin and follow the Unix conventions for quoting strings, which are a bit more sane.
 * There are no spaces between the parameter=value in the command line.

This will cause a cryptic error: Removing the spaces will fix the problem.