<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://boxrec.com/wiki/index.php?action=history&amp;feed=atom&amp;title=User%3AJohn%2Fcommon.js</id>
	<title>User:John/common.js - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://boxrec.com/wiki/index.php?action=history&amp;feed=atom&amp;title=User%3AJohn%2Fcommon.js"/>
	<link rel="alternate" type="text/html" href="https://boxrec.com/wiki/index.php?title=User:John/common.js&amp;action=history"/>
	<updated>2026-06-11T08:52:46Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.2</generator>
	<entry>
		<id>https://boxrec.com/wiki/index.php?title=User:John/common.js&amp;diff=818508&amp;oldid=prev</id>
		<title>John: Created page with &quot;var customizeToolbar = function () {  $( &#039;#wpTextbox1&#039; ).wikiEditor( &#039;addToToolbar&#039;, { 	&#039;section&#039;: &#039;emoticons&#039;, 	&#039;group&#039;: &#039;faces&#039;, 	&#039;tools&#039;: { 		&#039;smile&#039;: { 			label: &#039;Smile!&#039;,...&quot;</title>
		<link rel="alternate" type="text/html" href="https://boxrec.com/wiki/index.php?title=User:John/common.js&amp;diff=818508&amp;oldid=prev"/>
		<updated>2019-08-28T13:54:28Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;var customizeToolbar = function () {  $( &amp;#039;#wpTextbox1&amp;#039; ).wikiEditor( &amp;#039;addToToolbar&amp;#039;, { 	&amp;#039;section&amp;#039;: &amp;#039;emoticons&amp;#039;, 	&amp;#039;group&amp;#039;: &amp;#039;faces&amp;#039;, 	&amp;#039;tools&amp;#039;: { 		&amp;#039;smile&amp;#039;: { 			label: &amp;#039;Smile!&amp;#039;,...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;var customizeToolbar = function () {&lt;br /&gt;
&lt;br /&gt;
$( &amp;#039;#wpTextbox1&amp;#039; ).wikiEditor( &amp;#039;addToToolbar&amp;#039;, {&lt;br /&gt;
	&amp;#039;section&amp;#039;: &amp;#039;emoticons&amp;#039;,&lt;br /&gt;
	&amp;#039;group&amp;#039;: &amp;#039;faces&amp;#039;,&lt;br /&gt;
	&amp;#039;tools&amp;#039;: {&lt;br /&gt;
		&amp;#039;smile&amp;#039;: {&lt;br /&gt;
			label: &amp;#039;Smile!&amp;#039;, // or use labelMsg for a localized label, see above&lt;br /&gt;
			type: &amp;#039;button&amp;#039;,&lt;br /&gt;
			icon: &amp;#039;//upload.wikimedia.org/wikipedia/commons/thumb/a/a4/Gnome-face-smile.svg/22px-Gnome-face-smile.svg.png&amp;#039;,&lt;br /&gt;
			action: {&lt;br /&gt;
				type: &amp;#039;encapsulate&amp;#039;,&lt;br /&gt;
				options: {&lt;br /&gt;
					pre: &amp;quot;:)&amp;quot; // text to be inserted&lt;br /&gt;
				}&lt;br /&gt;
			}&lt;br /&gt;
		}&lt;br /&gt;
	}&lt;br /&gt;
} );&lt;br /&gt;
&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
/* Check if view is in edit mode and that the required modules are available. Then, customize the toolbar … */&lt;br /&gt;
if ( [ &amp;#039;edit&amp;#039;, &amp;#039;submit&amp;#039; ].indexOf( mw.config.get( &amp;#039;wgAction&amp;#039; ) ) !== -1 ) {&lt;br /&gt;
	mw.loader.using( &amp;#039;user.options&amp;#039; ).then( function () {&lt;br /&gt;
		// This can be the string &amp;quot;0&amp;quot; if the user disabled the preference ([[phab:T54542#555387]])&lt;br /&gt;
		if ( mw.user.options.get( &amp;#039;usebetatoolbar&amp;#039; ) == 1 ) {&lt;br /&gt;
			$.when(&lt;br /&gt;
				mw.loader.using( &amp;#039;ext.wikiEditor&amp;#039; ), $.ready&lt;br /&gt;
			).then( customizeToolbar );&lt;br /&gt;
		}&lt;br /&gt;
	} );&lt;br /&gt;
}&lt;/div&gt;</summary>
		<author><name>John</name></author>
	</entry>
</feed>