Widget: Homepage: Difference between revisions
From LINKS Community Center
Eschmidt (talk | contribs) No edit summary |
Eschmidt (talk | contribs) No edit summary |
||
Line 105: | Line 105: | ||
<script> | <script> | ||
var query = '[[Category:Social media platform]]|?IMAGE|?Special:FilePath'; | async function data() { | ||
var query = '[[Category:Social media platform]]|?IMAGE|?Special:FilePath'; | |||
var data = await fetch('/api.php?action=ask&format=json&query=' + encodeURIComponent(query)).then(response => response.json()); | |||
console.log(data) | |||
} | |||
</script> | </script> | ||
Revision as of 11:59, 2 June 2022
Development verstion of the DCT Homepage.
Not ready for production!