Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

editorpolicies.ini [EditorPolicySettings]

The settings of [EditorPolicySettings] in editorpolicies.ini: ClassSets, RemoveDuplicates

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/ini-settings/editorpolicies/EditorPolicySettings.md

On this page

editorpolicies.ini [EditorPolicySettings]

The block [EditorPolicySettings] of settings/editorpolicies.ini, with 2 setting(s).

Never edit settings/editorpolicies.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:

  • settings/override/editorpolicies.ini.append.php for every siteaccess,
  • settings/siteaccess/<siteaccess>/editorpolicies.ini.append.php for one siteaccess,
  • extension/<extension>/settings/editorpolicies.ini.append.php in an extension (read when the extension is active).

ClassSets

The class sets in use: a [ClassSet_<name>] group each. A set whose classes the installation does not have is
skipped, so the same file fits every installation.

Default: a list of 1: media_site.

<?php /* #?ini charset="utf-8"?
# settings/override/editorpolicies.ini.append.php
[EditorPolicySettings]
# an empty "ClassSets[]" first replaces the shipped list; without it the items are added
ClassSets[]
ClassSets[]=media_site
*/ ?>

RemoveDuplicates

enabled | disabled. Enabled: a policy the role holds twice (the same module, function and limitations) is removed
once, keeping the oldest. A policy that differs only in its limitations is never a duplicate.

Default: enabled.

<?php /* #?ini charset="utf-8"?
# settings/override/editorpolicies.ini.append.php
[EditorPolicySettings]
RemoveDuplicates=enabled
*/ ?>

Generated by ./console exp:help:examples from settings/editorpolicies.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x