Edgewall Software

Changes between Version 10 and Version 11 of TracDev/PluginDevelopment


Ignore:
Timestamp:
Oct 14, 2005, 12:30:32 AM (19 years ago)
Author:
Emmanuel Blot
Comment:

Typo: disable_components section has been renamed components

Legend:

Unmodified
Added
Removed
Modified
  • TracDev/PluginDevelopment

    v10 v11  
    104104Sometimes you might want to write a plugin that completely replaces a built-in component, for example to develop an advanced variant of an existing module. Trac uses a list of default component to load, as specified in the `default_components` list in [source:/trunk/trac/db_default.py#latest trac.db_default]. These built-in components are always loaded, and might therefore conflict with your replacement plugin.
    105105
    106 You can however disable built-in components using a special [wiki:TracIni trac.ini] section called `[disabled_components]`. This section contains the qualified name of the components to disable, along with `disabled` or `off` as the value.
     106You can however disable built-in components using a special [wiki:TracIni trac.ini] section called `[components]`. This section contains the qualified name of the components to disable, along with `disabled` or `off` as the value.
    107107
    108108For example, to disable the built-in Wiki macro `RecentChanges`, you'd include the following in [wiki:TracIni trac.ini]: