The editing API <https://www.mediawiki.org/wiki/API:Edit> can also create pages. You may want to pass the "createonly" parameter to ensure you won't edit existing pages by mistake. Some libraries <https://www.mediawiki.org/wiki/API:Client_code> exist that ease the work by flawlessly handling the tedious parts. If you're developing a JavaScript gadget, then mw.Api <https://doc.wikimedia.org/mediawiki-core/master/js/#%21/api/mw.Api> is for you. Otherwise, have a look at Pywikibot <https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Pywikibot>! (disclaimer: I am among its contributors)

Il 14/03/2015 22:16, ArtGiray . ha scritto:
Thanks for your examples.

(sorry for poor english)
And is it possible to create new page with api?
I didn't find any create page, category, vs with api on documantation?
Can anyone give a create page link to api?

2015-03-14 21:45 GMT+02:00 Ricordisamoa <[email protected] <mailto:[email protected]>>:

    You can filter list=logevents with letype=newusers, e.g.:
    
https://en.wikipedia.org/w/api.php?action=query&list=logevents&letype=newusers
    Read the logevents documentation
    <https://en.wikipedia.org/w/api.php?action=help&modules=query%2Blogevents>
    for additional options.

    Il 14/03/2015 19:55, ArtGiray . ha scritto:
    Hi,
    How can i get "new users" from wikipedi api?
    What request should i write?
    https://en.wikipedia.org/w/api.php


    _______________________________________________
    Mediawiki-api mailing list
    [email protected]  
<mailto:[email protected]>
    https://lists.wikimedia.org/mailman/listinfo/mediawiki-api


    _______________________________________________
    Mediawiki-api mailing list
    [email protected]
    <mailto:[email protected]>
    https://lists.wikimedia.org/mailman/listinfo/mediawiki-api




_______________________________________________
Mediawiki-api mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

_______________________________________________
Mediawiki-api mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to