Movatterモバイル変換


[0]ホーム

URL:


Trac Hacks
wiki:AddCommentMacro

Context Navigation


Contents

  1. Description
  2. Bugs/Feature Requests
  3. Download
  4. Source
  5. Installation
  6. Recent Changes
  7. Author/Contributors

Add comments to wiki pages

Notice: This plugin does not necessarily meet coding standards or functions correctly in all use cases.

Description

This macro allows for easily adding comments to a wiki page, in a standard format. Each comment is added in the following form:

==== Comment by <user> on <date> ====<comment-body>

The comment body supports normal TracWikiFormatting.

Comments are added after the first line that starts with[[AddComment]].

The macro supports previewing and adheres to theTracPermissions scheme, only allowing comments to be added if the user has write access to the page.

Since changeset[21] the macro can fulfil the role of an append only Wiki page. By passing the argumentappendonly to the macro, comments can be appended to the page even when the user does not have permission to modify the page. This is potentially unsafe, but can be useful.

Note that this macro differs from thestandard wiki #comment feature.

Bugs/Feature Requests

Existing bugs and feature requests forAddCommentMacro arehere.

If you have any issues, create anew ticket.

defect

21 / 28

enhancement

4 / 11

Download

Download the version as per your Trac installation:

Download all versions as azip file.

The plugin is also available onPyPi.

Source

You can check outAddCommentMacro fromhere using Subversion, orbrowse the source with Trac.

Installation

Dependencies: You need to install MacroPostPlugin first, or else the 'Preview' and 'Submit' buttons won't work:

$> easy_install https://trac-hacks.org/svn/macropostplugin/0.11...$> easy_install https://trac-hacks.org/svn/addcommentmacro/0.11...Done.

Add the following to yourtrac.ini file:

[components]macropost.web_ui.macropostmodule=enabledaddcomment.*=enabled

Alternatively, use the WebAdmin interface to enable both plugins.

Recent Changes

16765 byrjollos on 2017-08-26 02:58:15
TracAddCommentMacro 0.3: Add license info
16760 byrjollos on 2017-08-25 18:54:20
TracAddCommentMacro 0.3: Run autopep8 on codebase
16397 byrjollos on 2017-03-25 09:37:00
Remove obsolete "0.9" code
(more)

Author/Contributors

Author:athomas
Maintainer:osimons
Contributors:eblot (ported Trac to trunk),osimons (0.11 version)

Last modified3 years agoLast modified on Apr 18, 2022, 10:26:44 AM

Download in other formats:


Trac Powered

Powered byTrac 1.2.6
ByEdgewall Software.


[8]ページ先頭

©2009-2025 Movatter.jp