EditIntroButton is a JavaScript script that adds a button to allow editing an article's introduction as a section, so that edits to just the introduction do not show up as edits to the whole page. This is particularly useful for long pages as previews and diffs are much faster when it only has to work on one section instead of the whole page.


importScriptPage('EditIntroButton/code.js', 'dev');

Change the text

to change the text of the button, set EditIntroButtonText before the import, like this:

EditIntroButtonText = 'intro';
importScriptPage('EditIntroButton/code.js', 'dev');