Hello,
Thanx for the reply and help
So stpes are
1. Get the xml and tranform it into wikitex 2. Use API through PHP to create pages and store the data in the database 3. http://localhost/w/index.php to access pages
Is it right?
Do you know where can I find small example using API to store data and creat pages..
Roan Kattouw-2 wrote:
2010/2/2 Herulee heramb.forums@googlemail.com:
Hello,
Thanx for the rquick reply
If it is not possible to use API though another language
It is. There's client libraries for the API in lost of languages.
then is it better to map my contents from xml to wikitext markup language which is standard for wiki?
Yes, if you wanna store stuff in a wiki it has to be in wikitext. Doesn't matter whether you use the API or not.
I also dot understand how would we store the pages and related data in databse?
You can use either the user interface or the API for that.
To clarify: the API doesn't offer any special features. It offers mostly the same features as the normal graphical interface, but in a format that's more convenient for bots and other automated clients.
Roan Kattouw (Catrope)
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api