r96130 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r96129‎ | r96130 | r96131 >
Date:17:32, 2 September 2011
Author:preilly
Status:ok
Tags:
Comment:
fix article instantiation call
Modified paths:
  • /trunk/extensions/MobileFrontend/MobileFrontend.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MobileFrontend/MobileFrontend.php
@@ -337,7 +337,7 @@
338338 $message = htmlspecialchars( $wgRequest->getText( 'message', '' ) );
339339
340340 $title = Title::newFromText( 'MobileFrontend Extension Feedback' );
341 - $article = new Article( $title );
 341+ $article = new Article( $title, 0 );
342342 $rawtext = $article->getRawText();
343343 $rawtext .= "\n== {$subject} == \n {$message} ~~~~ \n <small>User agent: {$userAgent}</small> ";
344344 $article->doEdit( $rawtext, '' );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r96129fix for bug 30551 - Create a simple feedback option for mobile userspreilly17:20, 2 September 2011

Status & tagging log