Changes between Version 4 and Version 5 of HideChangesPlugin


Ignore:
Timestamp:
Nov 19, 2015, 9:49:10 AM (8 years ago)
Author:
figaro
Comment:

Cosmetic changes

Legend:

Unmodified
Added
Removed
Modified
  • HideChangesPlugin

    v4 v5  
    2121== Download
    2222
    23 Download the zipped source from [download:hidechangesplugin here].
     23Download the zipped source from [export:hidechangesplugin here].
    2424
    2525== Source
    2626
    27 You can check out HideChangesPlugin from [http://trac-hacks.org/svn/hidechangesplugin here] using Subversion, or [source:hidechangesplugin browse the source] with Trac.
     27You can check out HideChangesPlugin from [/svn/hidechangesplugin here] using Subversion, or [source:hidechangesplugin browse the source] with Trac.
    2828
    29 == Installation and Configuration
     29== Installation
    3030
    3131 1. Install the plugin after downloading and unzipping:
    32     {{{#!sh
    33     cd hidechangesplugin/trunk
    34     sudo python setup.py bdist_egg
    35     sudo cp dist/TracHideChanges*.egg /your/trac/location/plugins/
    36     }}}
     32 {{{#!sh
     33cd hidechangesplugin/trunk
     34sudo python setup.py bdist_egg
     35sudo cp dist/TracHideChanges*.egg /your/trac/location/plugins/
     36}}}
    3737
    3838 See [http://trac.edgewall.org/wiki/TracPlugins TracPlugins] for more installation details and options. You'll likely need to restart Trac's web server after installation.
    3939
    4040 2. Enable the plugin by adding the following to your `trac.ini` file:
    41     {{{#!ini
    42     [components]
    43     hidechanges.* = enabled
    44     }}}
     41 {{{#!ini
     42[components]
     43hidechanges.* = enabled
     44}}}
    4545
    4646 You can alternatively use the Trac Web Admin GUI to enable any or all rules.
     
    4848 3. Create rules in the {{{[hidechanges]}}} section of {{{trac.ini}}} for which changes to hide. See [wiki:HideChangesPlugin#Examples examples below] for details and ideas.
    4949
    50 == Example
     50== Configuration
    5151
    5252You define rules using the {{{rule.<name>}}} option in the {{{[hidechanges]}}} section of {{{trac.ini}}} as freeform !JavaScript/jQuery 1.8.7 code.  Each rule {{{<name>}}} must be unique. Each rule (code) must evaluate to either {{{true}}} or {{{false}}}. If {{{true}}}, the change will be hidden. A {{{changediv}}} jQuery object is available to use within each rule. An example can be helpful to explain this more concretely.