User:BabylonAS/common.js

$(function { 'use strict';

// Modify the text added by the signature button. if ($.inArray(mw.config.get('wgAction'), ['edit', 'submit']) > -1) { mw.loader.using('ext.wikiEditor.toolbar', function {		var $button = $('#wikiEditor-section-main > .group-insert > a[rel="signature"]')		var action = $button.data('action');		action.options.pre = '— ' + '';		$button.data('action', action);	}); }

});