Difference between revisions of "Widget:Homepage"
From LINKS Community Center
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 12:59, 2 June 2022
Development verstion of the DCT Homepage.
Not ready for production!