0

应显示 wiki 语法帮助的按钮帮助 (?) 显示“找不到页面”并打开奇怪的 url(%entities 确实存在)

http://redmine.bisnode.cz/projects/org-redmine-redmine/wiki/Wiki/Form%C3%A1tov%C3%A1n%C3%AD%20textu:%20%3Ca%20href=%22/help/ wiki_syntax.html%22%20class=%22help-link%22%20onclick=%22window.open("/help/wiki_syntax.html",%20"",%20"resizable=yes,%20location=no,%20width =300,%20height=640,%20menubar=no,%20status=no,%20scrollbars=yes");%20return%20false;%22%3EN%C3%A1pov%C4%9Bda%3C/a%3E%20& %20%3Ca%20href=%22/plugin_assets/wiking/help/wiki_syntax.html%22%20class=%22help-link%22%20onclick=%22window.open("/plugin_assets/wiking/help/wiki_syntax.html" ,%20"",%20"可调整大小=yes,%20location=no,%20width=300,%20height=640,%20menubar=no,%20status=no,%20scrollbars=yes");%20return%20false; %22%3EV%C3%ADce%3C/a%3E

在此处输入图像描述

在此处输入图像描述

4

2 回答 2

0

找出问题所在 - WikiNG 插件。将插件更新到最新版本(来自 svn)解决了这个问题。

于 2013-06-24T10:15:17.443 回答
0

在 Redmine Redmine 3.3.0.stable.1233 中,它在我看来。

我通过应用这个补丁解决了它:

Index: lib/wiking_wiki_helper_patch.rb
===================================================================
--- lib/wiking_wiki_helper_patch.rb (revision 78)
+++ lib/wiking_wiki_helper_patch.rb (working copy)
@@ -49,10 +49,10 @@

             if defined? ChiliProject
                 url = url_for(:controller => 'help', :action => 'wiki_syntax')
-            elsif File.exists?(File.join(Rails.root, 'public/help', current_language.to_s.downcase, 'wiki_syntax.html'))
-                url = "#{Redmine::Utils.relative_url_root}/help/#{current_language.to_s.downcase}/wiki_syntax.html"
+            elsif File.exists?(File.join(Rails.root, 'public/help', current_language.to_s.downcase, 'wiki_syntax_textile.html'))
+                url = "#{Redmine::Utils.relative_url_root}/help/#{current_language.to_s.downcase}/wiki_syntax_textile.html"
             else
-                url = "#{Redmine::Utils.relative_url_root}/help/wiki_syntax.html"
+                url = "#{Redmine::Utils.relative_url_root}/help/wiki_syntax_textile.html"
             end

             if File.exists?(File.join(Rails.root, 'plugins/wiking/assets/help/', current_language.to_s.downcase, 'wiki_syntax.html'))

见:http ://projects.andriylesyuk.com/issues/2403

此致。

于 2017-03-27T16:17:11.717 回答