Strip ́ symbol for Russian [[User:Conrad.Irwin/editor.js]]
Strip ́ symbol for Russian User:Conrad.Irwin/editor.js
Hi. Are you able to automatically strip ́ (stress symbol) from Russian translations, similar to Serbo-Croatian and Slovene diacritics? E.g. рабо́та -> работа, so that the actual link is for работа but alt=рабо́та and "page name" would show the word without the symbol?
Also, I wonder if it's possible to remove spaces from beginning and end (but not middle) from any translation (trim), so as to avoid extra spaces added when people copy-paste?
I think so. Is it a combining diacritic? Or are there also letter forms where the accent is combined with the letter into a single unit?
When you combine the symbol with a Roman letter it merges into one (or it just looks so), see é or á. The Cyrillic letters look a bit differently: е́ and а́. But I can click on backspace and remove the symbol from both Roman and Cyrillic, "delete" will delete both characters. Sorry if I'm not helpful. BTW, Serbo-Croatian doesn't remove all diacritics from Cyrillic but I don't remember, which one.
Here's a full list: А́, Е́, Ё́, И́, О́, У́, Ы́, Э́, Ю́, Я́, а́, е́, ё́, и́, о́, у́, ы́, э́, ю́, я́ It's usually wrong to put accents on Ё (it's stressed in 99.9% of cases) but please add them as well)