Hi, How can i get "new users" from wikipedi api? What request should i write? https://en.wikipedia.org/w/api.php
https://www.mediawiki.org/wiki/API:Logevents letype=newusers
https://en.wikipedia.org/w/api.php?action=query&list=logevents&letyp...
On Sat, Mar 14, 2015 at 8:55 PM, ArtGiray . giraybal@gmail.com wrote:
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 Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
You can filter list=logevents with letype=newusers, e.g.: https://en.wikipedia.org/w/api.php?action=query&list=logevents&letyp... 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 Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
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 ricordisamoa@openmailbox.org:
You can filter list=logevents with letype=newusers, e.g.:
https://en.wikipedia.org/w/api.php?action=query&list=logevents&letyp... 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 listMediawiki-api@lists.wikimedia.orghttps://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
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 <ricordisamoa@openmailbox.org mailto:ricordisamoa@openmailbox.org>:
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 Mediawiki-api@lists.wikimedia.org <mailto:Mediawiki-api@lists.wikimedia.org> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
_______________________________________________ Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org <mailto:Mediawiki-api@lists.wikimedia.org> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
http://en.wikipedia.org/w/api.php
is it possible a single query that return "page creator" of given title?
So i want give a "title" name and query should return the creator of the page?
(i am new at lists.wikimedia.org,if i use wrong here, sorry)
2015-03-14 23:34 GMT+02:00 Ricordisamoa ricordisamoa@openmailbox.org:
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 ricordisamoa@openmailbox.org:
You can filter list=logevents with letype=newusers, e.g.:
https://en.wikipedia.org/w/api.php?action=query&list=logevents&letyp... 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 listMediawiki-api@lists.wikimedia.orghttps://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Mediawiki-api mailing listMediawiki-api@lists.wikimedia.orghttps://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Depends on how you define page creator. If you are talking about the fist person to edit a page, you can use prop=revisions with a the sort direction oldest first.
On Wed, Mar 18, 2015 at 6:13 PM, ArtGiray . giraybal@gmail.com wrote:
http://en.wikipedia.org/w/api.php
is it possible a single query that return "page creator" of given title?
So i want give a "title" name and query should return the creator of the page?
(i am new at lists.wikimedia.org,if i use wrong here, sorry)
2015-03-14 23:34 GMT+02:00 Ricordisamoa ricordisamoa@openmailbox.org:
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 ricordisamoa@openmailbox.org:
You can filter list=logevents with letype=newusers, e.g.:
https://en.wikipedia.org/w/api.php?action=query&list=logevents&letyp... 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 listMediawiki-api@lists.wikimedia.orghttps://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Mediawiki-api mailing listMediawiki-api@lists.wikimedia.orghttps://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
On 18/03/15 23:13, ArtGiray . wrote:
http://en.wikipedia.org/w/api.php
is it possible a single query that return "page creator" of given title?
So i want give a "title" name and query should return the creator of the page?
(i am new at lists.wikimedia.org http://lists.wikimedia.org,if i use wrong here, sorry)
There are many ways to understand what is the "creator", and odd cases for that. The person who edited the oldest non-deleted revision currently at that title is probably the most suited approximation.
You can obtain it with a query like:
http://en.wikipedia.org/w/api.php?action=query&prop=revisions&titles...
Yes i mean creator = "The person who edited the oldest non-deleted revision"
http://en.wikipedia.org/w/api.php?action=query&prop= revisions&titles=Main%20Page&rvprop=user&rvdir=newer&rvlimit=1&rawcontinue
and the query is that exactly i want, thanks.
2015-03-19 0:43 GMT+02:00 Platonides platonides@gmail.com:
On 18/03/15 23:13, ArtGiray . wrote:
http://en.wikipedia.org/w/api.php
is it possible a single query that return "page creator" of given title?
So i want give a "title" name and query should return the creator of the page?
(i am new at lists.wikimedia.org http://lists.wikimedia.org,if i use wrong here, sorry)
There are many ways to understand what is the "creator", and odd cases for that. The person who edited the oldest non-deleted revision currently at that title is probably the most suited approximation.
You can obtain it with a query like:
http://en.wikipedia.org/w/api.php?action=query&prop= revisions&titles=Main%20Page&rvprop=user&rvdir=newer& rvlimit=1&rawcontinue
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
mediawiki-api@lists.wikimedia.org