MediaWiki:Apihelp-validatepassword-example-1

From skaldsong companion

Validate the password foobar for the current user.