API: Correct 'from_namespace' logic in ApiQueryBacklinksprop
authorBrad Jorsch <bjorsch@wikimedia.org>
Wed, 23 Sep 2015 13:31:39 +0000 (09:31 -0400)
committerBrad Jorsch <bjorsch@wikimedia.org>
Wed, 23 Sep 2015 14:14:07 +0000 (10:14 -0400)
commit462a7baa00d02bea54c643fa4baf042936863f40
treea9a08c4b7280443dc7b6e616e919762cdbe7dbf0
parenta09d063de3af3f19da3ee3be579a727c816a4284
API: Correct 'from_namespace' logic in ApiQueryBacklinksprop

The code for the rdnamespace parameter to prop=redirects was trying to
use a nonexistent rd_from_namespace field when miser mode was not
enabled.

Bug: T113453
Change-Id: I7ef77a01c25fec34623b888f439261423cebdaef
includes/api/ApiQueryBacklinksprop.php