Jump to content

Support/Archive/2025/08

From translatewiki.net
Archive icon This is an archive page for the Support page. Do not post new threads here, they will likely not be read. If you wish to continue an archived discussion, start a new thread on the Support page and include a link to the archived discussion.
Archives
2023
2025

WikiEditor, CodeMirror and Wikify

Hello everyone! I created a script that adds a WikiEditor panel to the translation fields, hopefully it will be useful to someone :)

mw.loader.load('//translatewiki.net/w/index.php?title=User:Iniquity/translatewiki-editor.js&action=raw&ctype=text/javascript');

Iniquity (talk) 07:05, 19 July 2025 (UTC)

Fixed that it only loaded after the second page load. Iniquity (talk) 07:16, 20 July 2025 (UTC)
@Iniquity: Nice! Thanks!
I'm having trouble with it though; after inputting translations, the "Publish translation" button remains gray, when I have syntax highlighting enabled (if I disable it, it works as expected). See this function in the Translate extension's code to see what the extension does. Jon Harald Søby (talk) 09:03, 21 July 2025 (UTC)
@Jon Harald Søby: Thanks! Fixed! Iniquity (talk) 19:23, 22 July 2025 (UTC)
Thanks! Nemoralis (talk) 16:32, 22 July 2025 (UTC)
Ctrl+Enter to publish the translation does not work with this. Nemoralis (talk) 16:36, 22 July 2025 (UTC)
@Nemoralis Thanks! Fixed too! Iniquity (talk) 19:23, 22 July 2025 (UTC)
@Iniquity, it would be good if we can resize the editor window. I can't see the rest of the message. Nemoralis (talk) 20:37, 23 July 2025 (UTC)
@Nemoralis, done, I think :) Iniquity (talk) 19:12, 3 August 2025 (UTC)

This new original is in German, not in English. Where can I fix the original? Ciell (talk) 08:13, 3 August 2025 (UTC)

It has been already fixed by the bot. maro21 (talk) 16:13, 4 August 2025 (UTC)