Index: trunk/extensions/MobileFrontend/MobileFrontend.body.php |
— | — | @@ -443,7 +443,9 @@ |
444 | 444 | self::$device = $device->format( $formatName ); |
445 | 445 | $this->setDefaultLogo(); |
446 | 446 | |
447 | | - $this->contentFormat = self::parseContentFormat( self::$device['view_format'] ); |
| 447 | + // honor useformat=mobile-wap if it's set, otherwise determine by device |
| 448 | + $viewFormat = ( $this->getUseFormat() == 'mobile-wap' ) ? 'mobile-wap' : self::$device['view_format']; |
| 449 | + $this->contentFormat = self::parseContentFormat( $viewFormat ); |
448 | 450 | |
449 | 451 | if ( $mobileAction == 'leave_feedback' ) { |
450 | 452 | echo $this->renderLeaveFeedbackXHTML(); |