Widget:Mymodules: verschil tussen versies

Uit basis
Naar navigatie springen Naar zoeken springen
Geen bewerkingssamenvatting
Geen bewerkingssamenvatting
Regel 14: Regel 14:
</noinclude><includeonly><div id="mymodules"></div>
</noinclude><includeonly><div id="mymodules"></div>
<script type="text/javascript">
<script type="text/javascript">
mw.loader.using( ['mediawiki.util', 'jquery'], function () {
     function get_mymodules(dest) {
     function get_mymodules(dest) {
       $.get("https://transparent-spruce.glitch.me/users/" + mw.config.get("wgUserId") + "/events", (res) => {
       $.get("https://transparent-spruce.glitch.me/users/" + mw.config.get("wgUserId") + "/events", (res) => {
Regel 21: Regel 23:
     }
     }
     get_mymodules(document.getElementById("mymodules"));   
     get_mymodules(document.getElementById("mymodules"));   
});
</script>
</script>
<noscript>Please enable JavaScript. </noscript></includeonly>
<noscript>Please enable JavaScript. </noscript></includeonly>

Versie van 29 dec 2019 20:48

This widget given an overview of your module status

Created by User:Eelco

Using this widget

For information on how to use this widget, see ???

text= kind= (string/identifier)

Copy to your site

To use this widget on your site, just install MediaWiki Widgets extension and copy the full source code of this page to your wiki as page Widget:Mymodules.