MediaWiki
Gadget-breadcrumbs.js
From Dogcraft Wiki
No edit summary |
No edit summary Tag: Reverted |
||
Line 7: | Line 7: | ||
mw.notify( mw.message( 'sandbox-test' ) ); | mw.notify( mw.message( 'sandbox-test' ) ); | ||
});*/ | });*/ | ||
$('#breadcrumbs-test').text('' + mw.config.get( 'wgCanonicalNamespace' ) + '>' + mw.config.get( 'wgTitle' )); | |||
}); | }); |
Revision as of 02:47, 3 July 2021
$(document).ready(function() {
/*$("#alertbutton-domino").click(function(){
mw.messages.set({'sandbox-test': 'Testing'});
var wiki_sandbox_obj = new mw.Message( mw.messages, 'sandbox-test' );
mw.log( wiki_sandbox_obj.text() );
mw.notify( mw.message( 'sandbox-test' ) );
});*/
$('#breadcrumbs-test').text('' + mw.config.get( 'wgCanonicalNamespace' ) + '>' + mw.config.get( 'wgTitle' ));
});
This page was last modified on 3 July 2021, at 02:47. (3 months ago)