* 李琴 <qli(a)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.
If add a record to the page table ,then the
revision,recentchange,text,pagelink table and so on will be changed.So
I
think maybe there is a easy way to do that .
Can you tell me what should I do ? Should I simply use
'insert,update,select...'words?
Sincerely looking froward you help, thanks
It is much better to use corresponding PHP class layer rather than
modify the database directly, because the DB scheme may change in the
future.
Look at the method doEdit() located in 'includes/Article.php'
Dmitriy