User:BrandonXLF/QuickEdit

< BrandonXLF's scripts |
Quick Edit
[quick edit]
The script being used.
DescriptionEdit a section of a page without reloading
Quick Edit adds a link .. | quick edit ] to the heading of each section to edit the section in a mini editor. The editor appears inline and allows you to make changes to a section without reloading. The editor has support for reviewing your changes, previewing your changes, marking as a minor edit, adding a summary, and handling edit conflicts.
Author(s)User:BrandonXLF
StatusWorking
First releasedDecember 26, 2019
SourceQuickEdit.js (git)
GitHub repositorywikipedia-user-scripts

Quick Edit adds a link .. | quick edit ] to the heading of each section to edit the section in a mini editor. The editor appears inline and allows you to make changes to a section without reloading. The editor has support for reviewing your changes, previewing your changes, marking as a minor edit, adding a summary, and handling edit conflicts.

Installation

importScript('User:BrandonXLF/QuickEdit.js'); // [[User:BrandonXLF/QuickEdit.js]]
  • Alternatively, use the following instead of the above:
mw.loader.load('/w/index.php?title=User:BrandonXLF/QuickEdit.js&action=raw&ctype=text/javascript'); // [[User:BrandonXLF/QuickEdit.js]]
  • To install on other wikis (for instance, globally in your global.js on the Meta-Wiki), use the following code:
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:BrandonXLF/QuickEdit.js&action=raw&ctype=text/javascript');
  • After installing reload the page and clear your cache

Access Keys

  • s - Save the editor.

Comments/Bugs

Comments are welcome on my talk page, be sure to indicate that you're talking about this script in the title. I would really like any suggestion to make the script run better.