Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Help:CharInsert

Page semi-protected
From Wikipedia, the free encyclopedia

This help page is ahow-to guide.
It explains concepts or processes used by the Wikipedia community. It is not one ofWikipedia's policies or guidelines, and may reflect varying levels ofconsensus.
For the toolbar that shows above the edit window, seeHelp: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

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: <ref></ref>

The listed symbols are:

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

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></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, seeGreek 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, seeHelp:IPA/English.

IPA

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

The listed symbols are:

t̪ d̪voiceless andvoiced dental stops
ʈ ɖvoiceless andvoiced retroflex stops
ɟ ɡ ɢvoiced palatal,velar, anduvular stops
ʡ ʔepiglottal andglottal stops
ɸ βvoiceless bilabial fricative
andvoiced bilabial fricative or approximant
θ ðvoiceless dental fricative
andvoiced dental fricative or approximant
ʃ ʒvoiceless andvoiced palato-alveolar sibilants
ɕ ʑvoiceless andvoiced alveolo-palatal sibilants
ʂ ʐvoiceless andvoiced retroflex sibilants
ç ʝvoiceless andvoiced palatal fricatives
ɣvoiced velar fricative
χ ʁvoiceless uvular fricative
andvoiced uvular fricative or approximant
ħ ʕvoiceless pharyngeal fricative
andvoiced pharyngeal fricative or approximant
ʜ ʢvoiceless epiglottal fricative
andvoiced epiglottal fricative or approximant
ɦvoiced glottal fricative
ɱ ɳ ɲ ŋ ɴlabiodental,retroflex,palatal,velar, anduvular nasals
ʋlabiodental approximant
ɹ ɻ ɰalveolar,retroflex, andvelar approximants
ʙ ⱱbilabial trill andflap
ʀuvular trill
ɾ ɽalveolar andretroflex flap
ɫvelarized or pharyngealized alveolar lateral approximant
ɬ ɮvoiceless andvoiced alveolar lateral fricative
ɺalveolar lateral flap
ɭ ʎ ʟretroflex,palatal, andvelar lateral approximants
ɥlabialized palatal approximant
ʍvoiceless labio-velar approximant
ɧsj-sound
ʼejective consonant
ɓ ɗ ʄ ɠ ʛvoiced bilabial,alveolar,palatal,velar, anduvular implosive
ʘ ǀ ǃ ǂ ǁbilabial,dental,alveolar,palatal, andlateral clicks
ɨ ʉclose central unrounded androunded vowels
ɯclose back unrounded vowel
ɪ ʏnear-close near-front unrounded androunded vowels
ʊnear-close near-back rounded vowel
øclose-mid front rounded vowel
ɘ ɵclose-mid central unrounded androunded vowels
ɤclose-mid back unrounded vowel
ə ɚmid-central vowel orschwa andr-colored schwa
ɛ œclose-mid front unrounded androunded vowels
ɜ ɝclose-mid central unrounded vowel andr-colored version
ɞclose-mid central rounded vowel
ʌ ɔclose-mid back unrounded androunded vowels
æ ɐnear-open front andcentral vowels
ɶopen front rounded vowel
ɑ ɒopen back unrounded androunded vowels
ʰ ʱaspirated andbreathy-voiced consonants
ʷlabialized consonant
ʲpalatalized consonant
ˠ ˤvelarized andpharyngealized consonants
ⁿ ˡlateral andnasal release
ˈ ˌprimary and secondary stress
ː ˑlong or half-long vowel orconsonant
̪dental consonant
{{IPA|}}generic IPA template

Math and logic

This section shows only for the JavaScript version of CharInsert.

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

Customization

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

// Add custom CharInsert entrieswindow.charinsertCustom={"Insert":' Mention: {\{u|+}}  {\{ping|+}}',};

that will append the{{u}} and{{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<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\ usefour backslashes\\\\ (this will appear as double-\ on menu display.); for example<math>\\\\scriptstyle{+}</math>.
  • Add a newline as\n
  • These available operators can be derived from the source codeMediaWiki:Gadget-charinsert-core.js: functioncreateTokens

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

// Add custom CharInsert entrieswindow.charinsertCustom={"Insert":'<code>+</code> <code><nowiki>+</nowiki></code>',};

To add entries to multiple menus:

// Add custom CharInsert entrieswindow.charinsertCustom={"Insert":' Mention: {\{u|+}}  {\{ping|+}}',"Wiki markup":' Mention: {\{u|+}}  {\{ping|+}}'};

To create a new menu, use a new name:

// Add custom CharInsert entrieswindow.charinsertCustom={'Insert2':' – — ° ′ ″ ≈ ≠ ≤ ≥ ± − × ÷ ← → · §  <code>+</code> <code><nowiki>+</nowiki></code>'};

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

Other entries that may be useful:

  • <poem>...</poem>
  • <syntaxhighlight lang="css">\n+\n</syntaxhighlight>
  • 'CSS': '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)

  • EnsurePreferences →Gadgets →site is checked. The General utilities needed by the templates and portals of this wiki project.

In the Editing tools section:

  • EnsurePreferences →Gadgets → CharInsert is checked. The tool uses JavaScript by default. Check your various JavaScript configurations atPreferences →Appearance. If an invalid entry is added, it will break all uses of JS but since JS is enabled it will not fallback toMediaWiki: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 atMediaWiki:Gadget-charinsert.js which uses JavaScript to load CharInsert fromMediaWiki:Gadget-charinsert-core.js. The Gadget is enabled by default but can be disabled throughPreferences →Gadgets → CharInsert.

If JavaScript is disabled, then theCharInsert software extension is called, which uses the symbols defined atMediaWiki: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, seeMediaWiki talk:Edittools.

General
technical help
Special
page
-related
Wikitext
Links anddiffs
Media files: images,
videos and sounds
Other graphics
Templates and
Lua modules
Data structure
HTML andCSS
Customisation
and tools
Automated editing
Retrieved from "https://en.wikipedia.org/w/index.php?title=Help:CharInsert&oldid=1327825011"
Categories:
Hidden category:

[8]ページ先頭

©2009-2026 Movatter.jp