Difference between revisions of "User:Abel/experimaintal.js"
Jump to navigation
Jump to search
m |
m |
||
Line 12: | Line 12: | ||
var h = new idxdbContainer( mw ); | var h = new idxdbContainer( mw ); | ||
h.EnqueuePDIO('update record', Date.now(), Date.now()); | h.EnqueuePDIO('update record', Date.now(), Date.now()); | ||
+ | |||
+ | var yli = await h.EnqueuePDIO('update record', '1558206055343'); | ||
+ | console.log(yli); |
Revision as of 01:56, 19 May 2019
console.log('Reporting in');
var wbproc = new wbContainer(mw, mwEStruct['wbXntity']);
// Check whether the current page is in a relation of interest to an id of interest
var current_entity = wbproc.checkentity( relational_id_list );
// This should return an object of relations and ids
console.log("test: ")
console.log(current_entity);
var h = new idxdbContainer( mw );
h.EnqueuePDIO('update record', Date.now(), Date.now());
var yli = await h.EnqueuePDIO('update record', '1558206055343');
console.log(yli);