2009/10/21 Platonides <[email protected]>: > If you're working inside mediawiki php. > > $wgTitle = Title::newFromText( "MyArticle" ); > $wgArticle = new Article( $wgTitle ); > $wgArticle->insertNewArticle( "Some text", '', false, false ); > > > If you don't want to work with php, use maintenance/importTextFile.php > Please use other variable names than $wgTitle and $wgArticle to reduce confusion with the global variables by the same name.
Roan Kattouw (Catrope) _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
