r101086 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r101085‎ | r101086 | r101087 >
Date:23:21, 27 October 2011
Author:preilly
Status:ok
Tags:
Comment:
force format to mobile after feedback
Modified paths:
  • /trunk/extensions/MobileFrontend/MobileFrontend.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MobileFrontend/MobileFrontend.php
@@ -523,7 +523,7 @@
524524 $article->doEdit( $rawtext, '' );
525525 }
526526
527 - $location = str_replace( '&mobileaction=leave_feedback_post', '', $wgRequest->getFullRequestURL() . '&noticeid=1' );
 527+ $location = str_replace( '&mobileaction=leave_feedback_post', '', $wgRequest->getFullRequestURL() . '&noticeid=1&useformat=mobile' );
528528 $location = $this->getRelativeURL( $location );
529529 $wgRequest->response()->header( 'Location: ' . $location );
530530 wfProfileOut( __METHOD__ );

Follow-up revisions

RevisionCommit summaryAuthorDate
r101087mft r101086preilly23:22, 27 October 2011

Status & tagging log