Wiki Extensions Plugin

Added by Haruyuki Iida about 10 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)

Wiki Extensions Plugin 0.1.4 Released. - Added by Haruyuki Iida almost 10 years ago

Wiki Extensions Plugin 0.1.4 Released.

http://redminewikiext.googlecode.com/files/redmine_wiki_extensions-0.1.4.zip

Feature:

  • Wiki macros which provides the access counter were added.

See http://www.r-labs.org/wiki/r-labs/Wiki_Extensions_en#Access-counter for more information.

Thanks.

RE: Wiki Extensions Plugin - Added by Craig Presti almost 10 years ago

Is there any chance embedding of vimeo videos could be supported?

I've noticed the iframe functionality but it isn't quite what I'm after and I don't seem to be able to find any other way of embedding them built into redmine.

RE: Wiki Extensions Plugin - Added by Andreas Hestermeyer almost 10 years ago

I am having trouble with the extension. Using the {{comment_form}} macro, as soon as I try to save a comment, I get a ActionController::InvalidAuthenticityToken in Wiki extensionsController#add_comment error. Any idea?

Wiki Extensions Plugin 0.1.5.1 Released. - Added by Haruyuki Iida almost 10 years ago

Thanks Andreas Hestermeyer

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

Fixed bug:
  • {{comment_form}} macro doesn't work with redmine 0.8.7.

RE: Wiki Extensions Plugin - Added by Andreas Hestermeyer almost 10 years ago

You are very much welcome :). Glad you fixed it so quickly. The extension is useful for my internal collaboration platform.

One question: do you think it would be possible to implement different "edit" sections like in MediaWiki and order them hierachically? That would enhance the REDMINE Wiki a lot. MediaWiki uses - if I remember correctly - markup like "===" "====" etc. to mark the different sections and their "dept" in the hierachy.

What do you think?

Kind regards,
Andreas

RE: Wiki Extensions Plugin - Added by Peter Nilsson over 9 years ago

Problem with tables in wiki.

After installing the Wiki Extension plugin 0.1.5.1 the table tag syntax stopped working.
The wiki syntax is displayed instead of the actual table. In the preview however the table looks like it should.

For example:
Syntax:

|_.Header 1|_.Header 2|
|Cell 1|Cell 2|

Is displayed on the page after save as

|_.Header 1|_.Header 2||Cell 1|Cell 2|

Expected result:
Header 1 Header 2
Cell 1 Cell 2

Do you have any idea how to fix this problem?

Using Redmine 0.8.7

RE: Wiki Extensions Plugin - Added by Peter Nilsson over 9 years ago

Problem with table solved!

After editing (added some text) and saving the page a second time the table was shown correctly.
The first edit(adding a new line) was apparently not enough.

RE: Wiki Extensions Plugin - Added by Henrik Ammer over 9 years ago

If the table has no linebreak after the last row it breaks when Wiki Extension adds the footer for some reason. When you re-edit the page it adds a linebreak at the end so if you save it again, it works.

I actually added a ticket (#4287 which I shouldn't :) since I didn't find this page when I searched the site regarding the problem but now know that it is related to Wiki Extension and not Redmine itself.

RE: Wiki Extensions Plugin - Added by K S over 9 years ago

Haru Iida wrote:

You can download it from http://code.google.com/p/redminewikiext/downloads/list.

Hi I have a problem with redmine_wiki_ext 1.5 and 1.5.1 on redmine -0.8.7 stable

When i adding this plugin, redmine does'nt work -(The plugin was added correctly)!

Apache2 (fastcgi) LOG:

[Sun Dec 13 18:13:13 2009] [error] [client xx.xx.xx.xx] FastCGI: comm with (dynamic) server "/opt/redmine-0.8.7/public/dispatch.fcgi" aborted: (first read) idle timeout (30 sec), referer: https://xx.xx.xx.pl/tab/system_show
[Sun Dec 13 18:13:13 2009] [error] [client xx.xx.xx.xx] FastCGI: incomplete headers (0 bytes) received from server "/opt/redmine-0.8.7/public/dispatch.fcgi", referer: https://xx.xx.xx.pl/tab/system_sho

... and redmine show me web page error...

production.log is empty.

RE: Wiki Extensions Plugin - Added by Burt Culver over 9 years ago

I'm using redmine_wiki_extensions-0.1.5.1 on a up-to-date trunk copy of redmine. I am getting the following error despite running in production mode:

Processing WikiController#edit (for XXX at 2009-12-29 07:55:00) [GET]
  Parameters: {"action"=>"edit", "id"=>"it", "controller"=>"wiki", "page"=>"Wiki"}
Rendering template within layouts/base
Rendering wiki/edit

ActionView::TemplateError (undefined method `wiki_extensions_get_current_page' for #<WikiController:0x2b44e499e1f8>) on line #68 of app/views/layouts/base.rhtml:
65:     Powered by <%= link_to Redmine::Info.app_name, Redmine::Info.url %> &copy; 2006-2009 Jean-Philippe Lang
66: </div>
67: </div>
68: <%= call_hook :view_layouts_base_body_bottom %>
69: </body>
70: </html>

    lib/redmine/hook.rb:63:in `send'
    lib/redmine/hook.rb:63:in `call_hook'
    lib/redmine/hook.rb:63:in `each'
    lib/redmine/hook.rb:63:in `call_hook'
    lib/redmine/hook.rb:60:in `call_hook'
    lib/redmine/hook.rb:144:in `call_hook'
    app/views/layouts/base.rhtml:68:in `_run_rhtml_app47views47layouts47base46rhtml'
    passenger (2.2.4) lib/phusion_passenger/rack/request_handler.rb:91:in `process_request'
    passenger (2.2.4) lib/phusion_passenger/abstract_request_handler.rb:206:in `main_loop'
    passenger (2.2.4) lib/phusion_passenger/railz/application_spawner.rb:376:in `start_request_handler'
    passenger (2.2.4) lib/phusion_passenger/railz/application_spawner.rb:334:in `handle_spawn_application'
    passenger (2.2.4) lib/phusion_passenger/utils.rb:182:in `safe_fork'
    passenger (2.2.4) lib/phusion_passenger/railz/application_spawner.rb:332:in `handle_spawn_application'
    passenger (2.2.4) lib/phusion_passenger/abstract_server.rb:351:in `__send__'
    passenger (2.2.4) lib/phusion_passenger/abstract_server.rb:351:in `main_loop'
    passenger (2.2.4) lib/phusion_passenger/abstract_server.rb:195:in `start_synchronously'
    passenger (2.2.4) lib/phusion_passenger/abstract_server.rb:162:in `start'
    passenger (2.2.4) lib/phusion_passenger/railz/application_spawner.rb:213:in `start'
    passenger (2.2.4) lib/phusion_passenger/spawn_manager.rb:261:in `spawn_rails_application'
    passenger (2.2.4) lib/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
    passenger (2.2.4) lib/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application'
    passenger (2.2.4) lib/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
    passenger (2.2.4) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
    passenger (2.2.4) lib/phusion_passenger/spawn_manager.rb:254:in `spawn_rails_application'
    passenger (2.2.4) lib/phusion_passenger/spawn_manager.rb:153:in `spawn_application'
    passenger (2.2.4) lib/phusion_passenger/spawn_manager.rb:286:in `handle_spawn_application'
    passenger (2.2.4) lib/phusion_passenger/abstract_server.rb:351:in `__send__'
    passenger (2.2.4) lib/phusion_passenger/abstract_server.rb:351:in `main_loop'
    passenger (2.2.4) lib/phusion_passenger/abstract_server.rb:195:in `start_synchronously'

Rendering /mnt/redminevol/redmine_new/public/500.html (500 Internal Server Error)

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

Burt Culver wrote:

I'm using redmine_wiki_extensions-0.1.5.1 on a up-to-date trunk copy of redmine. I am getting the following error despite running in production mode:

[...]

Hi Burt.

Did you set config.cache_classes to false?
If you did, this error occurs.

Thanks.

RE: Wiki Extensions Plugin - Added by Burt Culver over 9 years ago

Haru Iida wrote:

Burt Culver wrote:

I'm using redmine_wiki_extensions-0.1.5.1 on a up-to-date trunk copy of redmine. I am getting the following error despite running in production mode:

[...]

Hi Burt.

Did you set config.cache_classes to false?
If you did, this error occurs.

Thanks.

I did for debugging! I've turned it off now and its working great. Great plugin. Thanks.

RE: Wiki Extensions Plugin - Added by Francisco Benítez León over 9 years ago

Hi Haru,

I've just installed the plugin and noticed that a spanish translation was missing, so I've attached one :)

I haven't tested it yet but looks promising.

Regards,
Francisco

redmine_wiki_extensions_es.tar.gz - Redmine Wiki Extensions spanish translation (425 Bytes)

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

Hi Francisco.

Francisco Benítez León wrote:

I've just installed the plugin and noticed that a spanish translation was missing, so I've attached one :)

Thanks for your support. Please wait for next release.

Regards.

Wiki Extensions Plugin 0.2.0 released. - Added by Haruyuki Iida over 9 years ago

Wiki Extensions Plugin 0.2.0 released.

http://redminewikiext.googlecode.com/files/redmine_wiki_extensions-0.2.0.zip

Caution: This release works only on Redmine 0.9.0 or current trunk.

Features:

Fixed bugs:

  • Sometimes Footer function breaks table format.
  • Can't add tab with Redmine is 0.9
  • and more.

Regards.

RE: Wiki Extensions Plugin - Added by Felipe Campo over 9 years ago

I just Installed de latest version 0.2.0 with the 0.9.2 redmine version and it doesnt apperar in the plugin list. I swiched back to 0.1.5.1 and everithing is fine

RE: Wiki Extensions Plugin - Added by James Turnbull over 9 years ago

I have the same issue on Redmine TRUNK. 1.5.1 works fine - 2.0 doesn't show a module to be enabled.

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

Hi Felipe, James.

Thank you for your reporting.

James Turnbull wrote:

I have the same issue on Redmine TRUNK. 1.5.1 works fine - 2.0 doesn't show a module to be enabled.

I'm not sure what's happened.
Can you give me a result of "ruby script/about" ?

RE: Wiki Extensions Plugin - Added by James Turnbull over 9 years ago

Here 'tis:

About your application's environment
Ruby version              1.8.6 (x86_64-linux)
RubyGems version          1.3.5
Rack version              1.0
Rails version             2.3.4
Active Record version     2.3.4
Active Resource version   2.3.4
Action Mailer version     2.3.4
Active Support version    2.3.4
Application root          /opt/redmine
Environment               production
Database adapter          mysql
Database schema version   20100221100219

About your Redmine plugins
Google Analytics plugin          0.1.0
Markdown formatter               0.0.1
Redmine Vote plugin              0.0.2
Redmine Hudson plugin            1.0.1.1
Redmine Wiki Extensions plugin   0.2.0
Bots filter                      1.02

RE: Wiki Extensions Plugin - Added by Roland Fehrenbacher over 9 years ago

Hi Felipe, James.

I had the same problem. The permissions in the zip file are not world readable. You can do

find redmine_wiki_extensions-0.2.0 -type f | xargs chmod 644
find redmine_wiki_extensions-0.2.0 -type d | xargs chmod 755

to fix it.

Roland

SideBar displays at bottom instead of right side - Added by Roland Fehrenbacher over 9 years ago

Hi Haru,

this happens with my installation running redmine 0.9.2 and Wiki Extensions Plugin 0.2.0. Do you have an idea what could have gone wrong?

Thanks,

Roland

RE: SideBar displays at bottom instead of right side - Added by Haruyuki Iida over 9 years ago

Hi Roland,

Roland Fehrenbacher wrote:

Hi Haru,

this happens with my installation running redmine 0.9.2 and Wiki Extensions Plugin 0.2.0. Do you have an idea what could have gone wrong?

I think plugin's javascript is not working on your site.
Is the directory 'public/plugin_assets' writable?
Is 'public/plugin_assets/redmine_wiki_extensions/javascripts/wiki_extensions.js' exists?

RE: SideBar displays at bottom instead of right side - Added by Roland Fehrenbacher over 9 years ago

Hi Haru,

Is the directory 'public/plugin_assets' writable?

right on the spot:

public/plugin_assets/redmine_wiki_extensions

had the wrong ownership.

Thanks for your quick answer,

Roland

RE: Wiki Extensions Plugin - Added by Roland Fehrenbacher over 9 years ago

Hi Haru,

is there a possibility to put the toc in the SideBar? Just writing {{toc}} obviously doesn't work, since it would just use the toc of the SideBar page.

Roland

RE: Wiki Extensions Plugin - Added by Henrik Ammer over 9 years ago

I didn't like how the tags macro displayed the tags of the wikipage so I did some changes to it which I'm attaching here for others to enjoy.
What happens is it creates a list (ul) of the tags with a link to the page.

Also note that the CSS rules I've added that adds the text "Tags: " before the list is not supported in all browsers (ex IE 7 or less).

The rb file goes into redmine/vendor/plugins/redmine_wiki_extensions/lib/ and the css file goes into redmine/vendor/plugins/redmine_wiki_extensions/assets/stylesheets/. I added "ob1_" to the filenames just to make them unique on this thread but you have to remove that part of the filename if you want it to work.

I hope someone likes it more then me. :)

ob1_wiki_extensions_tags_macro.rb Magnifier - Altered tags macro (2.34 KB)

ob1_wiki_extensions.css Magnifier - CSS addon for altered tags macro (1.29 KB)

1 2 3 4 5 6 (76-100/148)