User:DannyS712/SectionRemover

From WikiProjectMed
Jump to navigation Jump to search
Section Remover
DescriptionRemove sections from a page
Author(s)DannyS712
StatusStable
First releasedJanuary 22, 2019; 5 years ago (2019-01-22) (by DannyS712)
Version1.0
Updated22:54, 22 January 2019 (UTC)
SourceUser:DannyS712/SectionRemover.js

SectionRemover allows you to remove selected sections on a page (talk, user talk, articles, etc). It's as simple as clicking from the drop-down menu "Remove section" then select the section headers to remove them. This is a forked version of User:Σ/Testing facility/Archiver.js, which moves sections to a selected page (i.e. archive) instead of just removing them. The fork was written by a now-retired user, so I have taken over as maintaining it.

Usage
  1. From the "More" drop-down menu, select "Remove section".
  2. Select one or more sections to be removed by clicking "remove section" next to the header.
  3. Click "Remove the selected sections" and done!
Example
Screenshot
See also
  • SectionMover - moves sections from one page to another. Also a forked version of the mentioned script but its styling is modified to be similar to SectionRemover.
Importation

This script can be imported to skin.js or common.js by adding:
importScript('User:DannyS712/SectionRemover.js'); // [[User:DannyS712/SectionRemover.js]]
or
{{subst:Iusc|User:DannyS712/SectionRemover.js}}