Widget:Granularity: Difference between revisions
Jump to navigation
Jump to search
Matt Pijoan (talk | contribs) Created page with "<includeonly> <script type="text/javascript"> if(wgAction === "view"){ console.log(wgCategories[0]); } var api = new mw.Api(); ..." |
Matt Pijoan (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
$(document).ready(function(){ | |||
if(wgAction === "view"){ | if(wgAction === "view"){ | ||
console.log(wgCategories[0]); | console.log(wgCategories[0]); | ||
Line 12: | Line 13: | ||
console.log( data ); | console.log( data ); | ||
} ); | } ); | ||
}); | |||
</script> | </script> | ||
</includeonly> | </includeonly> |