used quickEdit()
authorTim Starling <tstarling@users.mediawiki.org>
Wed, 2 Jun 2004 14:53:35 +0000 (14:53 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Wed, 2 Jun 2004 14:53:35 +0000 (14:53 +0000)
maintenance/archives/moveCustomMessages.inc

index 4360113..abab1a5 100644 (file)
@@ -108,8 +108,9 @@ function moveCustomMessages( $phase ) {
                                        $text = $parser->unstrip( $text, $stripState );
                                        $text = $parser->unstripNoWiki( $text, $stripState );
                                        if ( $text != $row->cur_text ) {
-                                               wfUpdateArray( 'cur', array( 'cur_text' => $text ), array( 'cur_id' => $id ) );
                                                print "$pdbk\n";
+                                               $art = new Article( $source );
+                                               $art->quickEdit( $text );
                                        } else {
                                                print "($pdbk)\n";
                                        }