Widget:CategoryPages: Difference between revisions
Jump to navigation
Jump to search
Created page with " <script type="text/javascript"> (function() { console.log('it loads?'); })(); </script>" |
No edit summary |
||
| Line 1: | Line 1: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
(function() { | (function() { | ||
console.log(' | const url = '/api.php?action=query&list=categorymembers&cmtitle=Category:Tools and Equipment in Electronics Area'; | ||
fetch(url).then(function(response) { | |||
return response.json(); | |||
}).then(function(data) { | |||
console.log(data); | |||
}).catch(function(err) { | |||
console.log('Fetch Error :-S', err); | |||
}); | |||
})(); | })(); | ||
</script> | </script> | ||
Revision as of 23:58, 23 January 2025
<script type="text/javascript">
(function() {
const url = '/api.php?action=query&list=categorymembers&cmtitle=Category:Tools and Equipment in Electronics Area';
fetch(url).then(function(response) {
return response.json();
}).then(function(data) {
console.log(data);
}).catch(function(err) {
console.log('Fetch Error :-S', err);
});
})();
</script>