User:Technical 13/SandBox/Gadget-BugStatusUpdate.js/sandbox.js: Difference between revisions

Content deleted Content added
Technical 13 (talk | contribs)
m opps.
Technical 13 (talk | contribs)
wth...
 
(One intermediate revision by the same user not shown)
Line 64:
}
}
error: function ( foo, data, error ) {
/* Using this string with 49741 being a ticket I can't see:
https://bugzilla.wikimedia.org/jsonrpc.cgi?method=Bug.get&id=158&params=[{%20%22ids%22:%20[35810,35909,300,48745,49741,54598],%22include_fields%22:[%22last_change_time%22,%22status%22,%20%22id%22,%20%22summary%22]}]
Line 70:
{"error":{"message":"You are not authorized to access bug #49741. To see this bug, you must first log in to an account with the appropriate permissions.","code":102},"id":"158","result":null}
*/
console.error( 'RawFoo: %o\nRaw data: %o\nError: %o', foo, data, error );
console.error( 'id array: %o', ids );
}
});