Customization instructionsEdit

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

// Add custom Character Inserter entries
window.charinsertCustom = { 
	"Insert": ' Mention: {\{u|+}}  {\{ping|+}}', 
	"Wiki markup": ' Mention: {\{u|+}}  {\{ping|+}}' 
};

that will append the {{u}} and {{ping}} code to the indicated menus.

  • Note1: The "+" in those items, 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 templates.
  • Note2: You can also remove or change the word "Mention:" - anything that is followed by a colon seems to get turned into a heading - Use_underscores_for_multi_word_headings: like so.
  • Note3: use a dot ( . ) for any spacing needed in such things as inline css class or id assignments. For example. -- the space needed between the words span and class in <span.class="plainlinks">+</span>
  • Note4: to include a single literal \ use four backslashes ( \\\\ ) (will appear as double-\ on menu display.) E.g. <math>\\\\scriptstyle{+}</math>.

Interface-protected edit request on 31 January 2019 (problematic invisible character)Edit

I wanted to make this request separately, in case there's some technical reason for having the template the way it is.

In the 'Latin' section, there's an extra clickable space between the pair of letters Ị and ị that inserts a thinspace. When editing the .js code, this invisible character is displayed as a pink space with a red dot in the middle, where a simple space would be expected.

There's no obvious reason why thinspace should be provided here, in the middle of the alphabet, and since it's not labeled, the user can't tell what it is. I don't know if for some reason maybe the pair of letters Ị and ị won't display properly otherwise. I suggest that we might want to change

Ị ị

to

Ị ị

. The proposed change can be seen here. — kwami (talk) 19:34, 31 January 2019 (UTC)

Support Looks like it was added in Special:Diff/514433347 (by me, oops) with edit summary "Sync somewhat with MediaWiki:Edittools", which (presumably) has a thin space there for formatting purposes. There seems to be no reason for it here, it looks like it was a copy-paste error due to it being visually very similar to a standard space. Anomie 22:11, 31 January 2019 (UTC)
  Donexaosflux Talk 23:58, 31 January 2019 (UTC)
@Xaosflux: Looks like you accidentally undid it with Special:Diff/881335146. Anomie 03:14, 2 February 2019 (UTC)
@Anomie: thanks for the note, too many edit requests! Re-applied this fix. — xaosflux Talk 03:29, 2 February 2019 (UTC)
@Xaosflux: You did it again with Special:Diff/885341869... Anomie 23:59, 27 February 2019 (UTC)
  Done thanks for the note @Anomie:. — xaosflux Talk 00:21, 28 February 2019 (UTC)

Interface-protected edit request on 26 February 2019Edit

A few more additions to the Latin alphabet, in keeping with last month's. Diff here.[1] (This diff is based on the code left on my page from last month. FYI in case you've made other changes since then.)

These letters are used in a number of Native American languages. ⟨Ɂ ɂ⟩ are capital and l.c. glottal stop, equivalent in function though different in shape from the saltillo we added last month. The ⟨ɂ⟩ made headlines when a Chipewyan woman was not allowed to give her daughter a Chipewyan name, despite Chipewyan supposedly being an official language of the province, because Canadian govt computer systems didn't support this letter. So I think we should. (In Seneca, ⟨ˀ⟩ is used instead, but it's already available in the IPA section of charinsert.) ⟨꞉⟩ and ⟨ꞏ⟩ are a colon and half-colon defined as alphabetic letters rather than as a punctuation marks. They're used in a number of Native American languages for long vowels, and are distinct from the ASCII colon in the same way -- and for the same reasons -- that Hawaiian ʻokina (which we added last month) is distinct from an apostrophe/quotation mark. They're not a case pair, but rather some languages use the two-dot and some the one-dot variant. — kwami (talk) 04:04, 27 February 2019 (UTC)

  Donexaosflux Talk 12:23, 27 February 2019 (UTC)

Thanks! — kwami (talk) 20:02, 27 February 2019 (UTC)

Interface-protected edit request on 4 April 2019Edit

Please replace line 46 with

            'IPA (English)': 'ˈ ˌ  ŋ ɡ tʃ dʒ ʃ ʒ θ ð ʔ  ɑː ɒ æ aɪ aʊ ɛ ɛər+ eɪ ɪ ɪər+ iː ɔː ɔɪ oʊ ʊ ʊər+ uː ʌ ɜːr+  ə ər  ɒ̃ æ̃  {\{IPAc-en|+}} {\{IPA|+}} {\{angle.bracket|+}}',

per recent changes made to Help:IPA/English (see Help talk:IPA/English/Archive 17#Inconsistency in length marks and Help talk:IPA/English/Archive 21#RfC: Proposed deprecation of /ᵻ, ᵿ/), and the fact that {{IPA-en}} has no use in the main namespace any longer (compare Special:Search/hastemplate:IPAc-en vs. Special:Search/hastemplate:IPA-en). Nardog (talk) 22:59, 4 April 2019 (UTC)

Nardog, can you format that in the style as currently used in the source esp. with the nbsp's etc ? It's a bit difficult to figure out what has changed here for me otherwise... —TheDJ (talkcontribs) 10:44, 8 April 2019 (UTC)
@TheDJ: I honestly don't know what you mean by that, but here's the diff of the proposed change, if that helps. Nardog (talk) 13:13, 8 April 2019 (UTC)
Nardog - I've made the change requested (see the diff here). Take a look and verify that everything looks correct, and let me know. If something is incorrect, please let me know immediately. :-) Thanks - ~Oshwah~(talk) (contribs) 18:10, 10 April 2019 (UTC)
@Oshwah: Thanks, it's working properly for me. Nardog (talk) 18:13, 10 April 2019 (UTC)
Nardog - Great! Thanks for letting me know. :-) ~Oshwah~(talk) (contribs) 18:14, 10 April 2019 (UTC)

Replace with something else when editing codeEdit

When a user is editing a Lua module or a templatestyles page, the normal edittools aren't particularly useful. What do people think of replacing it with a simple "cheatsheet" for the relevant programming languages, when such a page is being edited? --Yair rand (talk) 22:35, 10 September 2019 (UTC)

Return to "Edittools" page.