https://bugzilla.wikimedia.org/show_bug.cgi?id=35635

       Web browser: ---
             Bug #: 35635
           Summary: Loss of newuser/create API components with recent
                    upgrade
           Product: MediaWiki
           Version: 1.19
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: API
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---


In version 1.18 the query
 
https://wikisource.org/w/api.php?action=query&list=logevents&leaction=newusers/create&leprop=user%7Ctimestamp&lelimit=500
would allow one to filter out new users who were created on wiki, from those
that are automatically created.  There looks to have been a change to the API
with the introduction of "letype" though not all the functionality seems to
flow through.

The closest that I can get the query would now be 
 
?action=query&list=logevents&leprop=type|user|timestamp&lelimit=5&letype=newusers
which shows

<api>
  <query>
    <logevents>
      <item type="newusers" action="autocreate" user="Rhy0614"
timestamp="2012-04-01T10:12:21Z" />
      <item type="newusers" action="autocreate" user="Kratzbaum"
timestamp="2012-04-01T10:09:42Z" />
      <item type="newusers" action="autocreate" user="Mogadir"
timestamp="2012-04-01T10:04:32Z" />
      <item type="newusers" action="autocreate" user="Yuvalbleich"
timestamp="2012-04-01T09:53:55Z" />
      <item type="newusers" action="create" user="MacixeXopuji"
timestamp="2012-04-01T09:36:22Z" />
    </logevents>
  </query>
</api>

One cannot filter on
  &leaction=create
and it seems to be that all the newuser actions are non-existent, and the
instructions would seem to show that too.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to