User:SilverLocust/sandbox.js: Difference between revisions

Content deleted Content added
np
fix pid
Line 9:
prop: 'info',
},
api = new mw.Api();,
pid;
api.get( params ).done( function ( data ) {
var pages = data.query.pages,
p;
for ( p in pages ) {
var pid = p;
}
} );