![]() | |
![]() | |
Description | Type in IPA symbols by directly looking at an IPA key like Help:IPA/English and clicking on the symbols |
---|---|
Updated | November 2, 2023 (8 months ago) |
Browser support | Chrome, Firefox, etc. (ES2018+ needed) |
Source |
|
This script adds a button to the editing toolbar that pops up an IPA key (e.g. Help:IPA/English) where you can pick symbols simply by clicking them in the key—so you don't have to go back and forth between the edit form and the key to figure out which symbols to use and repeat copying and pasting—and inserts the string into the edit form, wrapped in {{IPA}}or{{IPAc-en}}.
Add the following to your common.js:
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Nardog/IPAInput.js&action=raw&ctype=text/javascript');
Or you may enable the script installerinPreferences → Gadgets and click "Install" in the infobox on this page.
You have to have done one of the following in order to use this script:
A "[ə]" icon appears in the editing toolbar (under "Insert" if you're using the 2017 wikitext editor or VisualEditor). It first opens a configuration form.
Hitting "Transcribe" loads the selected key. Any element with the IPA
class in the key becomes clickable.
If the English key is used, the input will be divided according to what is accepted by the IPAc-en template (even if it wasn't chosen in the configuration). Also remember the script doesn't take care of the rest of the template (label and audio).
Nardog's scripts
| |
---|---|
Extra functionality
Editing assistance
Itch scratchers
|