InfoWidgets/Advanced guide

The methods you call for the preconfigured widgets contain no active code - just data. Let's take  as an example:

stubs: function { return { type: 'api', params: { action: 'query', format: 'json', list: 'categorymembers', cmtitle: 'Category:Article_stubs', cmlimit: 10, cmsort: 'timestamp' }}; },

You can override all of these properties. In fact there's one property you must set: the selector. In the following we'll take a look at the other properties - the mandatory ones you see in the  method - and the optional ones.