Manual:ChangePassword.php/ja

changePassword.php は、ウィキの利用者のパスワードの変更に使用できます. 注意点はパスワードは最短でも10文字以上という決まりです.

使用法
The following examples assume that they are called from the  directory of the wiki code.

例:

Usernames and passwords can have spaces, which will need to be protected from your shell (be it bash or ; see Troubleshooting, below):

ヘルプ メッセージの表示:

オプション

 * (利用者名)
 * (利用者の 新しい パスワード)
 * (ヘルプ メッセージの表示)

トラブルシューティング

 * 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.
 * 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.