Changes

Jump to navigation Jump to search
149 bytes removed ,  06:33, 13 June 2021
no edit summary
Line 71: Line 71:  
         var randomString = "<a href='http://lifeafterbob.wiki/view/"+randoms[0].title+"'>"+randoms[0].title+"</a>"
 
         var randomString = "<a href='http://lifeafterbob.wiki/view/"+randoms[0].title+"'>"+randoms[0].title+"</a>"
 
         $("#randompage").append(randomString);
 
         $("#randompage").append(randomString);
} );
  −
        var contentparams = {
  −
action: 'parse',
  −
page: random,
  −
format: 'json'
  −
};
  −
  −
  −
api.get(contentparams).done(data => {
  −
console.log(data.parse.text['*']);
   
});
 
});
 +
})
   −
 
+
console.log(random)
 
  −
 
  −
 
  −
 
  −
} )
 

Navigation menu