« Utilisateur:Bastenbas/commons.js » : différence entre les versions
De Anekdotos
Aucun résumé des modifications |
Aucun résumé des modifications |
||
Ligne 1 : | Ligne 1 : | ||
mw.loader.using( 'mw.util' ) | //mw.loader.using( 'mw.util' ) | ||
mw.util.$content.append( '<h2>Lorem ipsum</h2><p>This section was just added to the bottom of the wiki page.</p>' ); | //mw.util.$content.append( '<h2>Lorem ipsum</h2><p>This section was just added to the bottom of the wiki page.</p>' ); | ||
//mw.util.addPortletLink("p-cactions","https://anekdotos.net/wiki/Anekdotos"+mw.config.get( 'wgCurrentDay' ),"Anekdote du jour"); | |||
mw.loader.getState( 'util.js' ) |
Version du 12 juillet 2021 à 18:19
//mw.loader.using( 'mw.util' ) //mw.util.$content.append( '<h2>Lorem ipsum</h2><p>This section was just added to the bottom of the wiki page.</p>' ); //mw.util.addPortletLink("p-cactions","https://anekdotos.net/wiki/Anekdotos"+mw.config.get( 'wgCurrentDay' ),"Anekdote du jour"); mw.loader.getState( 'util.js' )