Index: trunk/extensions/MobileFrontend/MobileFrontend.php |
— | — | @@ -49,7 +49,7 @@ |
50 | 50 | $wgHooks['SkinTemplateOutputPageBeforeExec'][] = array( &$wgExtMobileFrontend, 'addMobileFooter' ); |
51 | 51 | |
52 | 52 | class ExtMobileFrontend { |
53 | | - const VERSION = '0.5.20'; |
| 53 | + const VERSION = '0.5.21'; |
54 | 54 | |
55 | 55 | /** |
56 | 56 | * @var DOMDocument |
— | — | @@ -265,6 +265,8 @@ |
266 | 266 | |
267 | 267 | if ( $mAction == 'opt_in_cookie' ) { |
268 | 268 | $this->setOptInOutCookie( '1' ); |
| 269 | + $location = Title::newMainPage()->getFullURL(); |
| 270 | + header( 'Location: ' . $location ); |
269 | 271 | } |
270 | 272 | |
271 | 273 | if ( $mAction == 'opt_out_cookie' ) { |