if ( $this->including() ) {
$out->addParserOutputContent( $pager->getBodyOutput() );
} else {
- $out->addHTML( $pager->getForm() );
+ $pager->getForm();
$out->addParserOutputContent( $pager->getFullOutput() );
}
}
if ( $search !== '' && !$this->getConfig()->get( 'MiserMode' ) ) {
$this->mSearch = $search;
- $nt = Title::newFromURL( $this->mSearch );
+ $nt = Title::newFromText( $this->mSearch );
if ( $nt ) {
$dbr = wfGetDB( DB_SLAVE );
}
if ( $this->mSearch !== '' ) {
- $nt = Title::newFromURL( $this->mSearch );
+ $nt = Title::newFromText( $this->mSearch );
if ( $nt ) {
$dbr = wfGetDB( DB_SLAVE );
$conds[] = 'LOWER(' . $prefix . '_name)' .