ApiMove: Fix fatal when attempting to move to a namespace with no talkpages
authorBrad Jorsch <bjorsch@wikimedia.org>
Mon, 19 Dec 2016 19:02:43 +0000 (14:02 -0500)
committerAnomie <bjorsch@wikimedia.org>
Mon, 19 Dec 2016 19:21:09 +0000 (19:21 +0000)
commit4900ff27c0f352655e291c5275fc031b14ac9d18
treeb4b85c8e6ee764623ff4c8bafc2ab0da885494cb
parent99a20f06d7ee2adb9319352792586cb9da91355d
ApiMove: Fix fatal when attempting to move to a namespace with no talkpages

The move will probably error out anyway, but we want it to do so
properly instead of by throwing a PHP fatal.

Bug: T153693
Change-Id: I19334a28a3f539e0f3d3866353093711f68786ee
includes/api/ApiMove.php