Manual:Section editing

Section editing is the practice of editing a particular section on a page by clicking on the "edit" (or "edit source") link next to a subheading.

Enabling and disabling section links
Section editing is a default feature of MediaWiki but can be disabled in a number of ways, as is explained below. Disabling is especially useful when a heading is created from within a template: the normal wiki section-edit would in this case edit the template code, which is normally counterintuitive to the user.

Configuration (Localsettings.php)
  is a user right that can be used in your file.

For instance, to hide the section edit links for users who are not logged in, change the value of the configuration option:

Edit and add the line:

  ("0" by default) is a user right that allows editors to edit sections by right-clicking on the subheading (JavaScript feature).

Magic word
The Magic word can be used to hide all section edit links on a particular page.

This magic word is transcludable, meaning that it can be embedded in a template in order to disable section editing on all pages where this template is used.

CSS
In Vector and other skins, the section link has the following CSS class: