X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryLangBacklinks.php;h=9f77b84a4710b3312a82f16d77ae78561cf8f4c5;hb=15adbabc3a1d564241ee09ac8091760b302b6b6f;hp=b41b4b7f981f6116605d44421e2897965ba95198;hpb=a56c35a226fea3a3548a0313ce8fb748cfeb3d5a;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiQueryLangBacklinks.php b/includes/api/ApiQueryLangBacklinks.php index b41b4b7f98..9f77b84a47 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 ) { @@ -154,7 +154,7 @@ class ApiQueryLangBacklinks extends ApiQueryGeneratorBase { } if ( is_null( $resultPageSet ) ) { - $result->setIndexedTagName_internal( array( 'query', $this->getModuleName() ), 'll' ); + $result->addIndexedTagName( array( 'query', $this->getModuleName() ), 'll' ); } else { $resultPageSet->populateFromTitles( $pages ); } @@ -185,6 +185,7 @@ class ApiQueryLangBacklinks extends ApiQueryGeneratorBase { 'lllang', 'lltitle', ), + ApiBase::PARAM_HELP_MSG_PER_VALUE => array(), ), 'dir' => array( ApiBase::PARAM_DFLT => 'ascending',