Project:Support desk/Sections/Misc

''This page was formerly used as a subpage on the Support desk. It includes the history of some threads archived elsewhere.''

How do I use continue with mw.Api?
How do I get a list of all users with an edit? This doesn't work and I can't find documentation on how to make the continue keep going while there are still things to get. We're using MW1.23.11 LTS

new mw.Api.get( { action: 'query',  list: 'allusers',  auprop: 'groups|editcount|registration',  aulimit: 'max',  auwitheditsonly: true,  continue: '' } ).done( function( gotUsers ) {  for ( i = 0; i < gotUsers.query.allusers.length; i++ ) {    console.log( '%d: %s', i, gotUsers.query.allusers[ i ].name );  } } );

This only gets the first 500 or so. How do I get all 4,000? Oak Island Kid (talk) 03:45, 10 November 2015 (UTC)