User:DAlangi (WMF)/common.js

/** * Testing out some functionalities */ mw.loader.using(	'oojs-ui',	'oojs-ui-core',	'oojs-ui.styles.icons-editing-core',	'mediawiki.widgets.DateInputWidget',	'jquery' ).done( function {	$( function  { var fieldset = new OO.ui.FieldsetLayout( {			items: [				new OO.ui.FieldLayout( new mw.widgets.DateInputWidget( {						inputFormat: 'DD.MM.YYYY',						displayFormat: 'Do [of] MMMM [anno Domini] YYYY'					} ), {						align: 'top', label: 'Select date (custom formats)' }				)			]		} );		$( '#mw-content-text' ).append( fieldset.$element ); } ); } );