Changes

Jump to navigation Jump to search
m
no edit summary
Line 24: Line 24:  
console.log( "it's a storable personal data" )
 
console.log( "it's a storable personal data" )
 
var qId = obj[wbEStruct["qIDPropName"]];
 
var qId = obj[wbEStruct["qIDPropName"]];
var api2 = new mw.Api();
+
api2.get( {
+
 
    action: 'expandtemplates',
+
                                console.log(qId);
    text: '{{ButtonMailtoAccess|'+qId+'}}'
+
 
} ).done( function ( data ) {
  −
    mw.notify( $(data.expandtemplates["*"] ) , { autoHide: false } );
  −
} );
   
}
 
}
 
}
 
}
530

edits

Navigation menu