summaryrefslogtreecommitdiff
path: root/resources/src/jquery/jquery.confirmable.mediawiki.js
blob: daf23a99c01c8a25fb4873d6dab4f8c0e9c87b4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*!
 * jQuery confirmable plugin customization for MediaWiki
 *
 * This file serves to inject our localised messages into it.
 */

( function ( mw, $ ) {
	$.fn.confirmable.defaultOptions.i18n = {
		space: mw.message( 'word-separator' ).text(),
		confirm: mw.message( 'confirmable-confirm', mw.user ).text(),
		yes: mw.message( 'confirmable-yes' ).text(),
		no: mw.message( 'confirmable-no' ).text(),
		yesTitle: undefined,
		noTitle: undefined
	};
}( mediaWiki, jQuery ) );