On Sat, 09 Jun 2007 19:36:53 -0700 Dantman dan_the_man@telus.net wrote:
I think $wgOut->redirect(); was the one which should help you. Unless you're using a call which has it's own $out object that should be the best that I can remember.
Hi Dantman,
But that takes a full URL. I want to redirect to a specific page called 'Special:PlexcelAccessDenied'. It looks like I want to do something like:
global $wgOut; $title = SpecialPage::getTitleFor( 'PlexcelAccessDenied' ); $url = $title->getFullURL(); $wgOut->redirect( $url );
Mike
Michael B Allen wrote:
Is there a routine for redirecting the client to a page by name? I would rather not have to try and build a Location header URL if there is already such a function.
Mike
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l