I'm looking for a part-time remote job.

Hire me


I'm the author of:

Mastering Redmine is a comprehensive guide with tips, tricks and best practices, and an easy-to-learn structure.

Check the book's project or

Buy the book

Social pages of the book:

By buying this book you also donate to Redmine (see this page).


Follow me:

Improvement #1848

New Wiki macros

Added by Andriy Lesyuk over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Major
Assignee:
Category:
Redmine plugin idea
Start date:
14 Sep 2011
Due date:
03 Dec 2011
% Done:

100%


Description

Not sure if such plugin already exists but I would need the following macros:

  • ...
  • ...
    (or note)
  • ...
  • {TODO}
  • {FIXME}
  • {NEW}
  • @<login>, @"<First Last>" (mentions should be shown in user’s profile)
  • Smiles, e.g. :-) etc
  • {HOOK:call_this_hook} - can call a hook with specified name
  • ...(till:<date>)..., ...(since:<date>)..., ...(ifopen:<version>)... - conditions for content to be shown e.g. <(ifopen:0.2.0).warning>...</warning> (syntax maybe changed)
  • or (instead of above) a block like <till-date:<date>>, <till-version:<version>>
  • {wikipedia:Ruby} - link to Wikipedia
  • (!) - generates exclamation mark icon
  • (?) - generates question mark icon

Besides some other macros can be added for other plugins, e.g.:

  • {DOWNLOAD} - renders Download button
  • {SCM} - puts SCM access command (e.g. svn checkout http://...)

P.S. This list is going to be extended


Related issues

Related to SCM Creator (+Github) - Feature #1858: New Wiki/Textile macro Open 26 Sep 2011

History

#2 Updated by Andriy Lesyuk over 12 years ago

  • Status changed from Incomplete to Open

#3 Updated by Andriy Lesyuk over 12 years ago

Smiles are supported by Wiki Extensions.

#4 Updated by Andriy Lesyuk over 12 years ago

  • Priority changed from Normal to Major

#5 Updated by Andriy Lesyuk over 12 years ago

Some kind of tip, warning etc is supported by https://github.com/dseifert/redmine_wiki_notes... But I want it to be of “block” type e.g.:

<warning>
This is a normal content rendered as usual:
* List item
* Another list item
</warning>

#6 Updated by Andriy Lesyuk over 12 years ago

  • Status changed from Open to In Progress
  • % Done changed from 0 to 20

Currently:

<warning>...</warning>
<notice>...</notice>
<tip>...</tip>

or:

warning. ...
notice>. ...
tip(important). ...

#7 Updated by Andriy Lesyuk over 12 years ago

I guess someone will also need {FREE}... + {UPDATE}

#9 Updated by Andriy Lesyuk over 12 years ago

Added {FIXME}, {TODO}, {UPDATE}, {NEW} and {FREE}...

All support alignment:

  • {<FIXME} - aligned to the left;
  • {TODO>} - aligned to the right.

{NEW} and {FREE} support “super” mode: {^NEW} and {^FREE}.

#10 Updated by Andriy Lesyuk over 12 years ago

  • % Done changed from 20 to 30

#11 Updated by Andriy Lesyuk over 12 years ago

  • % Done changed from 30 to 40

“Mentions” can be written using user(what to display)#id or user(display text):login. “Display text” is optional that it you can just write user:login.

#12 Updated by Andriy Lesyuk over 12 years ago

  • % Done changed from 40 to 60

Added smileys! Also added {{hook(name,argument1,argument2,option1=value1,option2=value2)}}...

#13 Updated by Andriy Lesyuk over 12 years ago

Added macros ... and .

#14 Updated by Andriy Lesyuk over 12 years ago

For Wikipedia links: http://www.mediawiki.org/wiki/Help:Links
Also thinking about Google search links...

#15 Updated by Andriy Lesyuk over 12 years ago

  • Due date set to 03 Dec 2011
  • Status changed from In Progress to Closed
  • % Done changed from 60 to 100

Also available in: Atom PDF

Terms of use | Privacy policy