Widget: DCTList: Difference between revisions

From LINKS Community Center
Jump to: navigation, search
Eschmidt (talk | contribs)
No edit summary
Eschmidt (talk | contribs)
No edit summary
Line 98: Line 98:
     async function getDcts() {
     async function getDcts() {
         const dctQuery = '[[Category:Disaster Community Technology]]' +
         const dctQuery = '[[Category:Disaster Community Technology]]' +
                        '|limit=500' +
                         '|?Image' +
                         '|?Image' +
                         '|?Data Sources' +
                         '|?Data Sources';
                        '|limit=500';
         const dctQueryUrl = '/api.php?action=ask&format=json&query=' + encodeURIComponent(dctQuery);
         const dctQueryUrl = '/api.php?action=ask&format=json&query=' + encodeURIComponent(dctQuery);
         const dctResponse = await fetch(dctQueryUrl).then(response => response.json());
         const dctResponse = await fetch(dctQueryUrl).then(response => response.json());

Revision as of 14:02, 9 June 2022

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