Hi,
I have already got the article data from the wikipedia and I stored it
on my computer .Now I want to add the article to the local wiki. I have
done a lot of reaserches and I know that there are a lot of things to do.
If add a record to the page table ,then the
* 李琴 q...@ica.stc.sh.cn [Tue, 20 Oct 2009 22:01:00 +0800]:
Hi,
I have already got the article data from the wikipedia and I
stored
it
on my computer .Now I want to add the article to the local wiki. I
have
done a lot of reaserches and I know that there are a lot of things to
do.
李琴 wrote:
Hi,
I have already got the article data from the wikipedia and I stored it
on my computer .Now I want to add the article to the local wiki. I have
done a lot of reaserches and I know that there are a lot of things to do.
If add a record to the page table ,then the
2009/10/21 Platonides platoni...@gmail.com:
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