Widget: Homepage: Difference between revisions

From LINKS Community Center
Jump to: navigation, search
Eschmidt (talk | contribs)
No edit summary
Eschmidt (talk | contribs)
No edit summary
Line 106: Line 106:
     <script>
     <script>
         async function data() {
         async function data() {
             var query = '[[Category:Social media platform]]|?IMAGE|?Special:FilePath';
             var query = '[[Category:Social media platform]]|?IMAGE';
             var data  = await fetch('/api.php?action=ask&format=json&query=' + encodeURIComponent(query)).then(response => response.json());
             var data  = await fetch('/api.php?action=ask&format=json&query=' + encodeURIComponent(query)).then(response => response.json());
             console.log(data)
             console.log(data)
         }
         }
        data();
     </script>
     </script>



Revision as of 11:59, 2 June 2022

Development verstion of the DCT Homepage.
Not ready for production!