Alexis Moinet wrote:
if ( $auto ) { $wgOut->redirect( $titleObj->escapeFullURL() ); $wgOut->addMeta( 'http:Refresh', '10;url=' . $titleObj->escapeFullURL() ); }
you can also simply reduce the waiting time (10 sec) by changing the value in $wgOut->addMeta( 'http:Refresh', '10;url=' . $titleObj->escapeFullURL() );
Changing the 10 sec to 0 sec will work like a redirect (in fact, it's a html redirect).