Tags:
create new tag
view all tags

SID-01524: CommentPlugin Enhancement: disable Wiki syntax

Status: Answered Answered TWiki version: 5.1.1 Perl version: 5.10.1
Category: CategoryMissingFunctionality Server OS: CentOS 6.3 2.6.32-220.el6.x86_64 Last update: 13 years ago

Hi,

It would be great if one could disable Wiki syntax, variables and execution of commands (e.g. SET) by specifying an additional parameter for the COMMENT plugin.

This switch should then be used throughout the support web of TWiki.

As an example: in SID-01523 I pasted some "Set ALLOWTOPICCHANGE" commands from one of my pages. Now it's impossible to add comments or edit the page frown

Thanks,

Thomas

Btw: Can some helpful soul with admin rights fix the page?

-- ThomasGutzmann - 2012-08-29

Discussion and Answer

Yes, some more control over formatting behavior would be nice to have with the CommentPlugin. You can always define a custom comment plugin output template to wrap the comment in <verbatim>...</verbatim> tags if you want to have verbatim output.

However, access control settings are checked before & outside of the rendering process, so they even work within verbatim tags.

A general protection would be useful to have to prevent a person from locking oneself out. That requires a feature proposal and a committed developer.

-- PeterThoeny - 2012-08-29

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Answered
Title CommentPlugin Enhancement: disable Wiki syntax
SupportCategory CategoryMissingFunctionality
TWiki version 5.1.1
Server OS CentOS 6.3 2.6.32-220.el6.x86_64
Web server Apache/2.2.15 (Unix)
Perl version 5.10.1
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2012-08-29 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.