148 if ( isset( $result->b_namespace ) ) {
151 $qi = $this->reallyGetQueryInfo(
157 ->caller( __METHOD__ )
162 $titleA = Title::makeTitle( $result->namespace, $result->title );
166 return '<del>' . $linkRenderer->makeLink( $titleA,
null, [], [
'redirect' =>
'no' ] ) .
'</del>';
174 $this->contentHandlerFactory->getContentHandler( $titleA->getContentModel() )
175 ->supportsDirectEditing()
177 $edit = $linkRenderer->makeKnownLink(
179 $this->
msg(
'parentheses', $this->
msg(
'editlink' )->text() )->text(),
181 [
'action' =>
'edit' ]
190 'dir' => $contentLanguage->getDir(),
191 'lang' => $contentLanguage->getHtmlCode(),
193 $linkA = Html::rawElement(
'bdi', $bdiAttrs, $linkRenderer->makeKnownLink(
197 [
'redirect' =>
'no' ]
200 $titleB = Title::makeTitle( $deep->b_namespace, $deep->b_title );
202 $titleBFrag = Title::makeTitle( $deep->b_namespace, $deep->b_title, $deep->b_fragment );
203 $linkB = Html::rawElement(
'bdi', $bdiAttrs, $linkRenderer->makeKnownLink(
205 $titleBFrag->getFullText(),
207 [
'redirect' =>
'no' ]
210 $titleC = Title::makeTitle(
216 $linkC = Html::rawElement(
'bdi', $bdiAttrs,
217 $linkRenderer->makeKnownLink( $titleC, $titleC->getFullText() )
220 return (
"{$linkA} {$edit} {$arrow} {$linkB} {$arrow} {$linkC}" );
235 if ( !$res->numRows() ) {
239 $batch = $this->linkBatchFactory->newLinkBatch();
240 foreach ( $res as $row ) {
241 $batch->add( $row->namespace, $row->title );
242 if ( isset( $row->b_namespace ) ) {
244 $batch->add( $row->b_namespace, $row->b_title );
246 if ( isset( $row->c_interwiki ) && !$row->c_interwiki ) {
248 $batch->add( $row->c_namespace, $row->c_title );