MediaWiki talk:Edittools

Add topic
Active discussions


Would it behoove us to organize the diacritics more according to what they are instead of how common they are? I have a font that contains most of the diacritics for almost every Latin letter, but to put them in the current framework would greatly expand the size of each display to the point where I don't think it would be that benefit.

I mean, most people know what the diacritics are that they need (tildes are commonly known, as are accents, which I think would suffice for most people). But given the fact that we might get works (like older encyclopedia articles) where extended sets of diacritics are needed (for the sake of transliterating foreign words), it would be much more beneficial to have a wide possibility of diacritical marks available, but I think it would be more beneficial to list the diacritics individually. Otherwise, a lot of screen space will be taken up with the insertable characters, and no one will actually be able to see the edit box.—Zhaladshar (Talk) 20:54, 13 April 2006 (UTC)

The current layout was organised with the experience of one who very rarely uses special characters, and then only the most common ones. Feel free to suggest another organisation. // Pathoschild (admin / talk) 20:59, 13 April 2006 (UTC)

Additional charactersEdit

Can we please have in addition the rest of the characters that were one the old special character bar. These are typographical and mathematical symbols, fractions and Hebrew. Can we also have Cyrillic, please. These are all needed for working on EB19112. Thanks Apwoolrich 07:32, 15 April 2006 (UTC)

I've ported over the math, and I've added some Cyrillic. I'll add the lowercase later. I've only added the Russian portion of the Cyrillic alphabet, so if you need me to I can add the rest (I'm not sure how much is needed and I didn't want to make it overly confusing).—Zhaladshar (Talk) 22:30, 15 April 2006 (UTC)
Thanks, that looks fine. I can't see much more being needed - maybe Arabic at some stage. The main thing, I feel, is to have a prominent note somewhere that editors can request addditional character sets for a particular purpose. While we are on this. I mentioned on Scriptorium a while back about the need to have a smaller character set when using TeX. The present one is grossly oversize for the face we use for the rest of Wikisource, and the type style does not match, being a serifed face, not sans-serif. IMHO is makes pages very ugly especially on EB1911 where it will be needed a lot. Apwoolrich 11:13, 16 April 2006 (UTC)

Feature bloatEdit

Please note that useability decreases as the size of this message increases. The dynamic menu will not work until the entire message is loaded by the browser, which may result in annoying sudden changes in page size. Further, users lacking javascript support still see the entire message. We should try to avoid adding in uncommon character sets to alleviate this problem. // Pathoschild (admin / talk) 14:42, 16 April 2006 (UTC) there a way to customize the edittools for each particular user? I mean, I don't have to worry about spending much time loading the edittools menu (wonderful broadband) or about ever not using Javascript. That said, I know there are many people who at least have to worry about one or the other. Also, most people do not need every single character I'd like to have at my disposal, so putting it all into the main one seems to add more complications for people who aren't familiar with the symbols. If there's anyway I could tweak my Monobook, that'd be great.—Zhaladshar (Talk) 15:06, 16 April 2006 (UTC)
Yes, it should be customisable with relative ease. I'll look into it later, and note it at WS:TOOLS when it works. // [admin] Pathoschild (talk/map) 15:11, 16 April 2006 (UTC)

At Least Add Wiki MarkupEdit

Where is the Wiki Markup? That is the main feature I use in Wikipedia's edittools. BRI70 15:27, 13 July 2007 (UTC)


On this page, can someone add a noinclude block explaining that this works when you add the addCharSubsetMenu() function to your MediaWiki:Common.js? I spend months trying to figure this out ;-) Thanks BRI70 17:37, 13 July 2007 (UTC)

Hebrew vowels and cantillationEdit

I am proofreading Gesenius' Hebrew Grammar. It requires typing Hebrew with vowel points (niqqud) and cantillation marks. While it is reasonably easy to type Niqqud with a regular Hebrew keyboard, typing cantillation with such a keyboard is impossible.

In any case, both niqqud and cantillation should be added to this tool.

Since both kinds of characters are not regular letters but diacritical marks that can be combined with any letter, they cannot be entered with a regular <charinsert> tag. In the Hebrew Wikipedia it was done with <span class="nikud">; see he:MediaWiki:Edittools.

A couple of remarks about the implementation in the Hebrew Wikipedia: "Nikud" is an alternate spelling of "niqqud"; it's OK to use this spelling here, too. The Hebrew Wikipedia Edittools page does not include cantillation, because it is very rarely needed for typing an encyclopedia; however, the book i am typing is a grammar of biblical Hebrew and it requires cantillation.

Of course, i shall gladly provide any technical assistance.

Thanks in advance. --Amir E. Aharoni (talk) 13:30, 18 December 2008 (UTC)

Does the Hebrew Character Picker have all the cantillation marks you need? If so, it might be easiest to just assemble the words you need there and then copy and paste them here. That's how I intend to add Burmese characters when I get around to Grammar of the Burmese Language and Grammatical Notices of the Burmese Language. Angr 13:45, 18 December 2008 (UTC)
I think it would be a good idea to add those, as well. If you tell me everything I need to add (and how to do it) I can put them in for you.—Zhaladshar (Talk) 13:57, 18 December 2008 (UTC)
Angr - That Hebrew character picker is very useful and it seems to include all that i need. Thanks for the link! I'll use it until it is added here.
Zhaladshar - If it would be a simple alphabet, i'd just paste the code here. The trouble is that <charinsert> appears to take simple characters or their combinations and inserts them as they are. I need to display a combination, e.g. ב֣‎, but to insert only the diacritical sign below the letter. It's next to impossible to display these diacritics without the letter. I think that this problem is solved by <span class="nikud">, which you can see at the Hebrew Wikipedia and i don't know whether it is available in the English Wikisource. --Amir E. Aharoni (talk) 14:06, 18 December 2008 (UTC)
So I tried to add the Hebrew pointing to Edittools, but I can't make them "clickable." I also added the code to MediaWiki:Common.css, but that doesn't seem to help. Does anyone know what I'm doing wrong?—Zhaladshar (Talk) 18:19, 18 December 2008 (UTC)
I don't know. I sent ‏a request for help to the techies who made it work in he.wikipedia. --Amir E. Aharoni (talk) 21:20, 18 December 2008 (UTC)
I've gotten them to be clickable, but I don't know enough about what it should do to thoroughly test it; although with only minor changes from what's on he: to make it work here, I guess it should be OK. -Steve Sanbeg (talk) 22:06, 18 December 2008 (UTC)
Looks like it works. Yonidebest (talk) 11:55, 19 December 2008 (UTC)

Hebrew cursor problemEdit

It doesn't work correctly. The vowel point is added correctly, but after it is added the cursor moves back to where it was. For example, let's take the word שבּת. Let's mark it like this:

  • ש = S
  • ב = B
  • ת = T

The dot inside ב is called a "dagesh"; i'll mark it as a period - .

The cursor = |

I type SBT and the cursor is now after the T: SBT| שבת

Now i move back one letter and the cursor is after the B: SB|T

Now i click the letter that is supposed to add the dagesh (it's the first one on the right.) The dagesh is added: SB|.T שבּ‏ת

Notice, however, that the cursor is still between the B and the dagesh, even though it is supposed to be after the dagesh. How do i know that it is before the dagesh? If i press the Del key, the the dagesh disappears - שבת. If i press the backspace, then the B disappears and the dagesh moves to the S - שּ‏ת. This is definitely wrong.

In he.wikipedia it works correctly: SB.|T

Any ideas? --Amir E. Aharoni (talk) 13:55, 19 December 2008 (UTC)

This occurs with all Hebrew punctuation marks, not only the "Dagesh". I found that this occurs in too, on my IE6. Yonidebest (talk) 16:43, 19 December 2008 (UTC)
Yes, it indeed occurs with all the vowels, dagesh was just a simple example.
And yes, i'm silly - this bug affects he.wikipedia, too. For some reason i assumed that it works and didn't even bother to check it. --Amir E. Aharoni (talk) 17:12, 19 December 2008 (UTC)
One ting I don't quite understand; what is the advantage of this javascript solution over just using charinsert? I added one example with charinsert in the menu, and the differences seem fairly minor, and in some cases may be desirable. Sp I'm not sure whether it's better to leave the scripts in, or try to port these to charinsert. -Steve Sanbeg (talk) 20:00, 19 December 2008 (UTC)
I see the בִ that you added, but it is not clickable. Maybe charinsert can't make a combining diacritic clickable. --Amir E. Aharoni (talk) 12:24, 21 December 2008 (UTC)
Filed a bug about it: MediaZilla:16900 --Amir E. Aharoni (talk) 09:03, 6 January 2009 (UTC)

Half ringsEdit

Is it possible to add these characters:

  • ʿ (left half ring)
  • ʾ (right half ring)

They are needed for easy typing of Hebrew transcription in Gesenius' Hebrew Grammar and possibly in other books about Semitic languages.

They can go to the "Other diacritics" section.

Thanks in advance. --Amir E. Aharoni (talk) 09:03, 6 January 2009 (UTC)

I've added them. Are these rings combining rings (like you add the letter and then click on one of these rings to add it to the letter much in the same way you add the Hebrew pointing to the consonants) or are they just plain old rings that don't go over any letter (such as to be used for transliterating aleph or ayin into English)?—Zhaladshar (Talk) 15:27, 6 January 2009 (UTC)
Thanks, it seems to work correctly. Now i can (more or less) easily write my name in Semitic transcription: ʾAmir ʾElišaʿ ʾAharoni. (Oh well, i ignore vowel length, but who cares.)
AFAIK, these characters are not actually combining. You can see an example of their usage in w:Ayin. --Amir E. Aharoni (talk) 16:30, 6 January 2009 (UTC)
Okay. I only ask because there are combining rings and I wanted to make sure we were using the "regular" ones.—Zhaladshar (Talk) 17:02, 6 January 2009 (UTC)

Breaking spaces in scriptEdit

When I add commands with spaces to the file <section begin=+ /> the script sees it as bits <section and begin=+ and />. Yet at enWP, there is no such issue. I see that rather than edittools they have edittools.js and that seems to handle spaces as periods and underscores. Could whatever magic is applied to that file, please be done here. Thanks. billinghurst (talk) 15:08, 6 November 2009 (UTC)

I'm not sure what magic they've done at wikipedia, but I've fixed it in the usual way. -Steve Sanbeg (talk) 23:10, 29 November 2009 (UTC)

Make the collapser JS a gadget?Edit

I find that the JS that collapses this table down to a menu to be less useful than the whole table, as it takes a lot longer to flip between the menus than to just select out of a big table. However, I do appreciate that a lot of users will prefer the saving in screen space it affords.

How about we put the relevant bit of Common.js in MediaWiki:Gadget-EdittoolsCollapser.js (description page: MediaWiki:Gadget-EdittoolsCollapser), and then make it a default gadget, so knuckle-draggers like me who'd rather just have the plain ol' table can turn it off, but it doesn't affect users who like it as it is?

Definition line:


Then you could remove the JS from Common.js and hand over control to the gadget. Inductiveloadtalk/contribs 04:03, 13 April 2011 (UTC)

Moving it to a gadget would make me happier too. John Vandenberg (chat) 05:11, 13 April 2011 (UTC)
Sounds feasible to me. Which way are proposing to make the default? Is it also worthwhile taking that discussion to mw:MediaWiki talk:Edittools as compartmentalising the language components and the implementation sounds a good idea. It also may make sense to look to how parts are easily switched on and off, whether it be this part of the languages. — billinghurst sDrewth 06:03, 13 April 2011 (UTC)
FIW as a general question, should Edittools be a gadget rather than a default setting, with the default being on? Then if I read things right mw:Extension:Gadgets, we could just string together the edittools gadget, and the default collapse into the same line, and then let people turn off the bits that they wish to do so. — billinghurst sDrewth 06:11, 13 April 2011 (UTC)
Do you mean the Edittools table itself could be a gadget, and the collapser is another gadget? Inductiveloadtalk/contribs 14:44, 9 July 2011 (UTC)
Yes, Edittools as a gadget, DEFAULT ON; subsidiary is the collapser, DEFAULT ON. — billinghurst sDrewth 06:24, 14 July 2011 (UTC)
OK, it's done, but the [default] gadget option given at [1] appears to be a lie, so it's not appearing for IPs and users without custom preferences as expected. Apparently we need to add the following to our LocalSettings.php, however, I think we need to file a bug for that (?)
$wgDefaultUserOptions['Edittools'] = 1; 
$wgDefaultUserOptions['EdittoolsCollapser'] = 1; 
If you want to turn them on in the mean time, go to Special:Preferences and turn on the two gadgets at the bottom of "Development". Inductiveloadtalk/contribs 06:32, 2 September 2011 (UTC)
After asking in #mediawiki, apparently the [default] parameter for Gadgets only works for MW v1.18 or later (though this isn't mentioned in the docs). This will be rolled out this month, but Krinkle said he might backport to 1.17 (current version) to allow this to be done sooner. Otherwise we can make a kludge to load by default via common.js and then unload if the gadget is off, but it's a bit of mess, and it a work-around for a very short term problem. Inductiveloadtalk/contribs 00:56, 3 September 2011 (UTC)
As the default parameter is not working and therefore the edittools are not available to "IPs and users without custom preferences", this change needs to be undone until the default parameter is fixed. I went to enter some Greek earlier and couldn't. I then spent about 30 minutes hunting for why it had happened. Others are not going to bother, which will either send them away or create more work for us later on. Beeswaxcandle (talk) 05:42, 3 September 2011 (UTC)
Edittools is restored to the "normal" MW message at MediaWiki:Edittools. The collapser is still a gadget. Would people prefer that was a default thing too (i.e. add it to the common.js)? Inductiveloadtalk/contribs


Sorry, but this table with all kinds of rarely useful symbols is an enormous pile of wasted space, it does not even fit on a 1680x1050 screen. As user-unfriendly as it gets. Please remove it asap. --Matthead (talk) 19:42, 7 September 2011 (UTC)

The list has not changed, and has been there for years, the change is that there is a choice to have collapsible or expanded. For me it line wraps. What browser are you using? — billinghurst sDrewth 22:02, 7 September 2011 (UTC)
Firefox, for years, the up-to-date versions. I believe it was once a drop-down menu. Now, its a fixed white rectangle, about 80% empty. Only Extended Greek is long enough to reach the right side and get wrapped. --Matthead (talk) 01:05, 8 September 2011 (UTC)
Is your gadget version set to collapse or expand? I am using FF6 and either collapsed or expanded it has no problems wrapping and the width fits on the screen fine. Or are you saying that your edittools is not collapsed? And in that form it is too big, and if that is a yes, then please look at Special:Preferences#preftab-8 and select the collapsed form (the supposed default). — billinghurst sDrewth 01:45, 8 September 2011 (UTC)
Yes, the "special tools and characters" had been non-collapsed and in that form too big. In my Preferences, the last item "Collapse the list of special characters" had not been checked. To make sure, I chose "Restore all default settings", and it was still non-checked and non-collapsed. So that is the default, supposed or not. Only after I checked it manually, the monster box (as copied below) disappeared, and the "Select" drop down box re-appeared. Will a permanent display of the whole Unicode be made the default setting anytime soon? --Matthead (talk) 23:24, 13 September 2011 (UTC)
Also, I now see that there is a notice at the top of the watchlist page: Editing tools - As a means to improve flexibility of settings for editors, the editing tools for special characters and wiki-code has undergone the following change: - Ability to select open table or collapsed menu is now a gadget, which can be enabled or disabled at your preference. - Users can set this option through their Preferences. The tools still appear at the bottom of an edit screen.[dismiss]. --Matthead (talk) 11:16, 14 September 2011 (UTC)

Standard suite: {{}} {{{}}} | [] [[]] [[Category:]] #REDIRECT[[]] <s></s> <sup></sup> <sub></sub> <code></code> <span class="plainlinks"></span> <blockquote></blockquote> <ref></ref> {{Reflist}} <references/> <includeonly></includeonly> <noinclude></noinclude> <poem></poem> {{DEFAULTSORT:}} <!----> – —
Wikisource-specific: {{sc|}} {{Wikipediaref}} {{center|}} [[Author:|]] {{smallrefs}} <section begin=""/> <section end=""/>

Please select a category from the menu. Each category contains special tools and characters that can be inserted within the text.

Symbols: ← → – — …
Ligatures and Old English letters: æ Æ œ Œ ð Ð þ Þ ȝ Ȝ ƿ Ƿ
Math: ∑ ∞ √ ∫ ≠ ≡ ≤ ≥ ≈ ﴾ ﴿ ± − × ′ ″ ¹ ² ³ ¼ ½ ¾ ⅓ ⅔ ⅛ ⅜ ⅝ ⅞
Miscellaneous: ¿ ¡ « » £ § ¶ † ‡ • · ° ‘ “ ’ ”

acute: á Á ć Ć é É ģ í Í ó Ó ĺ Ĺ ń Ń ŕ Ŕ ś Ś ú Ú ý Ý ź Ź ǿ Ǿ
grave: à À è È ì Ì ò Ò ù Ù

tilde: ã Ã ñ Ñ õ Õ

cedilla: ç Ç Ģ ķ Ķ ļ Ļ ņ Ņ ŗ Ŗ ş Ş ţ Ţ

dieresis: ä Ä ë Ë ï Ï ö Ö ü Ü ÿ

circumflex: â Â ĉ Ĉ ê Ê ĝ Ĝ ĥ Ĥ î Î ĵ Ĵ ô Ô ŝ Ŝ û Û ŵ Ŵ ŷ Ŷ

macron: ā Ā ē Ē ī Ī ō Ō ū Ū ȳ Ȳ

breve: ă Ă ĕ Ĕ ğ Ğ ĭ Ĭ ŏ Ŏ ŭ Ŭ
caron: ǎ Ǎ č Č Ď ě Ě ğ Ğǐ Ǐ ň Ň ǒ Ǒ ř Ř š Š ť Ť ǔ Ǔ ž Ž
dot: ȧ ċ Ċ ė Ė ġ Ġ ı İ ż Ż
ogonek: ą Ą ę Ę į Į ų Ų
rings: ʿ ʾ
other:ǡ ȱ ď Ľ ľ ß å Å ů Ů ł Ł ŀ Ŀ ő Ő ű Ű

Lowercase: α β γ δ ε ζ η θ ι κ λ μ ν ξ ο π ρ σ ς τ υ φ χ ψ ω
Uppercase: Α Β Γ Δ Ε Ζ Η Θ Ι Κ Λ Μ Ν Ξ Ο Π Ρ Σ Τ Υ Φ Χ Ψ Ω
Extended Greek: ά ὰ ᾶ | ἀ ἄ ἂ ἆ | ἁ ἅ ἃ ἇ — έ ὲ | ἐ ἔ ἒ | ἑ ἕ ἓ — ή ὴ ῆ | ἠ ἤ ἢ ἦ | ἡ ἥ ἣ ἧ — ί ὶ ῖ | ἰ ἴ ἲ ἶ | ἱ ἵ ἳ ἷ — ό ὸ | ὀ ὄ ὂ | ὁ ὅ ὃ — ῤ ῥ – ύ ὺ ῦ | ὐ ὔ ὒ ὖ | ὑ ὕ ὓ ὗ — ώ ὼ ῶ | ὠ ὤ ὢ ὦ | ὡ ὥ ὣ ὧ — ᾳ ᾴ ᾲ ᾷ | ᾀ ᾄ ᾂ ᾆ | ᾁ ᾅ ᾃ ᾇ — ῃ ῄ ῂ ῇ | ᾐ ᾔ ᾒ ᾖ | ᾑ ᾕ ᾓ ᾗ — ῳ ῴ ῲ ῷ | ᾠ ᾤ ᾢ ᾦ | ᾡ ᾥ ᾣ ᾧ — Ά Έ Ή Ί Ό Ύ Ώ — Ά Ὰ | Ἀ Ἄ Ἂ Ἆ | Ἁ Ἅ Ἃ Ἇ — Έ Ὲ | Ἐ Ἔ Ἒ | Ἑ Ἕ Ἓ — Ή Ὴ | Ἠ Ἤ Ἢ Ἦ | Ἡ Ἥ Ἣ Ἧ — Ί Ὶ | Ἰ Ἴ Ἲ Ἶ | Ἱ Ἵ Ἳ Ἷ — Ό Ὸ | Ὀ Ὄ Ὂ | Ὁ Ὅ Ὃ — Ῥ – Ύ Ὺ | Ὑ Ὕ Ὓ Ὗ — Ώ Ὼ | Ὠ Ὤ Ὢ Ὦ | Ὡ Ὥ Ὣ Ὧ — ᾼ | ᾈ ᾌ ᾊ ᾎ | ᾉ ᾍ ᾋ ᾏ — ῌ | ᾘ ᾜ ᾚ ᾞ | ᾙ ᾝ ᾛ ᾟ — ῼ | ᾨ ᾬ ᾪ ᾮ | ᾩ ᾭ ᾫ ᾯ

Letters: א ב ג ד ה ו ז ח ט י כ ך ל מ ם נ ן ס ע פ ף צ ץ ק ר ש ת ױ ײ שׁ שׂ‎
Punctuation: ׳ ״ ־‎
Nikkud: בֻ בּ וּ וֹ שׁ שׂ בָ בַ בֶ בֵ בִ בֳ בֲ בֱ בְ‎

Upper case: А Б В Г Д Е Ё Ж З И Й К Л М Н О П Р С Т У Ф Х Ц Ч Ш Ъ Ы Ь Э Ю Я Lower case: а б в г д е ё ж з и й к л м н о п р с т у ф х ц ч ш ъ ы ь э ю я

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


[] [[|]] | {{|}} {{{|}}} [[Category:]] #REDIRECT[[]] &nbsp; <nowiki></nowiki> <span class="plainlinks"></span> <u></u> <s></s> <sub></sub> <sup></sup> <ref></ref> <references /> <poem></poem> <blockquote></blockquote> <includeonly></includeonly> <noinclude></noinclude> <onlyinclude></onlyinclude> {{DEFAULTSORT:}} <code></code> <tt></tt> <pre></pre> <syntaxhighlight lang="html5" enclose="div"></syntaxhighlight> <!----> ~~~~