User:Mark Hershberger/vector.js: Difference between revisions

From MWStake
Jump to navigation Jump to search
(Created page with " // Transform raw data into a query string // @param {array} printouts - example: ['?Capital of', '?Population'] // @param {object} parameters - example: {'limit': 10'} // @pa...")
 
(Blanked the page)
Tag: Blanking
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:


// Transform raw data into a query string
// @param {array} printouts - example: ['?Capital of', '?Population']
// @param {object} parameters - example: {'limit': 10'}
// @param {array|string} conditions - example: ['[[Category:Cities]]']
var query = new smw.query( "?Date", {'limit':1, "order":"descending"}, '[[Category:Events]]' ).toString();
alert(query);

Latest revision as of 15:28, 15 August 2019