Index: trunk/extensions/Translate/tag/SpecialPageTranslation.php |
— | — | @@ -443,7 +443,7 @@ |
444 | 444 | global $wgRequest; |
445 | 445 | |
446 | 446 | // Add the section markers to the source page |
447 | | - $article = new Article( $page->getTitle() ); |
| 447 | + $article = new Article( $page->getTitle(), 0 ); |
448 | 448 | $status = $article->doEdit( |
449 | 449 | $page->getParse()->getSourcePageText(), // Content |
450 | 450 | wfMsgForContent( 'tpt-mark-summary' ), // Summary |
Index: trunk/extensions/Translate/utils/MessageWebImporter.php |
— | — | @@ -322,7 +322,7 @@ |
323 | 323 | } |
324 | 324 | |
325 | 325 | public static function doImport( $title, $message, $comment, $user = null, $editFlags = 0 ) { |
326 | | - $article = new Article( $title ); |
| 326 | + $article = new Article( $title, 0 ); |
327 | 327 | $status = $article->doEdit( $message, $comment, $editFlags, false, $user ); |
328 | 328 | $success = $status->isOK(); |
329 | 329 | |