[Mediawiki-l] How to avoid intermediate page

Alexis Moinet alexis.moinet at fpms.ac.be
Fri Apr 20 08:46:24 UTC 2007


Alexis Moinet wrote :
> Open includes/OutputPage.php and find the function returnToMain
> 
> change the line :
> 
> if ( $auto ) {
>      $wgOut->redirect( $titleObj->escapeFullURL() );
>      /*$wgOut->addMeta( 'http:Refresh', '10;url=' . $titleObj->escapeFullURL() );*/
> }
> 

Sorry, didn't test this far enough, looks like there is a bug when logging-out : the "user links" are still in "the logged-in config" while I'm obviously logged out (since I can't edit pages when logged out and it tells me so)

Mmmmh might need some "refresh-links" code that I'm not aware of...






More information about the MediaWiki-l mailing list