hello,
Sorry to post a very basic question as I am new to API
I couldnt get the overall idea of using API as I went through the mediawiki API.
I still wonder how does it work in general?
I have a xml file and want to export to wiki using api
I want to use this API through a programming language VB
I still wonder how would it be possible? and how do we display pages using api?
Thanx in advacne
2010/2/2 Herulee heramb.forums@googlemail.com:
hello,
Sorry to post a very basic question as I am new to API
I couldnt get the overall idea of using API as I went through the mediawiki API.
I still wonder how does it work in general?
You can request information by sending HTTP requests to http://en.wikipedia.org/w/api.php
I have a xml file and want to export to wiki using api
See http://www.mediawiki.org/wiki/API:Edit_-_Import
I want to use this API through a programming language VB
I still wonder how would it be possible? and how do we display pages using api?
See http://www.mediawiki.org/wiki/API:FAQ for some frequently used requests. That FAQ page is not really finished yet but it contains some useful information already.
Roan Kattouw (Catrope)
Hello,
Thanx for the quick reply
So to disply the wiki page we need to transform or map xml contents to wki markup language
right ?
Roan Kattouw-2 wrote:
2010/2/2 Herulee heramb.forums@googlemail.com:
hello,
Sorry to post a very basic question as I am new to API
I couldnt get the overall idea of using API as I went through the mediawiki API.
I still wonder how does it work in general?
You can request information by sending HTTP requests to http://en.wikipedia.org/w/api.php
I have a xml file and want to export to wiki using api
See http://www.mediawiki.org/wiki/API:Edit_-_Import
I want to use this API through a programming language VB
I still wonder how would it be possible? and how do we display pages using api?
See http://www.mediawiki.org/wiki/API:FAQ for some frequently used requests. That FAQ page is not really finished yet but it contains some useful information already.
Roan Kattouw (Catrope)
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Hello,
Thanx for the rquick reply
If it is not possible to use API though another language
then is it better to map my contents from xml to wikitext markup language which is standard for wiki?
I also dot understand how would we store the pages and related data in databse?
Roan Kattouw-2 wrote:
2010/2/2 Herulee heramb.forums@googlemail.com:
hello,
Sorry to post a very basic question as I am new to API
I couldnt get the overall idea of using API as I went through the mediawiki API.
I still wonder how does it work in general?
You can request information by sending HTTP requests to http://en.wikipedia.org/w/api.php
I have a xml file and want to export to wiki using api
See http://www.mediawiki.org/wiki/API:Edit_-_Import
I want to use this API through a programming language VB
I still wonder how would it be possible? and how do we display pages using api?
See http://www.mediawiki.org/wiki/API:FAQ for some frequently used requests. That FAQ page is not really finished yet but it contains some useful information already.
Roan Kattouw (Catrope)
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
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)
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?
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
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
2010/2/3 Herulee heramb.forums@googlemail.com:
Hello,
Thanx for the reply and help
So stpes are
- Get the xml and tranform it into wikitex
- Use API through PHP to create pages and store the data in the database
- http://localhost/w/index.php to access pages
Is it right?
Yes.
Do you know where can I find small example using API to store data and creat pages..
http://www.mediawiki.org/wiki/API:Edit_-_Create%26Edit_pages
Roan Kattouw (Catrope)
Thanx for the reply
Roan Kattouw-2 wrote:
2010/2/3 Herulee heramb.forums@googlemail.com:
Hello,
Thanx for the reply and help
So stpes are
- Get the xml and tranform it into wikitex
- Use API through PHP to create pages and store the data in the database
- http://localhost/w/index.php to access pages
Is it right?
Yes.
Do you know where can I find small example using API to store data and creat pages..
http://www.mediawiki.org/wiki/API:Edit_-_Create%26Edit_pages
Roan Kattouw (Catrope)
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
mediawiki-api@lists.wikimedia.org