Project

General

Profile

Wiki Extensions Plugin

Added by Haruyuki Iida over 15 years ago

Let me announce to you My "Wiki Extensions Plugin".
This plugin adds some wiki macros and enhancements to your redmine.

Features:
  • Sidebar
  • Footnote
  • Comment form
  • Tags
  • and more.

Demo page is here .

Thank you.


Replies (148)

RE: Wiki Extensions Plugin - Added by Haruyuki Iida over 15 years ago

Billy T wrote:

Nice job.

I was just wondering if this plugin provides a macro for insert HTML into wiki, or it already has and I didnot notice.
I have lots of docs in HTML format. I dont want spend lots time to convert them into wiki text.

Thanx.

Tell me your idea a little more concretely.
How do you want to use macro for insert HTML?

Write the html code in to macro?

{{html_macro(<html><body><h1>.....</html>)}}

I think it's useless.

or attach the html file and specify the file name in macro argument?

{{html_macro(attached_html_file_name)}}

or else?

RE: Wiki Extensions Plugin - Added by Billy T over 15 years ago

Haru Iida wrote:

Billy T wrote:

Nice job.

I was just wondering if this plugin provides a macro for insert HTML into wiki, or it already has and I didnot notice.
I have lots of docs in HTML format. I dont want spend lots time to convert them into wiki text.

Thanx.

Tell me your idea a little more concretely.
How do you want to use macro for insert HTML?

Write the html code in to macro?
[...]

I think it's useless.

or attach the html file and specify the file name in macro argument?

[...]

or else?

em,
I was thinking writing html into macro, which you commented "useless" on.
sorry, i was just wondering why you said that is "useless".
My situation is I have lots doc in doc format, and I can easily convert them into html with inline CSS.
I really like Redmine and I want move all my docs onto it.
I think this is the logic.

Thanks.

RE: Wiki Extensions Plugin - Added by Haruyuki Iida over 15 years ago

Billy T wrote:

em,
I was thinking writing html into macro, which you commented "useless" on.
sorry, i was just wondering why you said that is "useless".

Sorry for my lack of explanation.

Some characters must not be appears in macro arguments because of macro syntax.
There is same problem as wiki-latex plugin. See http://www.redmine.org/boards/3/topics/4987#message-8102

Thanks.

RE: Wiki Extensions Plugin - Added by Billy T over 15 years ago

Haru Iida wrote:

Billy T wrote:

em,
I was thinking writing html into macro, which you commented "useless" on.
sorry, i was just wondering why you said that is "useless".

Sorry for my lack of explanation.

Some characters must not be appears in macro arguments because of macro syntax.
There is same problem as wiki-latex plugin. See http://www.redmine.org/boards/3/topics/4987#message-8102

Thanks.

Thank you.
I think I can use Stylesheet of wiki-extension to walk around.
again, I really like this plugin.
Thank you for your work.

RE: Wiki Extensions Plugin - Added by WenSong Zhou over 15 years ago

Hello.

I've installed Wiki Extensions Plugin and it's so useful .

I have a suggest:

show Tagcloud as a tab like Bugcloud plugin http://www.redmine.org/wiki/1/PluginBugcloud

RE: Wiki Extensions Plugin - Added by Dim A about 15 years ago

Hi,

I tried to run Redmine from trunk with Wiki Extensions 0.0.8, 0.0.9 and no other plugins installed.
Accessing any page gives the 500 Internal Server Error.

This is the corresponding production.log area:

/!\ FAILSAFE /!\  Sat Sep 05 07:12:40 +0400 2009
  Status: 500 Internal Server Error
  A secret is required to generate an integrity hash for cookie session data. Use config.action_controller.session = { :session_key => "_myapp_session", :secret => "some secret phrase of at least 30 characters" } in config/environment.rb
    /var/lib/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/session/cookie_store.rb:91:in `ensure_secret_secure'
    /var/lib/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/session/cookie_store.rb:59:in `initialize'
    /usr/lib/ruby/1.8/cgi/session.rb:279:in `new'
    /usr/lib/ruby/1.8/cgi/session.rb:279:in `initialize_without_cgi_reader'
    /var/lib/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/cgi_ext/session.rb:19:in `initialize'
    /var/lib/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/cgi_process.rb:94:in `new'
    /var/lib/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/cgi_process.rb:94:in `session'
    /var/lib/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/cgi_process.rb:130:in `stale_session_check!'
    /var/lib/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/cgi_process.rb:78:in `session'
    /var/lib/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/base.rb:1205:in `assign_shortcuts_without_flash'
    /var/lib/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/flash.rb:166:in `assign_shortcuts'
    /var/lib/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/base.rb:519:in `process_without_filters'
    /var/lib/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/filters.rb:606:in `process_without_session_management_support'
    /var/lib/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/session_management.rb:134:in `process'
    /var/lib/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/base.rb:392:in `process'
    /var/lib/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:183:in `handle_request'
    /var/lib/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:110:in `dispatch_unlocked'
    /var/lib/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:123:in `dispatch'
    /var/lib/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:122:in `synchronize'
    /var/lib/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:122:in `dispatch'
    /var/lib/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:132:in `dispatch_cgi'
    /var/lib/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:39:in `dispatch'
    /var/lib/gems/1.8/gems/rails-2.2.2/lib/webrick_server.rb:103:in `handle_dispatch'
    /var/lib/gems/1.8/gems/rails-2.2.2/lib/webrick_server.rb:74:in `service'
    /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
    /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
    /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
    /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
    /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
    /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
    /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
    /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
    /var/lib/gems/1.8/gems/rails-2.2.2/lib/webrick_server.rb:60:in `dispatch'
    /var/lib/gems/1.8/gems/rails-2.2.2/lib/commands/servers/webrick.rb:66
    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
    /var/lib/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require'
    /var/lib/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:521:in `new_constants_in'
    /var/lib/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require'
    /var/lib/gems/1.8/gems/rails-2.2.2/lib/commands/server.rb:49
    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
    script/server:3

RE: Wiki Extensions Plugin - Added by Eric Davis about 15 years ago

Dim A wrote:

A secret is required to generate an integrity hash for cookie session data. Use config.action_controller.session = { :session_key => "_myapp_session", :secret => "some secret phrase of at least 30 characters" } in config/environment.rb

Sounds like you are missing the session store configuration. See RedmineInstall item 4.

Eric Davis

RE: Wiki Extensions Plugin - Added by Dim A about 15 years ago

Thank you for answer Eric.

I repeated installation since step 4 (nothing was signaled done on this step) except 6 but the problem's not gone.

RE: Wiki Extensions Plugin - Added by Arnaud Martel about 15 years ago

I had the same problem and I resolved it by adding the line:

config.action_controller.session = { :session_key => "_myapp_session", :secret => "this is MY secret phrase of at least 30 characters!!!" }

in config/environmnent.rb, after line:
Rails::Initializer.run do |config|

I know that is not a clean solution but... it solves my problem!!!

Wiki Extensions Plugin 0.0.9 Released. - Added by Haruyuki Iida about 15 years ago

Hi.

Wiki Extensions Plugin 0.0.9 Released.
http://redminewikiext.googlecode.com/files/redmine_wiki_extensions-0.0.9.zip

features:

  • Now you can add any wiki pages to project menu.
  • {{lastupdated_by}} macro displays the name of user who updated the wiki page.
  • {{lastupdated_at}} macro displays the timestamp of the wiki page.

more information: http://www.r-labs.org/wiki/r-labs/Wiki_Extensions_en#Displays-the-person-who-updated-the-page

WenSong Zhou wrote:

I have a suggest:

show Tagcloud as a tab like Bugcloud plugin http://www.redmine.org/wiki/1/PluginBugcloud

Your suggestion is solved by this release. Create the tag cloud page and add it to the project menu.

Thanks.

RE: Wiki Extensions Plugin - Added by Dim A about 15 years ago

Arnaud, it works! Thanks a lot!

RE: Wiki Extensions Plugin - Added by Dim A about 15 years ago

Haru, here is a small l10n related patch attached. Hope that zero Ruby skills not revealed :-)

It would be very very nice and userful to:
  • set application-wide default SideBar and Footer
  • have operator to insert a wiki page content to application, project and user description
  • have more hooks to insert wiki content in various redmine pages (activity, tasks, new task, wiki ...) as headers, footers, sidebars ... per project and application-wide ... I'm just dreaming :-)))

Thank you!

redmine_wiki_extensions.diff (1.51 KB) redmine_wiki_extensions.diff use 'Tags' translation in sidebar; Russian l10n file

RE: Wiki Extensions Plugin - Added by Dim A about 15 years ago

Oops, I missed the 'include' macro. However, there's probably no way to include a wiki page into the user home.

Oracle Database support - Added by The Anchialos about 15 years ago

This Plugin does not support Oracle Databases, because some table names are too long. When migrating, some CREATE TABLE and CREATE SEQUENCE commands will fail with Error:

ORA-00972: identifier is too long

Names for tables, clusters, views, indexes, synonyms, tablespaces, and usernames must be 30 characters or less. You must shorten the name to no more than 30 characters for these objects.

RE: Wiki Extensions Plugin - Added by WenSong Zhou about 15 years ago

Haru Iida wrote:

Your suggestion is solved by this release. Create the tag cloud page and add it to the project menu.

It works well , thank you very much !

RE: Wiki Extensions Plugin - Added by XXX XXX about 15 years ago

There was one thing I missed:

Isn't it possible to make a macro that lists all children of a particular page? So that I can put it in the Footer page so that below every page their children are displayed as links?

Thanks in advance.

RE: Wiki Extensions Plugin - Added by XXX XXX about 15 years ago

Yes that is a way to do it, but you must embed it in the wiki page itself. I would like to list the child pages of the currently opened wiki page in the SideBar or in the Footer. Or is this already possible?

RE: Wiki Extensions Plugin - Added by XXX XXX about 15 years ago

Excuse me, but I said something wrong in my previous comment. My comment should be : "Yes that is a way to do it, but you must know the name of the page in advance. I would like to list the child pages of the currently opened wiki page in the SideBar or in the Footer. Or is this already possible?"

Wiki Extensions Plugin 0.1.0 Released. - Added by Haruyuki Iida about 15 years ago

Wiki Extensions Plugin 0.1.0 Released.
http://redminewikiext.googlecode.com/files/redmine_wiki_extensions-0.1.0.zip

  • Name of some tables were changed because of oracle can't access long table name.
  • Russian translation is added.
  • Compatible with trunk redmine.

RE: Wiki Extensions Plugin - Added by Pascal Menut about 15 years ago

Hey,

nice work. Here is my small contribution : a french translation for wiki extensions.

Regards.

fr.yml (240 Bytes) fr.yml french translation.

RE: Wiki Extensions Plugin - Added by Albrecht Backhaus about 15 years ago

Hello,

installed plugin on latest trunk. Install works like a charm. Thanks for this plugin.

I had two issues so far:
When using the Wiki History results are displaayed on a simple white page - no header, footer, theme etc. Same happens when editing entry after creation.

Wiki Extensions Plugin 0.1.1 Released. - Added by Haruyuki Iida about 15 years ago

Wiki Extensions Plugin 0.1.1 Released.
http://redminewikiext.googlecode.com/files/redmine_wiki_extensions-0.1.1.zip

Feature:
  • French translation was added.
Fixed bug:
  • No html header in Wiki History page.

Thanks Pascal Menut, Albrecht Backhaus.

RE: Wiki Extensions Plugin - Added by Albrecht Backhaus about 15 years ago

Thank you very much for you quick response - works very well.
You find German translation enclosed. The two plugin options at the permission page are not covered from the translations so far ?

de.yml (245 Bytes) de.yml

RE: Wiki Extensions Plugin - Added by Albrecht Backhaus about 15 years ago

Hello,

when adding a wiki page as an additional tab into the project menu it appears right behind the wiki tab. When selecting this added tab, the related page is displayed but the Wiki tab is again marked as selected with css class="selected" which means that it appears as the active menu item though the other tab was selected.

Regards, Albrecht

(26-50/148)