Changes

Jump to navigation Jump to search
no edit summary
Line 147: Line 147:  
  */
 
  */
 
function quickpresets_addstringstatement(qid, pid, pname, str) {
 
function quickpresets_addstringstatement(qid, pid, pname, str) {
 +
mw.notify("adding str "+qid+" "+pid+" "+pname+" "+str)
 
     var claim = {
 
     var claim = {
 
id: (new wb.utilities.ClaimGuidGenerator("q" + qid)).newGuid(),
 
id: (new wb.utilities.ClaimGuidGenerator("q" + qid)).newGuid(),
Line 184: Line 185:  
    if(typeqid === null) // the null prescription for when there is no "instance of"
 
    if(typeqid === null) // the null prescription for when there is no "instance of"
 
        {
 
        {
        mw.notify("exit 3")
   
            quickpresets_addinterface(qid, prop);
 
            quickpresets_addinterface(qid, prop);
 
        }
 
        }
 
     }
 
     }
 
     else {
 
     else {
        mw.notify("exit 4")
   
    if ( typeqid === 0 ) {
 
    if ( typeqid === 0 ) {
 
    // the 0 prescription, applicable to all items which are instance of something
 
    // the 0 prescription, applicable to all items which are instance of something

Navigation menu