李琴 wrote:
> hi,
> I use
> $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 
> articles.
> 
> 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 
> immediately .
> 
> How to solve this problem ?I don't want  to let the page jump.
> 
> Thanks very much!
> 
>  vanessa lee

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
interface?
How many pages are saved by your program on each batch?


_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to