Changes

Jump to navigation Jump to search
no edit summary
Line 22: Line 22:  
if ( typeof mw.config.values.wbEntity !=  "undefined" ) // if we are on the page of a loaded entity
 
if ( typeof mw.config.values.wbEntity !=  "undefined" ) // if we are on the page of a loaded entity
 
{
 
{
 +
console.dir(obj);
 
let obj = JSON.parse ( mw.config.values.wbEntity );
 
let obj = JSON.parse ( mw.config.values.wbEntity );
 
if ( typeof check( obj, INSTANCE_OF_PROPERTY ) != "undefined" ) // if the entity has any "instance of" claim
 
if ( typeof check( obj, INSTANCE_OF_PROPERTY ) != "undefined" ) // if the entity has any "instance of" claim
editors
3,524

edits

Navigation menu