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.
- 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
You can download it from http://code.google.com/p/redminewikiext/downloads/list.
RE: Wiki Extensions Plugin - Added by Konstantin Zaitsev over 15 years ago
The following error is displayed on Redmine 0.8.4 installation:
Error executing the tagcloud macro (undefined method `page_count' for nil:NilClass)
RE: Wiki Extensions Plugin - Added by Haruyuki Iida over 15 years ago
Thank you, Konstantin.
This error is displayed when there is no tag in the project.
And I fixed it. Could you try this one ?
http://redminewikiext.googlecode.com/files/redmine_wiki_extensions-0.0.3.zip
RE: Wiki Extensions Plugin - Added by Konstantin Zaitsev over 15 years ago
Thank you, now it is works.
RE: Wiki Extensions Plugin - Added by Mischa The Evil over 15 years ago
This seems to be a usefull plugin to me... I'll test it soon to see how it goes... Thanks for releasing this plugin.
Btw: this plugin seems to incorporate the feature which is patched for issue #2010. Let's see if this implementation does not incorporate the "issues" mentioned in issue #2010. Will see...
Kind regards,
Mischa.
Wiki Extensions Plugin 0.0.5 was released. - Added by Haruyuki Iida about 15 years ago
Wiki Extensions Plugin 0.0.5 was released.
Now you can write a project-specific CSS.
http://redminewikiext.googlecode.com/files/redmine_wiki_extensions-0.0.5.zip
Demo page is here.
http://www.r-labs.org/wiki/r-labs/Wiki_Extensions_en#Editing-Style-Sheet
RE: Wiki Extensions Plugin - Added by Darryl Winder about 15 years ago
Great Plugin !! makes good use of all that space on the sidebar and fills in a gap in redmine wiki functionality
I suspect it may not be compatible with redmine 0.8.0 as for us it broke any project it was enabled on in that version, however after upgrading to 0.8.4 everything worked seamlessly.
PS Note for newbies (like myself) its SideBar with a capital B !
PPS I know that form of tag cloud format is fashionable (and probably hard work) but a plain vanila , all tags the same font would be a nice option
RE: Wiki Extensions Plugin - Added by Haruyuki Iida about 15 years ago
Hi. Darryl Winder.
Great Plugin !! makes good use of all that space on the sidebar and fills in a gap in redmine wiki functionality
Thank you.
PPS I know that form of tag cloud format is fashionable (and probably hard work) but a plain vanila , all tags the same font would be a nice option
Create the wiki page named "StyleSheet" and define the font-size style in it.
for example.
a.tag_level5,a.tag_level4,a.tag_level3,a.tag_level2,a.tag_level1 { font-size: inherit; }
Then, every tags will be the same font.
RE: Wiki Extensions Plugin - Added by Darryl Winder about 15 years ago
Thanks once again. Don't you love it when things just work !
Problems on using plug-in - Added by si yeon hwang about 15 years ago
Hi,
I've just installed the wiki plug-in to my Redmine. After I change my settings to use 'Wiki Extenstion' in my redmine, I get an error message as below.
"undefined method `wiki_extensions_get_current_page'"
I have no idea what went wrong with that. Currently I'm using :
- Redmine 0.8.4 revision 2778
- Windows xp sp3
- MySQL 5.0.33
Please check if you guys can give me any of advise or solution for the problem above.
Thank you.
RE: Wiki Extensions Plugin - Added by Haruyuki Iida about 15 years ago
Hi.
si yeon hwang wrote:
Hi,
I've just installed the wiki plug-in to my Redmine. After I change my settings to use 'Wiki Extenstion' in my redmine, I get an error message as below.
"undefined method `wiki_extensions_get_current_page'"
This error occurs when redmine runs on development mode.
If your site runs on development mode too, turn it into production mode.
RE: Wiki Extensions Plugin - Added by Marcin Ryzycki about 15 years ago
Hi
I've got errors in place where wiki page should display comments list ( {{comments}} placeholder):
Error executing the comments macro (Translation string with multiple values: label_added_time_by)
Also when editing wiki page I see fields for tags with notices:
translation missing: en, label_wikiextensions_tags
I've tried install this ext in in vendor/plugins/wiki_extensions and in vendor/plugins/redmine_wiki_extensions - in both cases I've got theese errors.
RE: Wiki Extensions Plugin - Added by Haruyuki Iida about 15 years ago
Hi Marcin.
Version 0.0.5 was not compatible with trunk redmine.
I fixed the problem and released a new version 0.0.6. Please try this one.
http://redminewikiext.googlecode.com/files/redmine_wiki_extensions-0.0.6.zip
Regards.
RE: Wiki Extensions Plugin - Added by Wang Jinxing about 15 years ago
hi Haru Iida
The plugin is very good. But I have a questtion ask for you. How to display the comments in all wiki pages. I don't input {{comment_forms}} every time.
So can you give to me a solution.
thanks
Wiki Extensions Plugin 0.0.7 released. - Added by Haruyuki Iida about 15 years ago
Hi Wang.
Wang Jinxing wrote:
The plugin is very good. But I have a questtion ask for you. How to display the comments in all wiki pages. I don't input {{comment_forms}} every time.
I released the Wiki Extensions Plugin 0.0.7.
http://redminewikiext.googlecode.com/files/redmine_wiki_extensions-0.0.7.zip
- If you create the page named "Footer", displays it at the bottom of every pages. So if you want to add the comment form to all of the pages, write
{{comment_form}}
to the page "Footer". {{recent}}
macro was added. It displays the list of the recently changed pages.
For more information, see http://www.r-labs.org/wiki/r-labs/Wiki_Extensions_en#Footer .
RE: Wiki Extensions Plugin - Added by Kioma Aldecoa about 15 years ago
I can't reach your demo web site -- is it up?
RE: Wiki Extensions Plugin - Added by Vitaly Klimov about 15 years ago
Latest build 0.0.7 displayed error while trying to use recent macro:
Error executing the recent macro (undefined method 'l_date' for #)
i have to change l_date to format_date in file wiki_extensions_recent_macro.rb for this macro to work.
Also it would be nice if you will be able to move formatting and text new for new macro to the language resource file so we will be able to use localized version of it.
RE: Wiki Extensions Plugin - Added by Andrey Kostrov about 15 years ago
I have a problem using this plugin with Collapse (PluginCollapse) plugin.
When I install both of them and try to go to Admin page or Home page - I get an error.
It true for both 0.8.4 and trunk Redmine versions. Wiki extensions version 0.0.6 and 0.0.7.
If I remove Wiki extensions - everything Ok.
ActionView::TemplateError (undefined local variable or method `render_project_hierarchy_implemented' for #<ActionView::Base:0x6413088>) on line #43 of layouts/base.rhtml:
40: <%= link_to l(:label_search), {:controller => 'search', :action => 'index', :id => Herve Harster}, :accesskey => accesskey(:search) >:
41: <= text_field_tag 'q', @question, :size => 20, :class => 'small', :accesskey => accesskey(:quick_search) >
42: < end >
43: < if render_project_hierarchy_implemented >
44: <= render_project_jump_box if (Setting.plugin_redmine_collapse['hide_project_selector'] '0') >
45: < else >
46: <= render :partial => 'layouts/project_selector' if User.current.memberships.any? && (Setting.plugin_redmine_collapse['hide_project_selector'] '0') %>
vendor/plugins/redmine_collapse/app/views/layouts/base.rhtml:43:in `_run_erb_47vendor47plugins47redmine_collapse47app47views47layouts47base46rhtml'
vendor/rails/actionpack/lib/action_view/base.rb:342:in `send'
vendor/rails/actionpack/lib/action_view/base.rb:342:in `execute'
vendor/rails/actionpack/lib/action_view/template_handlers/compilable.rb:29:in `send'
vendor/rails/actionpack/lib/action_view/template_handlers/compilable.rb:29:in `render'
vendor/rails/actionpack/lib/action_view/template.rb:35:in `render'
vendor/rails/actionpack/lib/action_view/template.rb:22:in `render_template'
vendor/rails/actionpack/lib/action_view/base.rb:248:in `render_file'
vendor/rails/actionpack/lib/action_controller/layout.rb:257:in `render_without_benchmark'
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in `render'
vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:8:in `realtime'
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in `render'
vendor/plugins/redmine_wiki_extensions/lib/wiki_extensions_wiki_controller_patch.rb:44:in `render'
app/controllers/wiki_controller.rb:57:in `index'
vendor/rails/actionpack/lib/action_controller/base.rb:1166:in `send'
vendor/rails/actionpack/lib/action_controller/base.rb:1166:in `perform_action_without_filters'
vendor/rails/actionpack/lib/action_controller/filters.rb:579:in `call_filters'
vendor/rails/actionpack/lib/action_controller/filters.rb:572:in `perform_action_without_benchmark'
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/1.8/benchmark.rb:293:in `measure'
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
vendor/rails/actionpack/lib/action_controller/rescue.rb:201:in `perform_action_without_caching'
vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:13:in `perform_action'
vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache'
vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in `cache'
vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:12:in `perform_action'
vendor/rails/actionpack/lib/action_controller/base.rb:529:in `send'
vendor/rails/actionpack/lib/action_controller/base.rb:529:in `process_without_filters'
vendor/rails/actionpack/lib/action_controller/filters.rb:568:in `process_without_session_management_support'
vendor/rails/actionpack/lib/action_controller/session_management.rb:130:in `process'
vendor/rails/actionpack/lib/action_controller/base.rb:389:in `process'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:149:in `handle_request'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in `dispatch'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `synchronize'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `dispatch'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in `dispatch'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel/rails.rb:76:in `process'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel/rails.rb:74:in `synchronize'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel/rails.rb:74:in `process'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:159:in `process_client'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:158:in `each'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:158:in `process_client'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:285:in `run'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:285:in `initialize'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:285:in `new'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:285:in `run'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:268:in `initialize'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:268:in `new'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:268:in `run'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel/configurator.rb:282:in `run'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel/configurator.rb:281:in `each'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel/configurator.rb:281:in `run'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/bin/mongrel_rails:128:in `run'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel/command.rb:212:in `run'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/bin/mongrel_rails:281
C:/Program Files/BitNami Redmine Stack/ruby/bin/mongrel_rails:19:in `load'
C:/Program Files/BitNami Redmine Stack/ruby/bin/mongrel_rails:19
Rendering C:/Program Files/BitNami Redmine Stack/apps/redmine/public/500.html (500 Internal Server Error)
RE: Wiki Extensions Plugin - Added by Mischa The Evil about 15 years ago
Andrey Kostrov wrote:
I have a problem using this plugin with Collapse (PluginCollapse) plugin.
When I install both of them and try to go to Admin page or Home page - I get an error.
It true for both 0.8.4 and trunk Redmine versions. Wiki extensions version 0.0.6 and 0.0.7.If I remove Wiki extensions - everything Ok.
snippet removed to spare lenght :)
Andrey,
Thanks for bringing this error into public. I can now confirm that this issue indeed comes-up when both the Wiki Extensions plugin and the Collapse plugin are installed at the same time.
This error is caused by the fact that the Wiki Extensions plugin is using a technique to patch the Redmine core's WikiController
module which causes that Collapse plugin's CollapseApplicationHelperPatch
module isn't inserted into the Redmine core's ApplicationHelper
. In that case the described error comes-up.
After some discussion with Eric Davis over IRC it seems that it can be solved by changing the way how I patch Redmine core's ApplicationHelper
for the Collapse plugin. I'll look into such solution tomorrow and post my results back into this thread.
Relevant IRC-log snippets:
... [22:29] <+Mischa_The_Evil> +edavis10: AFAICS untill now is that it's due to the fact that Wiki Extensions overrides the core's WikiController from a module which itself requires WikiController and @application@. The latter seems to cause the issue... ... [22:30] <+edavis10> Mischa_The_Evil: could be that ApplicationController loads ApplicationHelper before your plugin has a chance to insert it's code. ... [22:42:22] <+edavis10> Mischa_The_Evil: instead of adding methods to ApplicationHelper, create your own helper (CollapseHelper) in app/helpers. Then using a patch, you can include that helper into the ApplicationController. ...
Edit by Mischa The Evil: I've added the conflict mutually to the Plugin List under Collapse plugin and Wiki Extensions plugin.
Kind regards,
Mischa.
RE: Wiki Extensions Plugin - Added by Wang Jinxing about 15 years ago
hi Haru Iida
Thanks for your informations. I try to upgrade the plugin. But I get some error informations. Can you help me.
About upgrade steps:
#Stop redmine.
#Delete redmine_wiki_extensions-0.0.6
#Copy redmine_wiki_extensions-0.0.7 plugin directory into #{RAILS_ROOT}/vendor/plugins.
#rake db:migrate_plugins RAILS_ENV=production
#Restart redmine.
[root@proxy plugins]# rake db:migrate_plugins RAILS_ENV=production
(in /opt/redmine-0.8.4)
Migrating engines...
Migrating actionwebservice...
Migrating acts_as_activity_provider...
Migrating acts_as_attachable...
Migrating acts_as_customizable...
Migrating acts_as_event...
Migrating acts_as_list...
Migrating acts_as_searchable...
Migrating acts_as_tree...
Migrating acts_as_versioned...
Migrating acts_as_watchable...
Migrating classic_pagination...
Migrating coderay-0.7.6.227...
Migrating gloc-1.1.0...
Migrating gravatar...
Migrating redmine_wiki_extensions...
Migrating redmine_wiki_extensions.bak06...
== 1 CreateWikiExtensionsComments: migrating ==================================
-- create_table(:wiki_extensions_comments)
rake aborted!
Mysql::Error: Table 'wiki_extensions_comments' already exists: CREATE TABLE `wiki_extensions_comments` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `wiki_page_id` int(11), `key_word` varchar(255), `user_id` int(11), `comment` text, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB
(See full trace by running task with --trace)
RE: Wiki Extensions Plugin - Added by Thomas M about 15 years ago
Hi,
it looks like you are not doing exactly what you've written :
- #Delete redmine_wiki_extensions-0.0.6
Migrating redmine_wiki_extensions.bak06...
Delete (or move somewhere else) the redmine_wiki_extensions.bak06
folder from the vendor/plugins directory.
RE: Wiki Extensions Plugin - Added by Wang Jinxing about 15 years ago
hi Thomas
Thanks for your informations.
I have already fixed the question.
thank you very much.
RE: Wiki Extensions Plugin - Added by Haruyuki Iida about 15 years ago
Hi Mischa.
Thank you for your information.
I tried to solve this problem last few days but I could not make it.
I hope you will make it.
By the way, Collapse plugin is very cool! I'm very impressed.
I want to install it to my site if conflict is solved.
Thanks.
Wiki Extensions Plugin 0.0.8 Released. - Added by Haruyuki Iida about 15 years ago
Hi. Vitaly.
Thank you for your reporting.
I released Wiki Extensions Plugin 0.0.8.
http://redminewikiext.googlecode.com/files/redmine_wiki_extensions-0.0.8.zip
- Fixed date formatting error of recent macro.
- Add localization of new macro.
note:
Sorry, conflict with Collapse Plugin is not fixed.
If you use Collapse Plugin, Don't install Wiki Extension Plugin.
RE: Wiki Extensions Plugin - Added by Billy T about 15 years ago
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.