User:Erutuon/scripts/addTranslations.js

// This is supposed to eventually be a script that adds a Translations section // to an English entry, but doesn't do anything yet. $(function { const textbox = $('#wpTextbox1'); const EnglishSection = /(?:^|\n)==[ \t]*English[ \t]*==\n[^\0]+?(?:\n==[^=]|$)/.exec(textbox.val); });