- $ns = $wgLang->getNamespaces() ;
- $from = $skin->makeKnownLink( $result->cur_title ,'', 'redirect=no' );
- $edit = $skin->makeBrokenLink( $result->cur_title , "(".wfMsg("qbedit").")" , 'redirect=no');
+ $ns = $wgContLang->getNamespaces() ; /* not used, why bother? */
+ $from = $skin->makeKnownLink( $result->page_title ,'', 'redirect=no' );
+ $edit = $skin->makeBrokenLink( $result->page_title , "(".wfMsg("qbedit").")" , 'redirect=no');