There are too many wikitext editors available in MediaWiki. I know of the following.
Name | URL | Hook | Edited with |
---|---|---|---|
<textarea>
|
Traditional. | ||
https://sv.wiktionary.orghttps://sv.wiktionary.org/w/index.php?title=PAGE&action=edit
|
wikipage.editform
|
$("#wpTextbox1")
| |
CodeMirror 5 | Syntax highlight enabled using the toolbar. Note that an old version of CodeMirror is used. | ||
https://sv.wiktionary.orghttps://sv.wiktionary.org/w/index.php?title=PAGE&action=edit
|
ext.CodeMirror.switch
|
$("#wpTextbox1").textSelection()
// CodeMirror instance
elementFromHook
.CodeMirror
// <div contenteditable>
elementFromHook
.CodeMirror
.display.input.div
| |
2017 wikitext editor | Editor made available as a beta feature, see mw:2017 wikitext editor and the documentation. | ||
https://sv.wiktionary.orghttps://dictious.com/sv/PAGE?veaction=editsource
|
ve.wikitextInteractive
|
$("#wpTextbox1").textSelection()
| |
Mobile editor | Editor used on the mobile site, mw:Extension:MobileFrontend and relevant source code. | ||
https://sv.m.wiktionary.orghttps://dictious.com/sv/PAGE#/editor/all
|
mobileFrontend.editorOpened , mobileFrontend.editorClosed
|
$("#wikitext-editor").textSelection() [1]
|
jquery.textSelection
.