[Mediawiki-api] How does API work?
Herulee
heramb.forums at googlemail.com
Wed Feb 3 08:26:56 UTC 2010
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 at 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 at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
>
>
--
View this message in context: http://old.nabble.com/How-does-API-work--tp27421771p27432902.html
Sent from the WikiMedia API mailing list archive at Nabble.com.
More information about the Mediawiki-api
mailing list