Fandom

Wikia Developers Wiki

EditIntroButton

915pages on
this wiki
Add New Page
Talk7 Share

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.

Default

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');

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.