API Import: Die when namespace and rootpage is set
authorumherirrender <umherirrender_de.wp@web.de>
Thu, 14 May 2015 19:32:30 +0000 (21:32 +0200)
committerumherirrender <umherirrender_de.wp@web.de>
Thu, 14 May 2015 19:32:30 +0000 (21:32 +0200)
commit05c726307946353ce0f6a651ffee164b3a699b45
tree144cd53f7e5cd26682162689fcea84dc9b654c02
parent8dceec83f7cc2c255fde4ddb45f6396ee08ae13a
API Import: Die when namespace and rootpage is set

With I11521260a88a7f4a95fbdb71ac50bcf7b4fe5cd1 the rootpage parameter
gets ignored when namespace parameter is set.
This can break the behaviour for the client. Just break the client by
returning an error instead of silent ignoring a parameter.

Change-Id: Ie1c7447b5d59ff4d3466b504d5d1afc0d296841a
includes/api/ApiImport.php
includes/api/i18n/en.json