- // link to related articles if supported
- $related = '';
- if ( $result->hasRelated() ) {
- $stParams = array_merge(
- $this->powerSearchOptions(),
- array(
- 'search' => $this->msg( 'searchrelated' )->inContentLanguage()->text() .
- ':' . $title->getPrefixedText(),
- 'fulltext' => $this->msg( 'search' )->text()
- )
- );
-
- $related = ' -- ' . Linker::linkKnown(
- $this->getPageTitle(),
- $this->msg( 'search-relatedarticle' )->text(),
- array(),
- $stParams
- );
- }
-