Help:CharInsert#Customization

{{pp-vand|small=yes}}

{{Wikipedia how to|H:CI}}

{{for|the toolbar that shows above the edit window|Help:Edit toolbar}}

CharInsert is an editing tool that shows under the edit window and allows the insertion of various characters and symbols that may be difficult to add from the keyboard.

Menus

{{hatnote|These menus are copied from the interface pages and may not match precisely if those pages are changed.}}

= Insert =

Copy and paste: – — ° ′ ″ ≈ ≠ ≤ ≥ ± − × ÷ ← → · §   Sign your posts on talk pages: ~~~~   Cite your sources:

The listed symbols are:

class="wikitable"

| –

en dashnot equal to÷obelus
em dashless than or equal toleft arrow
°degreegreater than or equal toright arrow
prime±plus-minus sign·interpunct
double primeminus sign§section sign
approximately equal×multiplication sign

= [[Help:Wikitext|Wiki markup]] =

{{}}   {{{}}}   |   []     Category:   #REDIRECT   &nbsp;   <s></s>   <sup></sup>   <sub></sub>   <code></code>   <pre></pre>   <blockquote></blockquote>   <ref></ref> <ref name="" />   {{Reflist}}   <references />   <includeonly></includeonly>   <noinclude></noinclude>   {{DEFAULTSORT:}}   <nowiki></nowiki>   <!-- -->   <span class="plainlinks"></span>

= Symbols =

Symbols: ~ | ¡ ¿ † ‡ ↔ ↑ ↓ • ¶   # ∞   ‘ ’ “ ” ‹› «»   ¤ ₳ ฿ ₵ ¢ ₡ ₢ $ ₫ ₯ € ₠ ₣ ƒ ₴ ₭ ₤ ℳ ₥ ₦ № ₧ ₰ £ ៛ ₨ ₪ ৳ ₮ ₩ ¥   ♠ ♣ ♥ ♦   ♭ ♯ ♮   © ® ™

= Latin =

A a Á á À à  â Ä ä Ǎ ǎ Ă ă Ā ā à ã Å å Ą ą Æ æ Ǣ ǣ   B b   C c Ć ć Ċ ċ Ĉ ĉ Č č Ç ç   D d Ď ď Đ đ Ḍ ḍ Ð ð   E e É é È è Ė ė Ê ê Ë ë Ě ě Ĕ ĕ Ē ē Ẽ ẽ Ę ę Ẹ ẹ Ɛ ɛ Ǝ ǝ Ə ə   F f   G g Ġ ġ Ĝ ĝ Ğ ğ Ģ ģ   H h Ĥ ĥ Ħ ħ Ḥ ḥ   I i İ ı Í í Ì ì Î î Ï ï Ǐ ǐ Ĭ ĭ Ī ī Ĩ ĩ Į į Ị ị   J j Ĵ ĵ   K k Ķ ķ   L l Ĺ ĺ Ŀ ŀ Ľ ľ Ļ ļ Ł ł Ḷ ḷ Ḹ ḹ   M m Ṃ ṃ   N n Ń ń Ň ň Ñ ñ Ņ ņ Ṇ ṇ Ŋ ŋ   O o Ó ó Ò ò Ô ô Ö ö Ǒ ǒ Ŏ ŏ Ō ō Õ õ Ǫ ǫ Ọ ọ Ő ő Ø ø Œ œ   Ɔ ɔ   P p   Q q   R r Ŕ ŕ Ř ř Ŗ ŗ Ṛ ṛ Ṝ ṝ   S s Ś ś Ŝ ŝ Š š Ş ş Ș ș Ṣ ṣ ß   T t Ť ť Ţ ţ Ț ț Ṭ ṭ Þ þ   U u Ú ú Ù ù Û û Ü ü Ǔ ǔ Ŭ ŭ Ū ū Ũ ũ Ů ů Ų ų Ụ ụ Ű ű Ǘ ǘ Ǜ ǜ Ǚ ǚ Ǖ ǖ   V v   W w Ŵ ŵ   X x   Y y Ý ý Ŷ ŷ Ÿ ÿ Ỹ ỹ Ȳ ȳ   Z z Ź ź Ż ż Ž ž   ß Ð ð Þ þ Ŋ ŋ Ə ə   {{Unicode|}}

= Greek =

Ά ά Έ έ Ή ή Ί ί Ό ό Ύ ύ Ώ ώ   Α α Β β Γ γ Δ δ   Ε ε Ζ ζ Η η Θ θ   Ι ι Κ κ Λ λ Μ μ   Ν ν Ξ ξ Ο ο Π π   Ρ ρ Σ σ ς Τ τ Υ υ   Φ φ Χ χ Ψ ψ Ω ω   {{Polytonic|}}

For tables showing Greek letters with all existing combinations of diacritics, see {{section link|Greek diacritics|Unicode}}.

= Cyrillic =

А а Б б В в Г г   Ґ ґ Ѓ ѓ Д д Ђ ђ   Е е Ё ё Є є Ж ж   З з Ѕ ѕ И и І і   Ї ї Й й Ј ј К к   Ќ ќ Л л Љ љ М м   Н н Њ њ О о П п   Р р С с Т т Ћ ћ   У у Ў ў Ф ф Х х   Ц ц Ч ч Џ џ Ш ш   Щ щ Ъ ъ Ы ы Ь ь   Э э Ю ю Я я  

= Hebrew =

This section shows only for the JavaScript version of CharInsert.

אבגדהוזחטיכךלמםנןסעפףצץקרשת ׳ ״ װױײ

= Arabic =

This section shows only for the JavaScript version of CharInsert.

ا ﺁ ب ت ث ج ح خ د ذ ر ز س ش ص ض ط ظ ع غ ف ق ك ل م ن ه ة و ي ى ء أ إ ؤ ئ Transliteration: ʾ ṯ ḥ ḫ ẖ ḏ š ṣ ḍ ṭ ẓ ʿ ġ ẗ

= IPA (English) =

This section shows only for the JavaScript version of CharInsert.

ˈ ˌ ŋ ɡ tʃ dʒ ʃ ʒ θ ð ʔ iː ɪ uː ʊ ʌ ɜr eɪ ɛ æ oʊ ɒ ɔː ɔɪ ɔr ɑː ɑr aɪ aʊ ə ər ɨ ɵ ʉ {{angle.bracket|}} {{IPAc-en|}} {{IPA-en|}} {{IPA|}}

For the pronunciation of these symbols, see Help:IPA/English.

= IPA =

t̪ d̪ ʈ ɖ ɟ ɡ ɢ ʡ ʔ   ɸ β θ ð ʃ ʒ ɕ ʑ ʂ ʐ ç ʝ ɣ χ ʁ ħ ʕ ʜ ʢ ɦ   ɱ ɳ ɲ ŋ ɴ   ʋ ɹ ɻ ɰ   ʙ ⱱ ʀ ɾ ɽ   ɫ ɬ ɮ ɺ ɭ ʎ ʟ   ɥ ʍ ɧ   ʼ   ɓ ɗ ʄ ɠ ʛ   ʘ ǀ ǃ ǂ ǁ   ɨ ʉ ɯ   ɪ ʏ ʊ   ø ɘ ɵ ɤ   ə ɚ   ɛ œ ɜ ɝ ɞ ʌ ɔ   æ   ɐ ɶ ɑ ɒ   ʰ ʱ ʷ ʲ ˠ ˤ ⁿ ˡ   ˈ ˌ ː ˑ ̪   {{IPA|}}

The listed symbols are:

{{col-begin}}

{{col-break}}

class="wikitable"

| t̪ d̪

voiceless and voiced dental stops
ʈ ɖvoiceless and voiced retroflex stops
ɟ ɡ ɢvoiced palatal, velar, and uvular stops
ʡ ʔepiglottal and glottal stops
ɸ βvoiceless bilabial fricative
and voiced bilabial fricative or approximant
θ ðvoiceless dental fricative
and voiced dental fricative or approximant
ʃ ʒvoiceless and voiced palato-alveolar sibilants
ɕ ʑvoiceless and voiced alveolo-palatal sibilants
ʂ ʐvoiceless and voiced retroflex sibilants
ç ʝvoiceless and voiced palatal fricatives
ɣvoiced velar fricative
χ ʁvoiceless uvular fricative
and voiced uvular fricative or approximant
ħ ʕvoiceless pharyngeal fricative
and voiced pharyngeal fricative or approximant
ʜ ʢvoiceless epiglottal fricative
and voiced epiglottal fricative or approximant
ɦvoiced glottal fricative
ɱ ɳ ɲ ŋ ɴlabiodental, retroflex, palatal, velar, and uvular nasals
ʋlabiodental approximant
ɹ ɻ ɰalveolar, retroflex, and velar approximants
ʙ ⱱbilabial trill and flap
ʀuvular trill
ɾ ɽalveolar and retroflex flap
ɫvelarized or pharyngealized alveolar lateral approximant
ɬ ɮvoiceless and voiced alveolar lateral fricative
ɺalveolar lateral flap
ɭ ʎ ʟretroflex, palatal, and velar lateral approximants
ɥlabialized palatal approximant

{{col-break}}

class="wikitable"
ʍvoiceless labio-velar approximant
ɧsj-sound
ʼejective consonant
ɓ ɗ ʄ ɠ ʛvoiced bilabial, alveolar, palatal, velar, and uvular implosive
ʘ ǀ ǃ ǂ ǁbilabial, dental, alveolar, palatal, and lateral clicks
ɨ ʉclose central unrounded and rounded vowels
ɯclose back unrounded vowel
ɪ ʏnear-close near-front unrounded and rounded vowels
ʊnear-close near-back rounded vowel
øclose-mid front rounded vowel
ɘ ɵclose-mid central unrounded and rounded vowels
ɤclose-mid back unrounded vowel
ə ɚmid-central vowel or schwa and r-colored schwa
ɛ œclose-mid front unrounded and rounded vowels
ɜ ɝclose-mid central unrounded vowel and r-colored version
ɞclose-mid central rounded vowel
ʌ ɔclose-mid back unrounded and rounded vowels
æ ɐnear-open front and central vowels
ɶopen front rounded vowel
ɑ ɒopen back unrounded and rounded vowels
ʰ ʱaspirated and breathy-voiced consonants
ʷlabialized consonant
ʲpalatalized consonant
ˠ ˤvelarized and pharyngealized consonants
ⁿ ˡlateral and nasal release
ˈ ˌprimary and secondary stress
ː ˑlong or half-long vowel or consonant
̪dental consonant
{{IPA
} || generic IPA template

|}

{{col-end}}

= Math and logic =

This section shows only for the JavaScript version of CharInsert.

− × ÷ ⋅ ° ∗ ∘ ± ∓ ≤ ≥ ≠ ≡ ≅ ≜ ≝ ≐ ≃ ≈ ⊕ ⊗ ⇐ ⇔ ⇒ ∞ ← ↔ → ≪ ≫ ∝ √ ∤ ≀ ◅ ▻ ⋉ ⋊ ⋈ ∴ ∵ ↦ ¬ ∧ ∨ ⊻ ∀ ∃ ∈ ∉ ∋ ⊆ ⊈ ⊊ ⊂ ⊄ ⊇ ⊉ ⊋ ⊃ ⊅ ∪ ∩ ∑ ∏ ∐ ′ ∫ ∬ ∭ ∮ ∇ ∂ ∆ ∅ ℂ ℍ ℕ ℙ ℚ ℝ ℤ ℵ ⌊ ⌋ ⌈ ⌉ ⊤ ⊥ ⊢ ⊣ ⊧ □ ∠ ⟨ ⟩ {{math|}} {{mvar|}} {{frac|}} {{sfrac|}}

Customization

To add custom entries, adapt this code, and place it in your common.js:

// Add custom CharInsert entries

window.charinsertCustom = {

"Insert": ' Mention: {\{u|+}} {\{ping|+}}',

};

that will append the {{tl|u}} and {{tl|ping}} code to the Insert menu.

  • In this example, "Insert": is the name of the menu the new markup is being added to; it is enclosed in quotes" followed by a colon :; to create a new menu simply use a new name
  • In this example, Mention: is a heading within the entries; anything ending in a colon is a heading; use an underscore _ to replace a space
  • The content within the single quotes ' ' is the new markup; use a dot . to replace a space; the entry may need to be enclosed within {{tag|nowiki}} to prevent it from being parsed
  • + is where your cursor will appear after the text is inserted, or if you already have text highlighted when you click them then that text will be properly surrounded by the markup
  • For multiple menus, end all lines with a comma , except for the last line
  • To include a single literal \ use four backslashes \\\\ (this will appear as double-\ on menu display.); for example \\\\scriptstyle{+}.
  • Add a newline as \n
  • These available operators can be derived from the source code MediaWiki:Gadget-charinsert-core.js: function createTokens

To add multiple entries to a menu, enclose them all in the single quotes and separate them with a space:

// Add custom CharInsert entries

window.charinsertCustom = {

"Insert": '+ +',

};

To add entries to multiple menus:

// Add custom CharInsert entries

window.charinsertCustom = {

"Insert": ' Mention: {\{u|+}} {\{ping|+}}',

"Wiki markup": ' Mention: {\{u|+}} {\{ping|+}}'

};

To create a new menu, use a new name:

// Add custom CharInsert entries

window.charinsertCustom = {

'Insert2': ' – — ° ′ ″ ≈ ≠ ≤ ≥ ± − × ÷ ← → · § + +'

};

To copy entries from one menu to another, browse to MediaWiki:Edittools and click on edit. You can copy any entry and paste it into your customized menu.

Other entries that may be useful:

  • \n+\n
  • 'CSS': ' style="+" margin:.1em.auto; text-align:.center; margin-left:.auto; margin-right:.auto; width:."+%"; background-color:.#+; '

Issues

If CharInsert does not show:

In the Interface section: (Wikisource)

  • Ensure {{myprefs|Gadgets|site}} is checked. The General utilities needed by the templates and portals of this wiki project.

In the Editing tools section:

  • Ensure {{myprefs|Gadgets|CharInsert}} is checked. The tool uses JavaScript by default. Check your various JavaScript configurations at {{myprefs|appearance}}. If an invalid entry is added, it will break all uses of JS but since JS is enabled it will not fallback to MediaWiki:Edittools. Personal JS pages will now show an error on save if there is an invalid entry, so an attempt to edit and save will point out issues.

Technical

If JavaScript is enabled, then CharInsert is added as a Gadget defined at MediaWiki:Gadget-charinsert.js which uses JavaScript to load CharInsert from MediaWiki:Gadget-charinsert-core.js. The Gadget is enabled by default but can be disabled through {{myprefs|gadgets|CharInsert}}.

If JavaScript is disabled, then the CharInsert software extension is called, which uses the symbols defined at MediaWiki:Edittools. Not all of the symbol sets are included in MediaWiki:Edittools. This mode is also used if the bits server fails to yield all the needed Javascript and CSS.

For discussion, see MediaWiki talk:Edittools.

{{Wikipedia technical help|collapsed}}

Category:Wikipedia edit window help

Category:Wikipedia editing