Feature #30986

New toolbar button to insert wiki macros

Added by Go MAEDA 12 months ago. Updated 8 months ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:


Target version:Candidate for next minor release


Redmine has useful wiki macros such as "child_pages", "collapse", "include" and "thumbnail".

Despite the usefulness of those macros, not so many people know the feature because they are too hidden. Only people who read the detailed syntax reference know the feature. In addition, those macros are a bit long to type.

To resolve those problems, I propose to add a new button that assists users to recall and insert macros. Please see the screenshot below.

wiki-macro-button@2x.png (17 KB) Go MAEDA, 2019-03-07 08:14

feature-30986.patch Magnifier (4.42 KB) Mizuki ISHIKAWA, 2019-03-22 08:39

30986@2x.png (14.6 KB) Go MAEDA, 2019-05-16 16:15

bt_macro.png (493 Bytes) Go MAEDA, 2019-05-16 16:16


#1 Updated by Marius BALTEANU 12 months ago

I like this idea. In the future, we can extend the button to include Redmine links to different objects (issues, source, etc).

#2 Updated by Bernhard Rohloff 12 months ago

Sounds great, some kind of "Redmine" button can be very convenient for sure although I think it would make more sense to have a separate menu for only macros.

#3 Updated by Mizuki ISHIKAWA 11 months ago

The attached patch adds a button for inserting a wiki macro like wiki-macro-button@2x.png .
I frequently use the "collapse" macro, so I would like to use a button to insert it easily.

#4 Updated by Bernhard Rohloff 11 months ago

I've tested the patch and it works great. Really convenient!

I also have 2cts to drop. :-)

  • If it's possible, it would be nice if we could add the macro description as tooltip.

Marius BALTEANU wrote:

I like this idea. In the future, we can extend the button to include Redmine links to different objects (issues, source, etc).

If we would follow this road would it make sense to have a Redmine icon for this button, yet?

#5 Updated by Go MAEDA 11 months ago

  • Target version set to Candidate for next major release

#6 Updated by Go MAEDA 10 months ago

Now the patch has Redmine icon. Let's deliver this feature in Redmine 4.1.0.

#7 Updated by Jean-Philippe Lang 8 months ago

  • Target version changed from 4.1.0 to Candidate for next minor release
Nice feature but:
  • we should find something else than the Redmine logo for this button
  • as Bernhard said, it should comme along with additional information about the macro and the arguments that it expects. The macro name on its own is not so usefull.

Also available in: Atom PDF