wiki:WikiExtrasPlugin

Version 12 (modified by Mikael Relbe, 13 years ago) (diff)

0.13.0.1 replaced 0.13

Wiki Extras for Trac

Description

This plugin is made for the upcoming Trac 0.13, and will be updated along with changes to Trac 0.13dev!
(It could work with Trac 0.12, but the visual impression may not be as intended.)

The WikiExtrasPlugin extends the Trac Wiki in several ways:

  • Layout information on wiki pages using boxes. Four wiki processors are defined for creating boxes:
    • box -- The core box processor.
    • rbox -- Display a right aligned box to show side notes and warnings etc. This will probably be the most used box.
    • newsbox -- Display news in a right aligned box. (This box corresponds to the well-known NewsFlashMacro)
    • imagebox -- Display a single image with caption in a centered box.
  • Decorate wiki pages with a huge set of modern icons via wiki markup (|name|), or the equivalent Icon macro, and as smileys (smiley characters are configurable).
  • Decorate wiki text with the Color macro.
  • Automatic highlighting of attentional phrases like FIXME and TODO (configurable).
  • HTML 4.0 entities (named entities and numerical entities). (Same as in WikiGoodiesPlugin)
  • Automatic replacement of common text idioms by their corresponding symbols (e.g. arrows, fractions, etc.) (Same as in WikiGoodiesPlugin, but configurable.)

Each feature can be disabled individually if needed.

Icon Library License Terms

The icon library contained in this plugin is composed of the Fugue icon library with additional icons, and can be used for any commercial or personal projects, but you may not lease, license or sublicense the icons. The icon library is provided for convenience, though download and installation time is taking a hit since it contains more than 3.000 unique icons in two flavors; shadowed and shadowless (yielding a grand total of almost 7.000 icon files).

The Fugue icon library is released under Creative Commons Attribution 3.0 license.
Some icons are Copyright (C) Yusuke Kamiyamane. All rights reserved.

Additional icons are released under same license terms as Trac.
Some icons are Copyright (C) Edgewall Software. All rights reserved.

See Also

The ColorMacro, EmoticonsPlugin, NewsFlashMacro and WikiGoodiesPlugin.

Bugs/Feature Requests

Existing bugs and feature requests for WikiExtrasPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source:

  • [download:wikiextrasplugin/tags/0.13.0.1 0.13.0.1]
  • [download:wikiextrasplugin/trunk trunk]

Source

You can browse the source with Trac or check out WikiExtrasPlugin using Subversion:

  • 0.13.0.1
    svn co http://trac-hacks.org/svn/wikiextrasplugin/tags/0.13.0.1
    
  • trunk
    svn co http://trac-hacks.org/svn/wikiextrasplugin/trunk
    

Configuration

Activate the plugin:

[components]
tracwikiextras.* = enabled

The WikiGoodiesPlugin should be deactivated when this plugin is used.

The built in documentation of the plugin explains the configuration thoroughly. Following examples are provided as an overview of the customization capabilities of the plugin.

Configure boxes (showing default configuration):

[wikiextras]
rbox_width = 300
shadowless_boxes = false
wide_toc = false

Configure icons (showing default configuration):

[wikiextras]
icon_limit = 32
showicons_limit = 96
shadowless_icons = false

Configure smileys (example):

[wikiextras-smileys]
_remove_defaults = true
smiley = :-) :)
smiley-wink = ;-) ;)

Configure attentional phrases (showing default configuration):

[wikiextras]
fixme_phrases = BUG, FIXME
todo_phrases = REVIEW, TODO
done_phrases = DONE, DEBUGGED, FIXED, REVIEWED

Configure symbols (example):

[wikiextras-symbols]
_remove_defaults = true
&laquo; = <<
&raquo; = >>
&hearts; = <3

Example

There are 3 macros that can be used to show detailed instructions to wiki authors on how to use some of these features, suitable to be placed on one wiki page each:

  • WikiBoxes
    [[AboutWikiBoxes]]
    
  • WikiIcons
    [[AboutWikiIcons]]
    
  • WikiPhrases
    [[AboutWikiPhrases]]
    

Please also see the built in plugin documentation presented in the plugin admin panel of your Trac environment.

Recent Changes

18604 by jun66j5 on 2023-12-16 00:28:54
TracWikiExtras 1.3.2dev: fix sending non-bytes instance from boxes component (closes #14257)
18475 by rjollos on 2022-04-09 03:51:16
TracWikiExtras 1.3.2dev: Make compatible with Python 3

Refs #14133.

17609 by rjollos on 2019-12-03 12:38:29
TracWikiExtras 1.3.1: Tag version 1.3.1

Refs #13655.

(more)

Author/Contributors

Author: mrelbe
Maintainer: mrelbe
Contributors: cboos

This plugin is based on the WikiGoodiesPlugin by cboos.
Also, kudos to cboos (again) for the icon wiki markup idea: (|name|)