User:21lima/common.js

// Add custom CharInsert entries window.charinsertCustom = { 'Insert2': ' – — ° ′ ″ ≈ ≠ ≤ ≥ ± − × ÷ ← → · §     ', 'CSS': ' update.obsolete.HTML style="+" margin:.1em.auto; text-align:.center; margin-left:.auto; margin-right:.auto; ' };

window.popupPreviewKillTemplates = false; window.popupPreviewRawTemplates = false;

importScript("User:PleaseStand/segregate-refs.js"); var SegregateRefsJsAllowConversion = true;

importScript('User:Anomie/previewtemplatelastmod.js'); // Linkback: User:Anomie/previewtemplatelastmod.js importScript('User:Anomie/linkclassifier.js'); // Linkback: User:Anomie/linkclassifier.js importStylesheet('User:Anomie/linkclassifier.css'); // Linkback: User:Anomie/linkclassifier.css

importScript('User:Trappist the monk/HarvErrors.js'); importScript('MediaWiki:ListrefErrors.js'); importScript('User:Gadget850/RefErrors.js'); importScript('User:Gadget850/EquationRefErrors.js');

importScript('User:Ohconfucius/script/formatgeneral.js'); //User:Ohconfucius/script/formatgeneral.js importScript('User:Ohconfucius/script/MOSNUM dates.js'); //User:Ohconfucius/script/MOSNUM dates.js importScript('User:Ohconfucius/script/Common Terms'); //User:Ohconfucius/script/Common Terms importScript('User:Ohconfucius/script/Sources'); //User:Ohconfucius/script/Sources importScript('User:Ohconfucius/script/flagcruft.js'); //User:Ohconfucius/script/flagcruft.js importScript('User:Ohconfucius/EngvarB'); //User:Ohconfucius/EngvarB

if ( typeof $ != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) { $(document).ready( function {		$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { 'section': 'advanced', 'group': 'format', 'tools': { 'code nowiki': { label: 'CodeNowiki', type: 'button', icon: 'https://upload.wikimedia.org/wikipedia/commons/7/73/Button_code_nowiki.png', action: { type: 'encapsulate', options: { pre: " " }					}				}			}		} );		$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { 'section': 'advanced', 'group': 'format', 'tools': { 'poem': { label: 'Poem', type: 'button', icon: 'https://upload.wikimedia.org/wikipedia/commons/c/cd/Button_poem.png', action: { type: 'encapsulate', options: { pre: " ", post: " " }					}				}			}		} );		$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { 'section': 'advanced', 'group': 'format', 'tools': { 'comment': { label: 'HTML comment', type: 'button', icon: 'http://upload.wikimedia.org/wikipedia/commons/e/e7/Toolbaricon_hidden.png', action: { type: 'encapsulate', options: { pre: "" }					}				}			}		} );		$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { 'section': 'advanced', 'group': 'format', 'tools': { 'blockquote': { label: 'Blockquote', type: 'button', icon: 'http://upload.wikimedia.org/wikipedia/commons/4/4e/Toolbaricon_quote.png', action: { type: 'encapsulate', options: { pre: " ", post: " " }					}				}			}		} );		$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { 'section': 'advanced', 'group': 'format', 'tools': { 'transclude': { label: 'Transclude', type: 'button', icon: 'http://upload.wikimedia.org/wikipedia/commons/2/20/Toolbaricon_transclude.png', action: { type: 'encapsulate', options: { pre: "" }					}				}			}		} );	} ); }