aboutsummaryrefslogtreecommitdiffstats
path: root/includes/api/ApiQueryLangBacklinks.php
diff options
context:
space:
mode:
authorBrad Jorsch <bjorsch@wikimedia.org>2015-01-16 14:00:07 -0500
committerBrad Jorsch <bjorsch@wikimedia.org>2015-04-20 17:49:37 -0400
commitbeab6b009ef45d1d8e62943caa4bceb7a04f0c16 (patch)
tree600c4b865962317aac53a2fd9cf5bb333120b7e7 /includes/api/ApiQueryLangBacklinks.php
parent6a9428babd1cd78b80fc6cca92e495cd444fc7d3 (diff)
downloadmediawikicore-beab6b009ef45d1d8e62943caa4bceb7a04f0c16.tar.gz
mediawikicore-beab6b009ef45d1d8e62943caa4bceb7a04f0c16.zip
Change API result data structure to be cleaner in new formats
Nothing in this patch should result in changed output for format=json or format=php except as noted in RELEASE-NOTES-1.25, and changed output for format=xml should be similar or cosmetic. However, other code accessing the result data directly may need to be updated. Bug: T87053 Bug: T12887 Change-Id: I3500708965cb8869b5aed1543381aad208dadd13
Diffstat (limited to 'includes/api/ApiQueryLangBacklinks.php')
-rw-r--r--includes/api/ApiQueryLangBacklinks.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/api/ApiQueryLangBacklinks.php b/includes/api/ApiQueryLangBacklinks.php
index 885d10c1414b..7be18b2ff763 100644
--- a/includes/api/ApiQueryLangBacklinks.php
+++ b/includes/api/ApiQueryLangBacklinks.php
@@ -131,7 +131,7 @@ class ApiQueryLangBacklinks extends ApiQueryGeneratorBase {
ApiQueryBase::addTitleInfo( $entry, $title );
if ( $row->page_is_redirect ) {
- $entry['redirect'] = '';
+ $entry['redirect'] = true;
}
if ( $lllang ) {