Version 15 (modified by Ryan J Ollos, 4 years ago) (diff)

Added syntax highlighting.

Wiki Include Plugin


When the WikiInclude macro is used, there is an error being displayed occasionally.

Please see MacroMigrationTutorial for the reasons.

This plug-in offers the same function, without issuing an error.

Bugs/Feature Requests

Existing bugs and feature requests for WikiIncludePlugin are here.

If you have any issues, create a new ticket.


[download:wikiincludeplugin WikiIncludePlugin]


You can check out WikiIncludePlugin from here using Subversion, or browse the source with Trac.


  • Build the egg file following the plugin packaging instructions
  • Copy the dist/WikiIncludePlugin-0.y.z-py2.3.egg file in your plugins project directory.
  • Requires setup in trac.ini.
    wikiinclude.* = enabled
  • If you are using the WikiInclude macro, you need to remove wiki-macros/



Version 0.2 (see attachment) with possibility to include specific page version:


Recent Changes

15264 by rjollos on 2016-02-11 04:22:34
Remove unnecessary svn:mime-type on py files

svn:mime-type was set to "plain" for many files.

9581 by rjollos on 2010-12-04 15:01:11
Add 0.11 version to repository, previously attached to wiki page, and patch Fixes #3428.
141 by yu-ji on 2005-11-21 09:37:39

Invalid description, fix it.



Author: yu-ji
Contributors: bubacoo

Wiki Variable

Contribution done by mdelorme

I update the script to be able to use Wiki Variables (think report variables)

 for arg in args:
         text = text.replace('{{%d}}' % (i+1), args[i])
         i += 1
 for arg in req.args:
         text = text.replace('{{%s}}' % arg, req.args[arg])

You use is it like this.
You call your page
then in my_page

Lorem impsum ...

and then in Foo you could use FOO like this

bla bla bla {{FOO}} bla bla {{1}} blabla bla blabla bla bla