Use getPrefixedDbkey() when generating salt, for consistency.
Bug: T106910
Change-Id: I93e22a2aaee8bf888fa613929c1027f5f0c2642f
$this->checkCanExecute( $user );
// Must have valid token for this action/title
- $salt = array( $this->getName(), $this->getTitle()->getDBkey() );
+ $salt = array( $this->getName(), $this->getTitle()->getPrefixedDBkey() );
if ( $user->matchEditToken( $this->getRequest()->getVal( 'token' ), $salt ) ) {
$this->onSubmit( array() );