$wgTitle = Title::newFromText( "MyArticle" );
$wgArticle = new Article( $wgTitle );
$wgArticle->insertNewArticle( "Some text", '', false, false );
to add new articles to WIKI database,and use updateArticle() to update the
But when I use those two fuctions,and implement the program contains them.
The page always redirect to the new article page or the updated article page
How to solve this problem ?I don't want to let the page jump.
Thanks very much!
If it's a program, why are you concerned with "jumping"?
Are you running it at the command line or does it have some kind of web
How many pages are saved by your program on each batch?