Page MenuHomePhabricator

ApiMove throws exception on invalid talk space
Closed, ResolvedPublic

Description

When using ApiMove, if the destination has no talk space (e.g., Media or Special) and talk page moves are enabled, the move will throw an exception.

From: User:TestCase
To: Special:TestCase
Code: internal_api_error_MWException
Info: [WFgcZdvWFRoAjAYF8rhTdgAAABE] Exception Caught: MWNamespace::getTalk does not make any sense for given namespace -1

Event Timeline

Change 328210 had a related patch set uploaded (by Anomie):
ApiMove: Fix fatal when attempting to move to a namespace with no talkpages

https://gerrit.wikimedia.org/r/328210

Change 328210 merged by jenkins-bot:
ApiMove: Fix fatal when attempting to move to a namespace with no talkpages

https://gerrit.wikimedia.org/r/328210