ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

Wiki macro support in Chili version 3.7

Added by Nicolas Paez at 2013-02-21 03:02 pm

Hi,

I have just updated my chiliproject instance from 2.6 to 3.7.
I was using the wiki extensions plugin that is not supported any more in 3.7. Despite of that, there are some macros that still work (i.e. toc), but some other no (.i.e lastupdate_by), so my question is:

how can I know the list of macros supported by chili version 3.7?


Replies (3)

RE: Wiki macro support in Chili version 3.7 - Added by Chris Dähn at 2013-02-25 03:27 pm

@Felix+Holger: This question is very interesting - for me any my colleagues too.
Can I get this list on my own? I would document that - just give me a hint where to look in the sources (I even recently bought a new Ruby+Rails book to learn developing with Rails) ;-)

RE: Wiki macro support in Chili version 3.7 - Added by Holger Just at 2013-02-25 11:56 pm

The available variables and tags are available in the {{tags}} and {{variables}} variables. You can see them in action on the Liquid for Editors page.

Nicolas: The toc tag is part of the core set of Liquid tags available in ChiliProject. lastupdate_by probably comes from the wiki extensions plugin and is thus not available in ChiliProject by default. That said, it should be rather simple to make it available using a syntax similar to {{page.lastupdate_by}}.

Chris: Most of the tags and filters come from the liquid gem. The integration is mostly in lib/chiliproject/liquid and around the textilizable method in app/helpers/application_helper.rb.

RE: Wiki macro support in Chili version 3.7 - Added by Chris Dähn at 2013-02-26 10:40 am

Thanks - didn't find that till now... so this is a task for #1221, too ;-)

I'll take the wiki page and the offical docs (https://github.com/Shopify/liquid/wiki) for overhauling the docs.

(1-3/3)