API: Throw error when interwiki is given for various title param
authorumherirrender <umherirrender_de.wp@web.de>
Fri, 1 Mar 2013 15:01:26 +0000 (16:01 +0100)
committerumherirrender <umherirrender_de.wp@web.de>
Fri, 1 Mar 2013 15:01:26 +0000 (16:01 +0100)
commit5880f89707793c30c402cfe3439412349d2de9f2
tree70834482f98e58fc0c35fd3fbf871d44c542b697
parent6810bb6caba1f0cbcddf634fb5072c072810b0de
API: Throw error when interwiki is given for various title param

See bug 44341 for action=parse, but the problem with interwiki
processing can also be happen in other modules.

This gives clearer error message on some modules
For example action=move:
Bad title "*title*"
instead of:
Unknown error: "immobile-target-namespace-iw"

Change-Id: I86524533dfd778a169b39968999918a1f531efeb
includes/api/ApiBase.php
includes/api/ApiComparePages.php
includes/api/ApiEditPage.php
includes/api/ApiExpandTemplates.php
includes/api/ApiMove.php
includes/api/ApiParse.php
includes/api/ApiQueryAllMessages.php
includes/api/ApiRollback.php
includes/api/ApiUndelete.php
includes/api/ApiWatch.php