X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryBacklinks.php;h=fb502e40e75f1f66f51cf0e3ab71ddb88ccaf37d;hb=84e882968704febff2b4f0b3861e4e9845c5d4a4;hp=97b122accd9f4409aa6f4b997d5810fdaaf703c3;hpb=601519ee36462faabacf4547c9aefaf7e8726476;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiQueryBacklinks.php b/includes/api/ApiQueryBacklinks.php index 97b122accd..fb502e40e7 100644 --- a/includes/api/ApiQueryBacklinks.php +++ b/includes/api/ApiQueryBacklinks.php @@ -296,7 +296,7 @@ class ApiQueryBacklinks extends ApiQueryGeneratorBase { // Note we must keep the parameters for the first query constant // This may be overridden at a later step $title = $row->{$this->bl_title}; - $this->continueStr = join( '|', array_slice( $this->cont, 0, 2 ) ) . + $this->continueStr = implode( '|', array_slice( $this->cont, 0, 2 ) ) . "|$ns|$title|{$row->from_ns}|{$row->page_id}"; break; } @@ -451,7 +451,7 @@ class ApiQueryBacklinks extends ApiQueryGeneratorBase { [ 'query', $this->getModuleName() ], $idx, array_diff_key( $arr, [ 'redirlinks' => '' ] ) ); if ( !$fit ) { - $this->continueStr = join( '|', array_slice( $this->cont, 0, 6 ) ) . + $this->continueStr = implode( '|', array_slice( $this->cont, 0, 6 ) ) . "|$pageID"; break; } @@ -474,7 +474,7 @@ class ApiQueryBacklinks extends ApiQueryGeneratorBase { [ 'query', $this->getModuleName(), $idx, 'redirlinks' ], null, $redir ); if ( !$fit ) { - $this->continueStr = join( '|', array_slice( $this->cont, 0, 6 ) ) . + $this->continueStr = implode( '|', array_slice( $this->cont, 0, 6 ) ) . "|$pageID|$key"; break; }