Change-Id: I97def12da054db7204955b95c3d590a3ab24ba55
$title = Title::makeTitleSafe( $row->page_namespace, $row->page_title );
if( !$title ) {
+ wfProfileOut( __METHOD__ );
return Html::rawElement( 'li', array(),
Html::element( 'span', array( 'class' => 'mw-invalidtitle' ),
Linker::getInvalidTitleDescription( $this->getContext(), $row->page_namespace, $row->page_title ) ) ) . "\n";
$title = Title::makeTitleSafe( $row->pt_namespace, $row->pt_title );
if( !$title ) {
+ wfProfileOut( __METHOD__ );
return Html::rawElement( 'li', array(),
Html::element( 'span', array( 'class' => 'mw-invalidtitle' ),
Linker::getInvalidTitleDescription( $this->getContext(), $row->pt_namespace, $row->pt_title ) ) ) . "\n";