Użytkownik:Ostrzyciel nożyczek/common.js: Różnice pomiędzy wersjami
Z Nonsensopedii, polskiej encyklopedii humoru
(nowa strona) Znacznik: edytor źródłowy |
M Znacznik: edytor źródłowy |
||
Linia 5: | Linia 5: | ||
] |
] |
||
}); |
}); |
||
$( function () { |
|||
if( skin === 'monobook' ) { |
|||
addPortletLink( 'p-tb', wgServer + wgScriptPath + '/index.php?title=Nonsensopedia:ListFiles', 'List Files'); |
|||
} else { |
|||
$( '#my-tools-menu' ).prepend( '<li class="custom"><a href="' + wgServer + wgScriptPath + '/index.php?title=Nonsensopedia:ListFiles" rel="nofollow">List Files</a></li>' ); |
|||
} |
|||
} ); |
Wersja z 15:52, 25 lip 2017
importArticles({
type: 'script',
articles: [
'u:dev:ListFiles/code.js',
]
});
$( function () {
if( skin === 'monobook' ) {
addPortletLink( 'p-tb', wgServer + wgScriptPath + '/index.php?title=Nonsensopedia:ListFiles', 'List Files');
} else {
$( '#my-tools-menu' ).prepend( '<li class="custom"><a href="' + wgServer + wgScriptPath + '/index.php?title=Nonsensopedia:ListFiles" rel="nofollow">List Files</a></li>' );
}
} );