Title: Fix subpage move error reporting
authorBrad Jorsch <bjorsch@wikimedia.org>
Mon, 19 Dec 2016 19:03:52 +0000 (14:03 -0500)
committerBrad Jorsch <bjorsch@wikimedia.org>
Tue, 20 Dec 2016 18:41:36 +0000 (13:41 -0500)
commitd5423f43d082654a40ae6c2cf16b9d562944b828
treeadd9e455bc9d0c21102f17f5250652703e04831c
parent99a20f06d7ee2adb9319352792586cb9da91355d
Title: Fix subpage move error reporting

Title::moveSubpages() sometimes returns a single message-specifier array
and sometimes returns an array of such arrays. This is extremely
difficult for a caller to deal with. Since nothing in Gerrit other than
ApiMove calls this, let's just fix it.

Also, it seems that messages were never created for the errors returned
by this method. So let's create them.

Change-Id: I4e55483c4476a1bb96c87266a4661871776fbf9b
includes/Title.php
languages/i18n/en.json
languages/i18n/qqq.json