MediaWiki talk:Edittools
![]() | MediaWiki:Edittools is the message which appears below the edit window. If a browser has JavaScript enabled, then MediaWiki:Edittools.js inserts a compact version (from MediaWiki:Gadget-charinsert-core.js) in its place. This interface message or skin may also be documented on MediaWiki.org or translatewiki.net. The page forms part of the MediaWiki interface, and can only be edited by administrators and interface editors. To request a change to the page, add {{edit fully-protected}} to this page, followed by a description of your request. Consider announcing discussions you add here at Wikipedia:Village pump (technical) to bring more people to the discussion. |
![]() | To help centralize discussions and keep related topics together, the following pages redirect here: |
This page has archives. Sections older than 120 days may be automatically archived by Lowercase sigmabot III when more than 4 sections are present. |
Customization instructions
[edit]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>
.
Disable MediaWiki:Edittools?
[edit]Even on JS-disabled browsers, MediaWiki:Edittools is not displayed at all because MediaWiki:Common.css has #editpage-specialchars { display: none; }
(since 2012, though I don't know why it was added). And on JS-enabled browsers, the tools are powered by the gadget.
The existence of the customized message only seems to cause confusion like in the edit request above. If we disable the message by blanking it, the rule in common.css can be removed as well. – SD0001 (talk) 06:43, 13 February 2025 (UTC)
- It's supposed to be unhidden by MediaWiki:Gadget-charinsert-styles.css for people with the gadget enabled, even if they have JS disabled, but it seems that got broken at some point. Special:Diff/917632462 seems suspicious. Anomie⚔ 12:57, 13 February 2025 (UTC)
Numero and trademark symbols
[edit]![]() | This edit request has been answered. Set the |answered= parameter to no to reactivate your request. |
MOS:NUMERO prohibits use of № and MOS:TMRULES discourages the use of ® and ™ if at all possible. Can these be removed from the Symbols lines of MediaWiki:Edittools and MediaWiki:Gadget-charinsert-core.js? Thanks! -- Beland (talk) 01:21, 23 April 2025 (UTC)
Done * Pppery * it has begun... 01:36, 23 April 2025 (UTC)
- Thanks again! -- Beland (talk) 02:02, 23 April 2025 (UTC)
Descriptor under preference/gadgets: Link
[edit]the preferences/gadgets descriptor for edittools is as follows:
(D) CharInsert: add a toolbar under the edit window for quickly inserting wiki markup and special characters (troubles?)
I propose a link be added to CharInsert
at the beginning, best candidate I think being the relevant help page at Help:CharInsert. And perhaps change "troubles?" to "report issues" or something similarly more descriptive? But that's less important. And "troubles?" is certainly cuter haha, "village pump for your troubles?"