InfoAction: Don't pass non-dbkeys to LinkBatch
authorKunal Mehta <legoktm@member.fsf.org>
Mon, 6 Jun 2016 21:59:23 +0000 (14:59 -0700)
committerKunal Mehta <legoktm@member.fsf.org>
Mon, 6 Jun 2016 21:59:23 +0000 (14:59 -0700)
commitf0c02543f554f2a77bb23d7275f8f06d0998f64c
tree60965b719b66edb1acca827de68e25f706eca2bc
parent089612544da3abd89476f41476abc78b0cd98e98
InfoAction: Don't pass non-dbkeys to LinkBatch

Usernames are stored with spaces instead of underscores, so this was
causing exceptions later on when dbkeys were expected to be provided to
TitleValue.

Let Title take care of normalization from spaces format to underscores
in Title::makeTitle(), and pass that object onto LinkBatch instead.

Bug: T137147
Change-Id: Ia3606d30de61173e4d5526a9d7a77bd4b1710a05
includes/actions/InfoAction.php