# Some log types are only for a 'User:' title but we might have been given
# only the username instead of the full title 'User:username'. This part try
# Some log types are only for a 'User:' title but we might have been given
# only the username instead of the full title 'User:username'. This part try
if ( in_array( $opts->getValue( 'type' ), self::getLogTypesOnUser() ) ) {
# ok we have a type of log which expect a user title.
$target = Title::newFromText( $opts->getValue( 'page' ) );
if ( in_array( $opts->getValue( 'type' ), self::getLogTypesOnUser() ) ) {
# ok we have a type of log which expect a user title.
$target = Title::newFromText( $opts->getValue( 'page' ) );