From 74a691de1921bc1e762b05c5717012f55652b8fe Mon Sep 17 00:00:00 2001 From: Marius Balteanu Date: Mon, 19 Feb 2024 20:41:41 +0000 Subject: [PATCH] * Introduces @HelpController@ and a new route @help/wiki_syntax/(:type)@ to serve wiki syntax help files. * Moves all wiki syntax help files to @app/views/help@ and CSS files to asset pipeline. (#39111, #40137). git-svn-id: https://svn.redmine.org/redmine/trunk@22719 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- .../assets/stylesheets}/wiki_syntax.css | 0 .../stylesheets}/wiki_syntax_detailed.css | 0 app/controllers/help_controller.rb | 25 +++++++++++++++++++ .../help/code_highlighting_languages.html | 0 .../ar/wiki_syntax_detailed_markdown.html | 0 .../ar/wiki_syntax_detailed_textile.html | 0 .../wiki_syntax}/ar/wiki_syntax_markdown.html | 0 .../wiki_syntax}/ar/wiki_syntax_textile.html | 0 .../az/wiki_syntax_detailed_markdown.html | 0 .../az/wiki_syntax_detailed_textile.html | 0 .../wiki_syntax}/az/wiki_syntax_markdown.html | 0 .../wiki_syntax}/az/wiki_syntax_textile.html | 0 .../bg/wiki_syntax_detailed_markdown.html | 0 .../bg/wiki_syntax_detailed_textile.html | 0 .../wiki_syntax}/bg/wiki_syntax_markdown.html | 0 .../wiki_syntax}/bg/wiki_syntax_textile.html | 0 .../bs/wiki_syntax_detailed_markdown.html | 0 .../bs/wiki_syntax_detailed_textile.html | 0 .../wiki_syntax}/bs/wiki_syntax_markdown.html | 0 .../wiki_syntax}/bs/wiki_syntax_textile.html | 0 .../ca/wiki_syntax_detailed_markdown.html | 0 .../ca/wiki_syntax_detailed_textile.html | 0 .../wiki_syntax}/ca/wiki_syntax_markdown.html | 0 .../wiki_syntax}/ca/wiki_syntax_textile.html | 0 .../cs/wiki_syntax_detailed_markdown.html | 0 .../cs/wiki_syntax_detailed_textile.html | 0 .../wiki_syntax}/cs/wiki_syntax_markdown.html | 0 .../wiki_syntax}/cs/wiki_syntax_textile.html | 0 .../da/wiki_syntax_detailed_markdown.html | 0 .../da/wiki_syntax_detailed_textile.html | 0 .../wiki_syntax}/da/wiki_syntax_markdown.html | 0 .../wiki_syntax}/da/wiki_syntax_textile.html | 0 .../de/wiki_syntax_common_mark.html | 0 .../de/wiki_syntax_detailed_common_mark.html | 0 .../de/wiki_syntax_detailed_markdown.html | 0 .../de/wiki_syntax_detailed_textile.html | 0 .../wiki_syntax}/de/wiki_syntax_markdown.html | 0 .../wiki_syntax}/de/wiki_syntax_textile.html | 0 .../el/wiki_syntax_detailed_markdown.html | 0 .../el/wiki_syntax_detailed_textile.html | 0 .../wiki_syntax}/el/wiki_syntax_markdown.html | 0 .../wiki_syntax}/el/wiki_syntax_textile.html | 0 .../en-gb/wiki_syntax_detailed_markdown.html | 0 .../en-gb/wiki_syntax_detailed_textile.html | 0 .../en-gb/wiki_syntax_markdown.html | 0 .../en-gb/wiki_syntax_textile.html | 0 .../en/wiki_syntax_common_mark.html | 0 .../en/wiki_syntax_detailed_common_mark.html | 0 .../en/wiki_syntax_detailed_markdown.html | 0 .../en/wiki_syntax_detailed_textile.html | 0 .../wiki_syntax}/en/wiki_syntax_markdown.html | 0 .../wiki_syntax}/en/wiki_syntax_textile.html | 0 .../es-pa/wiki_syntax_detailed_markdown.html | 0 .../es-pa/wiki_syntax_detailed_textile.html | 0 .../es-pa/wiki_syntax_markdown.html | 0 .../es-pa/wiki_syntax_textile.html | 0 .../es/wiki_syntax_detailed_markdown.html | 0 .../es/wiki_syntax_detailed_textile.html | 0 .../wiki_syntax}/es/wiki_syntax_markdown.html | 0 .../wiki_syntax}/es/wiki_syntax_textile.html | 0 .../et/wiki_syntax_detailed_markdown.html | 0 .../et/wiki_syntax_detailed_textile.html | 0 .../wiki_syntax}/et/wiki_syntax_markdown.html | 0 .../wiki_syntax}/et/wiki_syntax_textile.html | 0 .../eu/wiki_syntax_detailed_markdown.html | 0 .../eu/wiki_syntax_detailed_textile.html | 0 .../wiki_syntax}/eu/wiki_syntax_markdown.html | 0 .../wiki_syntax}/eu/wiki_syntax_textile.html | 0 .../fa/wiki_syntax_detailed_markdown.html | 0 .../fa/wiki_syntax_detailed_textile.html | 0 .../wiki_syntax}/fa/wiki_syntax_markdown.html | 0 .../wiki_syntax}/fa/wiki_syntax_textile.html | 0 .../fi/wiki_syntax_detailed_markdown.html | 0 .../fi/wiki_syntax_detailed_textile.html | 0 .../wiki_syntax}/fi/wiki_syntax_markdown.html | 0 .../wiki_syntax}/fi/wiki_syntax_textile.html | 0 .../fr/wiki_syntax_detailed_markdown.html | 0 .../fr/wiki_syntax_detailed_textile.html | 0 .../wiki_syntax}/fr/wiki_syntax_markdown.html | 0 .../wiki_syntax}/fr/wiki_syntax_textile.html | 0 .../gl/wiki_syntax_detailed_markdown.html | 0 .../gl/wiki_syntax_detailed_textile.html | 0 .../wiki_syntax}/gl/wiki_syntax_markdown.html | 0 .../wiki_syntax}/gl/wiki_syntax_textile.html | 0 .../he/wiki_syntax_detailed_markdown.html | 0 .../he/wiki_syntax_detailed_textile.html | 0 .../wiki_syntax}/he/wiki_syntax_markdown.html | 0 .../wiki_syntax}/he/wiki_syntax_textile.html | 0 .../hr/wiki_syntax_detailed_markdown.html | 0 .../hr/wiki_syntax_detailed_textile.html | 0 .../wiki_syntax}/hr/wiki_syntax_markdown.html | 0 .../wiki_syntax}/hr/wiki_syntax_textile.html | 0 .../hu/wiki_syntax_detailed_markdown.html | 0 .../hu/wiki_syntax_detailed_textile.html | 0 .../wiki_syntax}/hu/wiki_syntax_markdown.html | 0 .../wiki_syntax}/hu/wiki_syntax_textile.html | 0 .../id/wiki_syntax_detailed_markdown.html | 0 .../id/wiki_syntax_detailed_textile.html | 0 .../wiki_syntax}/id/wiki_syntax_markdown.html | 0 .../wiki_syntax}/id/wiki_syntax_textile.html | 0 .../it/wiki_syntax_detailed_markdown.html | 0 .../it/wiki_syntax_detailed_textile.html | 0 .../wiki_syntax}/it/wiki_syntax_markdown.html | 0 .../wiki_syntax}/it/wiki_syntax_textile.html | 0 .../ja/wiki_syntax_detailed_markdown.html | 0 .../ja/wiki_syntax_detailed_textile.html | 0 .../wiki_syntax}/ja/wiki_syntax_markdown.html | 0 .../wiki_syntax}/ja/wiki_syntax_textile.html | 0 .../ko/wiki_syntax_detailed_markdown.html | 0 .../ko/wiki_syntax_detailed_textile.html | 0 .../wiki_syntax}/ko/wiki_syntax_markdown.html | 0 .../wiki_syntax}/ko/wiki_syntax_textile.html | 0 .../lt/wiki_syntax_detailed_markdown.html | 0 .../lt/wiki_syntax_detailed_textile.html | 0 .../wiki_syntax}/lt/wiki_syntax_markdown.html | 0 .../wiki_syntax}/lt/wiki_syntax_textile.html | 0 .../lv/wiki_syntax_detailed_markdown.html | 0 .../lv/wiki_syntax_detailed_textile.html | 0 .../wiki_syntax}/lv/wiki_syntax_markdown.html | 0 .../wiki_syntax}/lv/wiki_syntax_textile.html | 0 .../mk/wiki_syntax_detailed_markdown.html | 0 .../mk/wiki_syntax_detailed_textile.html | 0 .../wiki_syntax}/mk/wiki_syntax_markdown.html | 0 .../wiki_syntax}/mk/wiki_syntax_textile.html | 0 .../mn/wiki_syntax_detailed_markdown.html | 0 .../mn/wiki_syntax_detailed_textile.html | 0 .../wiki_syntax}/mn/wiki_syntax_markdown.html | 0 .../wiki_syntax}/mn/wiki_syntax_textile.html | 0 .../nl/wiki_syntax_detailed_markdown.html | 0 .../nl/wiki_syntax_detailed_textile.html | 0 .../wiki_syntax}/nl/wiki_syntax_markdown.html | 0 .../wiki_syntax}/nl/wiki_syntax_textile.html | 0 .../no/wiki_syntax_detailed_markdown.html | 0 .../no/wiki_syntax_detailed_textile.html | 0 .../wiki_syntax}/no/wiki_syntax_markdown.html | 0 .../wiki_syntax}/no/wiki_syntax_textile.html | 0 .../pl/wiki_syntax_detailed_markdown.html | 0 .../pl/wiki_syntax_detailed_textile.html | 0 .../wiki_syntax}/pl/wiki_syntax_markdown.html | 0 .../wiki_syntax}/pl/wiki_syntax_textile.html | 0 .../pt-br/wiki_syntax_detailed_markdown.html | 0 .../pt-br/wiki_syntax_detailed_textile.html | 0 .../pt-br/wiki_syntax_markdown.html | 0 .../pt-br/wiki_syntax_textile.html | 0 .../pt/wiki_syntax_detailed_markdown.html | 0 .../pt/wiki_syntax_detailed_textile.html | 0 .../wiki_syntax}/pt/wiki_syntax_markdown.html | 0 .../wiki_syntax}/pt/wiki_syntax_textile.html | 0 .../ro/wiki_syntax_detailed_markdown.html | 0 .../ro/wiki_syntax_detailed_textile.html | 0 .../wiki_syntax}/ro/wiki_syntax_markdown.html | 0 .../wiki_syntax}/ro/wiki_syntax_textile.html | 0 .../ru/wiki_syntax_detailed_markdown.html | 0 .../ru/wiki_syntax_detailed_textile.html | 0 .../wiki_syntax}/ru/wiki_syntax_markdown.html | 0 .../wiki_syntax}/ru/wiki_syntax_textile.html | 0 .../sk/wiki_syntax_detailed_markdown.html | 0 .../sk/wiki_syntax_detailed_textile.html | 0 .../wiki_syntax}/sk/wiki_syntax_markdown.html | 0 .../wiki_syntax}/sk/wiki_syntax_textile.html | 0 .../sl/wiki_syntax_detailed_markdown.html | 0 .../sl/wiki_syntax_detailed_textile.html | 0 .../wiki_syntax}/sl/wiki_syntax_markdown.html | 0 .../wiki_syntax}/sl/wiki_syntax_textile.html | 0 .../sq/wiki_syntax_detailed_markdown.html | 0 .../sq/wiki_syntax_detailed_textile.html | 0 .../wiki_syntax}/sq/wiki_syntax_markdown.html | 0 .../wiki_syntax}/sq/wiki_syntax_textile.html | 0 .../sr-yu/wiki_syntax_detailed_markdown.html | 0 .../sr-yu/wiki_syntax_detailed_textile.html | 0 .../sr-yu/wiki_syntax_markdown.html | 0 .../sr-yu/wiki_syntax_textile.html | 0 .../sr/wiki_syntax_detailed_markdown.html | 0 .../sr/wiki_syntax_detailed_textile.html | 0 .../wiki_syntax}/sr/wiki_syntax_markdown.html | 0 .../wiki_syntax}/sr/wiki_syntax_textile.html | 0 .../sv/wiki_syntax_detailed_markdown.html | 0 .../sv/wiki_syntax_detailed_textile.html | 0 .../wiki_syntax}/sv/wiki_syntax_markdown.html | 0 .../wiki_syntax}/sv/wiki_syntax_textile.html | 0 .../ta-in/wiki_syntax_detailed_markdown.html | 0 .../ta-in/wiki_syntax_detailed_textile.html | 0 .../ta-in/wiki_syntax_markdown.html | 0 .../ta-in/wiki_syntax_textile.html | 0 .../th/wiki_syntax_detailed_markdown.html | 0 .../th/wiki_syntax_detailed_textile.html | 0 .../wiki_syntax}/th/wiki_syntax_markdown.html | 0 .../wiki_syntax}/th/wiki_syntax_textile.html | 0 .../tr/wiki_syntax_detailed_markdown.html | 0 .../tr/wiki_syntax_detailed_textile.html | 0 .../wiki_syntax}/tr/wiki_syntax_markdown.html | 0 .../wiki_syntax}/tr/wiki_syntax_textile.html | 0 .../uk/wiki_syntax_detailed_markdown.html | 0 .../uk/wiki_syntax_detailed_textile.html | 0 .../wiki_syntax}/uk/wiki_syntax_markdown.html | 0 .../wiki_syntax}/uk/wiki_syntax_textile.html | 0 .../vi/wiki_syntax_detailed_markdown.html | 0 .../vi/wiki_syntax_detailed_textile.html | 0 .../wiki_syntax}/vi/wiki_syntax_markdown.html | 0 .../wiki_syntax}/vi/wiki_syntax_textile.html | 0 .../zh-tw/wiki_syntax_detailed_markdown.html | 0 .../zh-tw/wiki_syntax_detailed_textile.html | 0 .../zh-tw/wiki_syntax_markdown.html | 0 .../zh-tw/wiki_syntax_textile.html | 0 .../zh/wiki_syntax_detailed_markdown.html | 0 .../zh/wiki_syntax_detailed_textile.html | 0 .../wiki_syntax}/zh/wiki_syntax_markdown.html | 0 .../wiki_syntax}/zh/wiki_syntax_textile.html | 0 config/routes.rb | 2 ++ 209 files changed, 27 insertions(+) rename {public/help => app/assets/stylesheets}/wiki_syntax.css (100%) rename {public/help => app/assets/stylesheets}/wiki_syntax_detailed.css (100%) create mode 100644 app/controllers/help_controller.rb rename {public => app/views}/help/code_highlighting_languages.html (100%) rename {public/help => app/views/help/wiki_syntax}/ar/wiki_syntax_detailed_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/ar/wiki_syntax_detailed_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/ar/wiki_syntax_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/ar/wiki_syntax_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/az/wiki_syntax_detailed_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/az/wiki_syntax_detailed_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/az/wiki_syntax_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/az/wiki_syntax_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/bg/wiki_syntax_detailed_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/bg/wiki_syntax_detailed_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/bg/wiki_syntax_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/bg/wiki_syntax_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/bs/wiki_syntax_detailed_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/bs/wiki_syntax_detailed_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/bs/wiki_syntax_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/bs/wiki_syntax_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/ca/wiki_syntax_detailed_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/ca/wiki_syntax_detailed_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/ca/wiki_syntax_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/ca/wiki_syntax_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/cs/wiki_syntax_detailed_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/cs/wiki_syntax_detailed_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/cs/wiki_syntax_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/cs/wiki_syntax_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/da/wiki_syntax_detailed_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/da/wiki_syntax_detailed_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/da/wiki_syntax_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/da/wiki_syntax_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/de/wiki_syntax_common_mark.html (100%) rename {public/help => app/views/help/wiki_syntax}/de/wiki_syntax_detailed_common_mark.html (100%) rename {public/help => app/views/help/wiki_syntax}/de/wiki_syntax_detailed_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/de/wiki_syntax_detailed_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/de/wiki_syntax_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/de/wiki_syntax_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/el/wiki_syntax_detailed_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/el/wiki_syntax_detailed_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/el/wiki_syntax_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/el/wiki_syntax_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/en-gb/wiki_syntax_detailed_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/en-gb/wiki_syntax_detailed_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/en-gb/wiki_syntax_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/en-gb/wiki_syntax_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/en/wiki_syntax_common_mark.html (100%) rename {public/help => app/views/help/wiki_syntax}/en/wiki_syntax_detailed_common_mark.html (100%) rename {public/help => app/views/help/wiki_syntax}/en/wiki_syntax_detailed_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/en/wiki_syntax_detailed_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/en/wiki_syntax_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/en/wiki_syntax_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/es-pa/wiki_syntax_detailed_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/es-pa/wiki_syntax_detailed_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/es-pa/wiki_syntax_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/es-pa/wiki_syntax_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/es/wiki_syntax_detailed_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/es/wiki_syntax_detailed_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/es/wiki_syntax_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/es/wiki_syntax_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/et/wiki_syntax_detailed_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/et/wiki_syntax_detailed_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/et/wiki_syntax_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/et/wiki_syntax_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/eu/wiki_syntax_detailed_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/eu/wiki_syntax_detailed_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/eu/wiki_syntax_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/eu/wiki_syntax_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/fa/wiki_syntax_detailed_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/fa/wiki_syntax_detailed_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/fa/wiki_syntax_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/fa/wiki_syntax_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/fi/wiki_syntax_detailed_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/fi/wiki_syntax_detailed_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/fi/wiki_syntax_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/fi/wiki_syntax_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/fr/wiki_syntax_detailed_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/fr/wiki_syntax_detailed_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/fr/wiki_syntax_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/fr/wiki_syntax_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/gl/wiki_syntax_detailed_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/gl/wiki_syntax_detailed_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/gl/wiki_syntax_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/gl/wiki_syntax_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/he/wiki_syntax_detailed_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/he/wiki_syntax_detailed_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/he/wiki_syntax_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/he/wiki_syntax_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/hr/wiki_syntax_detailed_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/hr/wiki_syntax_detailed_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/hr/wiki_syntax_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/hr/wiki_syntax_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/hu/wiki_syntax_detailed_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/hu/wiki_syntax_detailed_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/hu/wiki_syntax_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/hu/wiki_syntax_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/id/wiki_syntax_detailed_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/id/wiki_syntax_detailed_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/id/wiki_syntax_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/id/wiki_syntax_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/it/wiki_syntax_detailed_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/it/wiki_syntax_detailed_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/it/wiki_syntax_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/it/wiki_syntax_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/ja/wiki_syntax_detailed_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/ja/wiki_syntax_detailed_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/ja/wiki_syntax_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/ja/wiki_syntax_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/ko/wiki_syntax_detailed_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/ko/wiki_syntax_detailed_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/ko/wiki_syntax_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/ko/wiki_syntax_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/lt/wiki_syntax_detailed_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/lt/wiki_syntax_detailed_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/lt/wiki_syntax_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/lt/wiki_syntax_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/lv/wiki_syntax_detailed_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/lv/wiki_syntax_detailed_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/lv/wiki_syntax_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/lv/wiki_syntax_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/mk/wiki_syntax_detailed_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/mk/wiki_syntax_detailed_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/mk/wiki_syntax_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/mk/wiki_syntax_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/mn/wiki_syntax_detailed_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/mn/wiki_syntax_detailed_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/mn/wiki_syntax_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/mn/wiki_syntax_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/nl/wiki_syntax_detailed_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/nl/wiki_syntax_detailed_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/nl/wiki_syntax_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/nl/wiki_syntax_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/no/wiki_syntax_detailed_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/no/wiki_syntax_detailed_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/no/wiki_syntax_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/no/wiki_syntax_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/pl/wiki_syntax_detailed_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/pl/wiki_syntax_detailed_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/pl/wiki_syntax_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/pl/wiki_syntax_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/pt-br/wiki_syntax_detailed_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/pt-br/wiki_syntax_detailed_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/pt-br/wiki_syntax_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/pt-br/wiki_syntax_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/pt/wiki_syntax_detailed_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/pt/wiki_syntax_detailed_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/pt/wiki_syntax_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/pt/wiki_syntax_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/ro/wiki_syntax_detailed_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/ro/wiki_syntax_detailed_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/ro/wiki_syntax_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/ro/wiki_syntax_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/ru/wiki_syntax_detailed_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/ru/wiki_syntax_detailed_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/ru/wiki_syntax_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/ru/wiki_syntax_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/sk/wiki_syntax_detailed_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/sk/wiki_syntax_detailed_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/sk/wiki_syntax_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/sk/wiki_syntax_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/sl/wiki_syntax_detailed_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/sl/wiki_syntax_detailed_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/sl/wiki_syntax_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/sl/wiki_syntax_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/sq/wiki_syntax_detailed_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/sq/wiki_syntax_detailed_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/sq/wiki_syntax_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/sq/wiki_syntax_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/sr-yu/wiki_syntax_detailed_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/sr-yu/wiki_syntax_detailed_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/sr-yu/wiki_syntax_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/sr-yu/wiki_syntax_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/sr/wiki_syntax_detailed_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/sr/wiki_syntax_detailed_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/sr/wiki_syntax_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/sr/wiki_syntax_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/sv/wiki_syntax_detailed_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/sv/wiki_syntax_detailed_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/sv/wiki_syntax_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/sv/wiki_syntax_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/ta-in/wiki_syntax_detailed_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/ta-in/wiki_syntax_detailed_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/ta-in/wiki_syntax_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/ta-in/wiki_syntax_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/th/wiki_syntax_detailed_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/th/wiki_syntax_detailed_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/th/wiki_syntax_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/th/wiki_syntax_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/tr/wiki_syntax_detailed_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/tr/wiki_syntax_detailed_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/tr/wiki_syntax_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/tr/wiki_syntax_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/uk/wiki_syntax_detailed_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/uk/wiki_syntax_detailed_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/uk/wiki_syntax_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/uk/wiki_syntax_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/vi/wiki_syntax_detailed_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/vi/wiki_syntax_detailed_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/vi/wiki_syntax_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/vi/wiki_syntax_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/zh-tw/wiki_syntax_detailed_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/zh-tw/wiki_syntax_detailed_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/zh-tw/wiki_syntax_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/zh-tw/wiki_syntax_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/zh/wiki_syntax_detailed_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/zh/wiki_syntax_detailed_textile.html (100%) rename {public/help => app/views/help/wiki_syntax}/zh/wiki_syntax_markdown.html (100%) rename {public/help => app/views/help/wiki_syntax}/zh/wiki_syntax_textile.html (100%) diff --git a/public/help/wiki_syntax.css b/app/assets/stylesheets/wiki_syntax.css similarity index 100% rename from public/help/wiki_syntax.css rename to app/assets/stylesheets/wiki_syntax.css diff --git a/public/help/wiki_syntax_detailed.css b/app/assets/stylesheets/wiki_syntax_detailed.css similarity index 100% rename from public/help/wiki_syntax_detailed.css rename to app/assets/stylesheets/wiki_syntax_detailed.css diff --git a/app/controllers/help_controller.rb b/app/controllers/help_controller.rb new file mode 100644 index 000000000..12a8ceeea --- /dev/null +++ b/app/controllers/help_controller.rb @@ -0,0 +1,25 @@ +# frozen_string_literal: true + +# Redmine - project management software +# Copyright (C) 2006-2023 Jean-Philippe Lang +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +class HelpController < ApplicationController + def show_wiki_syntax + type = params[:type].nil? ? "" : "#{params[:type]}_" + render :template => "help/wiki_syntax/#{current_language.to_s}/wiki_syntax_#{type}#{Setting.text_formatting}", :layout => nil + end +end diff --git a/public/help/code_highlighting_languages.html b/app/views/help/code_highlighting_languages.html similarity index 100% rename from public/help/code_highlighting_languages.html rename to app/views/help/code_highlighting_languages.html diff --git a/public/help/ar/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/ar/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/ar/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/ar/wiki_syntax_detailed_markdown.html diff --git a/public/help/ar/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/ar/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/ar/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/ar/wiki_syntax_detailed_textile.html diff --git a/public/help/ar/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/ar/wiki_syntax_markdown.html similarity index 100% rename from public/help/ar/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/ar/wiki_syntax_markdown.html diff --git a/public/help/ar/wiki_syntax_textile.html b/app/views/help/wiki_syntax/ar/wiki_syntax_textile.html similarity index 100% rename from public/help/ar/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/ar/wiki_syntax_textile.html diff --git a/public/help/az/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/az/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/az/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/az/wiki_syntax_detailed_markdown.html diff --git a/public/help/az/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/az/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/az/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/az/wiki_syntax_detailed_textile.html diff --git a/public/help/az/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/az/wiki_syntax_markdown.html similarity index 100% rename from public/help/az/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/az/wiki_syntax_markdown.html diff --git a/public/help/az/wiki_syntax_textile.html b/app/views/help/wiki_syntax/az/wiki_syntax_textile.html similarity index 100% rename from public/help/az/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/az/wiki_syntax_textile.html diff --git a/public/help/bg/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/bg/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/bg/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/bg/wiki_syntax_detailed_markdown.html diff --git a/public/help/bg/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/bg/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/bg/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/bg/wiki_syntax_detailed_textile.html diff --git a/public/help/bg/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/bg/wiki_syntax_markdown.html similarity index 100% rename from public/help/bg/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/bg/wiki_syntax_markdown.html diff --git a/public/help/bg/wiki_syntax_textile.html b/app/views/help/wiki_syntax/bg/wiki_syntax_textile.html similarity index 100% rename from public/help/bg/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/bg/wiki_syntax_textile.html diff --git a/public/help/bs/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/bs/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/bs/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/bs/wiki_syntax_detailed_markdown.html diff --git a/public/help/bs/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/bs/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/bs/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/bs/wiki_syntax_detailed_textile.html diff --git a/public/help/bs/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/bs/wiki_syntax_markdown.html similarity index 100% rename from public/help/bs/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/bs/wiki_syntax_markdown.html diff --git a/public/help/bs/wiki_syntax_textile.html b/app/views/help/wiki_syntax/bs/wiki_syntax_textile.html similarity index 100% rename from public/help/bs/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/bs/wiki_syntax_textile.html diff --git a/public/help/ca/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/ca/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/ca/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/ca/wiki_syntax_detailed_markdown.html diff --git a/public/help/ca/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/ca/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/ca/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/ca/wiki_syntax_detailed_textile.html diff --git a/public/help/ca/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/ca/wiki_syntax_markdown.html similarity index 100% rename from public/help/ca/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/ca/wiki_syntax_markdown.html diff --git a/public/help/ca/wiki_syntax_textile.html b/app/views/help/wiki_syntax/ca/wiki_syntax_textile.html similarity index 100% rename from public/help/ca/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/ca/wiki_syntax_textile.html diff --git a/public/help/cs/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/cs/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/cs/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/cs/wiki_syntax_detailed_markdown.html diff --git a/public/help/cs/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/cs/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/cs/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/cs/wiki_syntax_detailed_textile.html diff --git a/public/help/cs/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/cs/wiki_syntax_markdown.html similarity index 100% rename from public/help/cs/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/cs/wiki_syntax_markdown.html diff --git a/public/help/cs/wiki_syntax_textile.html b/app/views/help/wiki_syntax/cs/wiki_syntax_textile.html similarity index 100% rename from public/help/cs/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/cs/wiki_syntax_textile.html diff --git a/public/help/da/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/da/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/da/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/da/wiki_syntax_detailed_markdown.html diff --git a/public/help/da/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/da/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/da/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/da/wiki_syntax_detailed_textile.html diff --git a/public/help/da/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/da/wiki_syntax_markdown.html similarity index 100% rename from public/help/da/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/da/wiki_syntax_markdown.html diff --git a/public/help/da/wiki_syntax_textile.html b/app/views/help/wiki_syntax/da/wiki_syntax_textile.html similarity index 100% rename from public/help/da/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/da/wiki_syntax_textile.html diff --git a/public/help/de/wiki_syntax_common_mark.html b/app/views/help/wiki_syntax/de/wiki_syntax_common_mark.html similarity index 100% rename from public/help/de/wiki_syntax_common_mark.html rename to app/views/help/wiki_syntax/de/wiki_syntax_common_mark.html diff --git a/public/help/de/wiki_syntax_detailed_common_mark.html b/app/views/help/wiki_syntax/de/wiki_syntax_detailed_common_mark.html similarity index 100% rename from public/help/de/wiki_syntax_detailed_common_mark.html rename to app/views/help/wiki_syntax/de/wiki_syntax_detailed_common_mark.html diff --git a/public/help/de/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/de/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/de/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/de/wiki_syntax_detailed_markdown.html diff --git a/public/help/de/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/de/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/de/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/de/wiki_syntax_detailed_textile.html diff --git a/public/help/de/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/de/wiki_syntax_markdown.html similarity index 100% rename from public/help/de/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/de/wiki_syntax_markdown.html diff --git a/public/help/de/wiki_syntax_textile.html b/app/views/help/wiki_syntax/de/wiki_syntax_textile.html similarity index 100% rename from public/help/de/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/de/wiki_syntax_textile.html diff --git a/public/help/el/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/el/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/el/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/el/wiki_syntax_detailed_markdown.html diff --git a/public/help/el/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/el/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/el/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/el/wiki_syntax_detailed_textile.html diff --git a/public/help/el/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/el/wiki_syntax_markdown.html similarity index 100% rename from public/help/el/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/el/wiki_syntax_markdown.html diff --git a/public/help/el/wiki_syntax_textile.html b/app/views/help/wiki_syntax/el/wiki_syntax_textile.html similarity index 100% rename from public/help/el/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/el/wiki_syntax_textile.html diff --git a/public/help/en-gb/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/en-gb/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/en-gb/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/en-gb/wiki_syntax_detailed_markdown.html diff --git a/public/help/en-gb/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/en-gb/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/en-gb/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/en-gb/wiki_syntax_detailed_textile.html diff --git a/public/help/en-gb/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/en-gb/wiki_syntax_markdown.html similarity index 100% rename from public/help/en-gb/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/en-gb/wiki_syntax_markdown.html diff --git a/public/help/en-gb/wiki_syntax_textile.html b/app/views/help/wiki_syntax/en-gb/wiki_syntax_textile.html similarity index 100% rename from public/help/en-gb/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/en-gb/wiki_syntax_textile.html diff --git a/public/help/en/wiki_syntax_common_mark.html b/app/views/help/wiki_syntax/en/wiki_syntax_common_mark.html similarity index 100% rename from public/help/en/wiki_syntax_common_mark.html rename to app/views/help/wiki_syntax/en/wiki_syntax_common_mark.html diff --git a/public/help/en/wiki_syntax_detailed_common_mark.html b/app/views/help/wiki_syntax/en/wiki_syntax_detailed_common_mark.html similarity index 100% rename from public/help/en/wiki_syntax_detailed_common_mark.html rename to app/views/help/wiki_syntax/en/wiki_syntax_detailed_common_mark.html diff --git a/public/help/en/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/en/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/en/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/en/wiki_syntax_detailed_markdown.html diff --git a/public/help/en/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/en/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/en/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/en/wiki_syntax_detailed_textile.html diff --git a/public/help/en/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/en/wiki_syntax_markdown.html similarity index 100% rename from public/help/en/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/en/wiki_syntax_markdown.html diff --git a/public/help/en/wiki_syntax_textile.html b/app/views/help/wiki_syntax/en/wiki_syntax_textile.html similarity index 100% rename from public/help/en/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/en/wiki_syntax_textile.html diff --git a/public/help/es-pa/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/es-pa/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/es-pa/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/es-pa/wiki_syntax_detailed_markdown.html diff --git a/public/help/es-pa/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/es-pa/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/es-pa/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/es-pa/wiki_syntax_detailed_textile.html diff --git a/public/help/es-pa/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/es-pa/wiki_syntax_markdown.html similarity index 100% rename from public/help/es-pa/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/es-pa/wiki_syntax_markdown.html diff --git a/public/help/es-pa/wiki_syntax_textile.html b/app/views/help/wiki_syntax/es-pa/wiki_syntax_textile.html similarity index 100% rename from public/help/es-pa/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/es-pa/wiki_syntax_textile.html diff --git a/public/help/es/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/es/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/es/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/es/wiki_syntax_detailed_markdown.html diff --git a/public/help/es/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/es/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/es/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/es/wiki_syntax_detailed_textile.html diff --git a/public/help/es/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/es/wiki_syntax_markdown.html similarity index 100% rename from public/help/es/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/es/wiki_syntax_markdown.html diff --git a/public/help/es/wiki_syntax_textile.html b/app/views/help/wiki_syntax/es/wiki_syntax_textile.html similarity index 100% rename from public/help/es/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/es/wiki_syntax_textile.html diff --git a/public/help/et/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/et/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/et/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/et/wiki_syntax_detailed_markdown.html diff --git a/public/help/et/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/et/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/et/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/et/wiki_syntax_detailed_textile.html diff --git a/public/help/et/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/et/wiki_syntax_markdown.html similarity index 100% rename from public/help/et/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/et/wiki_syntax_markdown.html diff --git a/public/help/et/wiki_syntax_textile.html b/app/views/help/wiki_syntax/et/wiki_syntax_textile.html similarity index 100% rename from public/help/et/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/et/wiki_syntax_textile.html diff --git a/public/help/eu/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/eu/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/eu/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/eu/wiki_syntax_detailed_markdown.html diff --git a/public/help/eu/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/eu/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/eu/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/eu/wiki_syntax_detailed_textile.html diff --git a/public/help/eu/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/eu/wiki_syntax_markdown.html similarity index 100% rename from public/help/eu/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/eu/wiki_syntax_markdown.html diff --git a/public/help/eu/wiki_syntax_textile.html b/app/views/help/wiki_syntax/eu/wiki_syntax_textile.html similarity index 100% rename from public/help/eu/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/eu/wiki_syntax_textile.html diff --git a/public/help/fa/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/fa/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/fa/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/fa/wiki_syntax_detailed_markdown.html diff --git a/public/help/fa/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/fa/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/fa/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/fa/wiki_syntax_detailed_textile.html diff --git a/public/help/fa/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/fa/wiki_syntax_markdown.html similarity index 100% rename from public/help/fa/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/fa/wiki_syntax_markdown.html diff --git a/public/help/fa/wiki_syntax_textile.html b/app/views/help/wiki_syntax/fa/wiki_syntax_textile.html similarity index 100% rename from public/help/fa/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/fa/wiki_syntax_textile.html diff --git a/public/help/fi/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/fi/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/fi/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/fi/wiki_syntax_detailed_markdown.html diff --git a/public/help/fi/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/fi/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/fi/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/fi/wiki_syntax_detailed_textile.html diff --git a/public/help/fi/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/fi/wiki_syntax_markdown.html similarity index 100% rename from public/help/fi/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/fi/wiki_syntax_markdown.html diff --git a/public/help/fi/wiki_syntax_textile.html b/app/views/help/wiki_syntax/fi/wiki_syntax_textile.html similarity index 100% rename from public/help/fi/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/fi/wiki_syntax_textile.html diff --git a/public/help/fr/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/fr/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/fr/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/fr/wiki_syntax_detailed_markdown.html diff --git a/public/help/fr/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/fr/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/fr/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/fr/wiki_syntax_detailed_textile.html diff --git a/public/help/fr/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/fr/wiki_syntax_markdown.html similarity index 100% rename from public/help/fr/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/fr/wiki_syntax_markdown.html diff --git a/public/help/fr/wiki_syntax_textile.html b/app/views/help/wiki_syntax/fr/wiki_syntax_textile.html similarity index 100% rename from public/help/fr/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/fr/wiki_syntax_textile.html diff --git a/public/help/gl/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/gl/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/gl/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/gl/wiki_syntax_detailed_markdown.html diff --git a/public/help/gl/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/gl/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/gl/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/gl/wiki_syntax_detailed_textile.html diff --git a/public/help/gl/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/gl/wiki_syntax_markdown.html similarity index 100% rename from public/help/gl/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/gl/wiki_syntax_markdown.html diff --git a/public/help/gl/wiki_syntax_textile.html b/app/views/help/wiki_syntax/gl/wiki_syntax_textile.html similarity index 100% rename from public/help/gl/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/gl/wiki_syntax_textile.html diff --git a/public/help/he/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/he/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/he/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/he/wiki_syntax_detailed_markdown.html diff --git a/public/help/he/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/he/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/he/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/he/wiki_syntax_detailed_textile.html diff --git a/public/help/he/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/he/wiki_syntax_markdown.html similarity index 100% rename from public/help/he/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/he/wiki_syntax_markdown.html diff --git a/public/help/he/wiki_syntax_textile.html b/app/views/help/wiki_syntax/he/wiki_syntax_textile.html similarity index 100% rename from public/help/he/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/he/wiki_syntax_textile.html diff --git a/public/help/hr/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/hr/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/hr/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/hr/wiki_syntax_detailed_markdown.html diff --git a/public/help/hr/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/hr/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/hr/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/hr/wiki_syntax_detailed_textile.html diff --git a/public/help/hr/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/hr/wiki_syntax_markdown.html similarity index 100% rename from public/help/hr/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/hr/wiki_syntax_markdown.html diff --git a/public/help/hr/wiki_syntax_textile.html b/app/views/help/wiki_syntax/hr/wiki_syntax_textile.html similarity index 100% rename from public/help/hr/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/hr/wiki_syntax_textile.html diff --git a/public/help/hu/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/hu/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/hu/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/hu/wiki_syntax_detailed_markdown.html diff --git a/public/help/hu/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/hu/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/hu/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/hu/wiki_syntax_detailed_textile.html diff --git a/public/help/hu/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/hu/wiki_syntax_markdown.html similarity index 100% rename from public/help/hu/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/hu/wiki_syntax_markdown.html diff --git a/public/help/hu/wiki_syntax_textile.html b/app/views/help/wiki_syntax/hu/wiki_syntax_textile.html similarity index 100% rename from public/help/hu/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/hu/wiki_syntax_textile.html diff --git a/public/help/id/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/id/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/id/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/id/wiki_syntax_detailed_markdown.html diff --git a/public/help/id/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/id/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/id/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/id/wiki_syntax_detailed_textile.html diff --git a/public/help/id/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/id/wiki_syntax_markdown.html similarity index 100% rename from public/help/id/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/id/wiki_syntax_markdown.html diff --git a/public/help/id/wiki_syntax_textile.html b/app/views/help/wiki_syntax/id/wiki_syntax_textile.html similarity index 100% rename from public/help/id/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/id/wiki_syntax_textile.html diff --git a/public/help/it/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/it/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/it/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/it/wiki_syntax_detailed_markdown.html diff --git a/public/help/it/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/it/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/it/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/it/wiki_syntax_detailed_textile.html diff --git a/public/help/it/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/it/wiki_syntax_markdown.html similarity index 100% rename from public/help/it/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/it/wiki_syntax_markdown.html diff --git a/public/help/it/wiki_syntax_textile.html b/app/views/help/wiki_syntax/it/wiki_syntax_textile.html similarity index 100% rename from public/help/it/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/it/wiki_syntax_textile.html diff --git a/public/help/ja/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/ja/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/ja/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/ja/wiki_syntax_detailed_markdown.html diff --git a/public/help/ja/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/ja/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/ja/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/ja/wiki_syntax_detailed_textile.html diff --git a/public/help/ja/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/ja/wiki_syntax_markdown.html similarity index 100% rename from public/help/ja/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/ja/wiki_syntax_markdown.html diff --git a/public/help/ja/wiki_syntax_textile.html b/app/views/help/wiki_syntax/ja/wiki_syntax_textile.html similarity index 100% rename from public/help/ja/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/ja/wiki_syntax_textile.html diff --git a/public/help/ko/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/ko/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/ko/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/ko/wiki_syntax_detailed_markdown.html diff --git a/public/help/ko/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/ko/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/ko/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/ko/wiki_syntax_detailed_textile.html diff --git a/public/help/ko/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/ko/wiki_syntax_markdown.html similarity index 100% rename from public/help/ko/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/ko/wiki_syntax_markdown.html diff --git a/public/help/ko/wiki_syntax_textile.html b/app/views/help/wiki_syntax/ko/wiki_syntax_textile.html similarity index 100% rename from public/help/ko/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/ko/wiki_syntax_textile.html diff --git a/public/help/lt/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/lt/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/lt/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/lt/wiki_syntax_detailed_markdown.html diff --git a/public/help/lt/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/lt/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/lt/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/lt/wiki_syntax_detailed_textile.html diff --git a/public/help/lt/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/lt/wiki_syntax_markdown.html similarity index 100% rename from public/help/lt/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/lt/wiki_syntax_markdown.html diff --git a/public/help/lt/wiki_syntax_textile.html b/app/views/help/wiki_syntax/lt/wiki_syntax_textile.html similarity index 100% rename from public/help/lt/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/lt/wiki_syntax_textile.html diff --git a/public/help/lv/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/lv/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/lv/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/lv/wiki_syntax_detailed_markdown.html diff --git a/public/help/lv/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/lv/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/lv/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/lv/wiki_syntax_detailed_textile.html diff --git a/public/help/lv/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/lv/wiki_syntax_markdown.html similarity index 100% rename from public/help/lv/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/lv/wiki_syntax_markdown.html diff --git a/public/help/lv/wiki_syntax_textile.html b/app/views/help/wiki_syntax/lv/wiki_syntax_textile.html similarity index 100% rename from public/help/lv/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/lv/wiki_syntax_textile.html diff --git a/public/help/mk/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/mk/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/mk/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/mk/wiki_syntax_detailed_markdown.html diff --git a/public/help/mk/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/mk/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/mk/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/mk/wiki_syntax_detailed_textile.html diff --git a/public/help/mk/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/mk/wiki_syntax_markdown.html similarity index 100% rename from public/help/mk/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/mk/wiki_syntax_markdown.html diff --git a/public/help/mk/wiki_syntax_textile.html b/app/views/help/wiki_syntax/mk/wiki_syntax_textile.html similarity index 100% rename from public/help/mk/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/mk/wiki_syntax_textile.html diff --git a/public/help/mn/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/mn/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/mn/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/mn/wiki_syntax_detailed_markdown.html diff --git a/public/help/mn/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/mn/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/mn/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/mn/wiki_syntax_detailed_textile.html diff --git a/public/help/mn/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/mn/wiki_syntax_markdown.html similarity index 100% rename from public/help/mn/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/mn/wiki_syntax_markdown.html diff --git a/public/help/mn/wiki_syntax_textile.html b/app/views/help/wiki_syntax/mn/wiki_syntax_textile.html similarity index 100% rename from public/help/mn/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/mn/wiki_syntax_textile.html diff --git a/public/help/nl/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/nl/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/nl/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/nl/wiki_syntax_detailed_markdown.html diff --git a/public/help/nl/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/nl/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/nl/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/nl/wiki_syntax_detailed_textile.html diff --git a/public/help/nl/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/nl/wiki_syntax_markdown.html similarity index 100% rename from public/help/nl/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/nl/wiki_syntax_markdown.html diff --git a/public/help/nl/wiki_syntax_textile.html b/app/views/help/wiki_syntax/nl/wiki_syntax_textile.html similarity index 100% rename from public/help/nl/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/nl/wiki_syntax_textile.html diff --git a/public/help/no/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/no/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/no/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/no/wiki_syntax_detailed_markdown.html diff --git a/public/help/no/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/no/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/no/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/no/wiki_syntax_detailed_textile.html diff --git a/public/help/no/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/no/wiki_syntax_markdown.html similarity index 100% rename from public/help/no/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/no/wiki_syntax_markdown.html diff --git a/public/help/no/wiki_syntax_textile.html b/app/views/help/wiki_syntax/no/wiki_syntax_textile.html similarity index 100% rename from public/help/no/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/no/wiki_syntax_textile.html diff --git a/public/help/pl/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/pl/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/pl/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/pl/wiki_syntax_detailed_markdown.html diff --git a/public/help/pl/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/pl/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/pl/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/pl/wiki_syntax_detailed_textile.html diff --git a/public/help/pl/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/pl/wiki_syntax_markdown.html similarity index 100% rename from public/help/pl/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/pl/wiki_syntax_markdown.html diff --git a/public/help/pl/wiki_syntax_textile.html b/app/views/help/wiki_syntax/pl/wiki_syntax_textile.html similarity index 100% rename from public/help/pl/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/pl/wiki_syntax_textile.html diff --git a/public/help/pt-br/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/pt-br/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/pt-br/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/pt-br/wiki_syntax_detailed_markdown.html diff --git a/public/help/pt-br/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/pt-br/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/pt-br/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/pt-br/wiki_syntax_detailed_textile.html diff --git a/public/help/pt-br/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/pt-br/wiki_syntax_markdown.html similarity index 100% rename from public/help/pt-br/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/pt-br/wiki_syntax_markdown.html diff --git a/public/help/pt-br/wiki_syntax_textile.html b/app/views/help/wiki_syntax/pt-br/wiki_syntax_textile.html similarity index 100% rename from public/help/pt-br/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/pt-br/wiki_syntax_textile.html diff --git a/public/help/pt/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/pt/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/pt/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/pt/wiki_syntax_detailed_markdown.html diff --git a/public/help/pt/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/pt/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/pt/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/pt/wiki_syntax_detailed_textile.html diff --git a/public/help/pt/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/pt/wiki_syntax_markdown.html similarity index 100% rename from public/help/pt/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/pt/wiki_syntax_markdown.html diff --git a/public/help/pt/wiki_syntax_textile.html b/app/views/help/wiki_syntax/pt/wiki_syntax_textile.html similarity index 100% rename from public/help/pt/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/pt/wiki_syntax_textile.html diff --git a/public/help/ro/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/ro/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/ro/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/ro/wiki_syntax_detailed_markdown.html diff --git a/public/help/ro/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/ro/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/ro/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/ro/wiki_syntax_detailed_textile.html diff --git a/public/help/ro/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/ro/wiki_syntax_markdown.html similarity index 100% rename from public/help/ro/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/ro/wiki_syntax_markdown.html diff --git a/public/help/ro/wiki_syntax_textile.html b/app/views/help/wiki_syntax/ro/wiki_syntax_textile.html similarity index 100% rename from public/help/ro/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/ro/wiki_syntax_textile.html diff --git a/public/help/ru/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/ru/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/ru/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/ru/wiki_syntax_detailed_markdown.html diff --git a/public/help/ru/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/ru/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/ru/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/ru/wiki_syntax_detailed_textile.html diff --git a/public/help/ru/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/ru/wiki_syntax_markdown.html similarity index 100% rename from public/help/ru/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/ru/wiki_syntax_markdown.html diff --git a/public/help/ru/wiki_syntax_textile.html b/app/views/help/wiki_syntax/ru/wiki_syntax_textile.html similarity index 100% rename from public/help/ru/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/ru/wiki_syntax_textile.html diff --git a/public/help/sk/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/sk/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/sk/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/sk/wiki_syntax_detailed_markdown.html diff --git a/public/help/sk/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/sk/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/sk/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/sk/wiki_syntax_detailed_textile.html diff --git a/public/help/sk/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/sk/wiki_syntax_markdown.html similarity index 100% rename from public/help/sk/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/sk/wiki_syntax_markdown.html diff --git a/public/help/sk/wiki_syntax_textile.html b/app/views/help/wiki_syntax/sk/wiki_syntax_textile.html similarity index 100% rename from public/help/sk/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/sk/wiki_syntax_textile.html diff --git a/public/help/sl/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/sl/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/sl/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/sl/wiki_syntax_detailed_markdown.html diff --git a/public/help/sl/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/sl/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/sl/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/sl/wiki_syntax_detailed_textile.html diff --git a/public/help/sl/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/sl/wiki_syntax_markdown.html similarity index 100% rename from public/help/sl/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/sl/wiki_syntax_markdown.html diff --git a/public/help/sl/wiki_syntax_textile.html b/app/views/help/wiki_syntax/sl/wiki_syntax_textile.html similarity index 100% rename from public/help/sl/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/sl/wiki_syntax_textile.html diff --git a/public/help/sq/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/sq/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/sq/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/sq/wiki_syntax_detailed_markdown.html diff --git a/public/help/sq/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/sq/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/sq/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/sq/wiki_syntax_detailed_textile.html diff --git a/public/help/sq/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/sq/wiki_syntax_markdown.html similarity index 100% rename from public/help/sq/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/sq/wiki_syntax_markdown.html diff --git a/public/help/sq/wiki_syntax_textile.html b/app/views/help/wiki_syntax/sq/wiki_syntax_textile.html similarity index 100% rename from public/help/sq/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/sq/wiki_syntax_textile.html diff --git a/public/help/sr-yu/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/sr-yu/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/sr-yu/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/sr-yu/wiki_syntax_detailed_markdown.html diff --git a/public/help/sr-yu/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/sr-yu/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/sr-yu/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/sr-yu/wiki_syntax_detailed_textile.html diff --git a/public/help/sr-yu/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/sr-yu/wiki_syntax_markdown.html similarity index 100% rename from public/help/sr-yu/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/sr-yu/wiki_syntax_markdown.html diff --git a/public/help/sr-yu/wiki_syntax_textile.html b/app/views/help/wiki_syntax/sr-yu/wiki_syntax_textile.html similarity index 100% rename from public/help/sr-yu/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/sr-yu/wiki_syntax_textile.html diff --git a/public/help/sr/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/sr/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/sr/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/sr/wiki_syntax_detailed_markdown.html diff --git a/public/help/sr/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/sr/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/sr/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/sr/wiki_syntax_detailed_textile.html diff --git a/public/help/sr/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/sr/wiki_syntax_markdown.html similarity index 100% rename from public/help/sr/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/sr/wiki_syntax_markdown.html diff --git a/public/help/sr/wiki_syntax_textile.html b/app/views/help/wiki_syntax/sr/wiki_syntax_textile.html similarity index 100% rename from public/help/sr/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/sr/wiki_syntax_textile.html diff --git a/public/help/sv/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/sv/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/sv/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/sv/wiki_syntax_detailed_markdown.html diff --git a/public/help/sv/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/sv/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/sv/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/sv/wiki_syntax_detailed_textile.html diff --git a/public/help/sv/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/sv/wiki_syntax_markdown.html similarity index 100% rename from public/help/sv/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/sv/wiki_syntax_markdown.html diff --git a/public/help/sv/wiki_syntax_textile.html b/app/views/help/wiki_syntax/sv/wiki_syntax_textile.html similarity index 100% rename from public/help/sv/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/sv/wiki_syntax_textile.html diff --git a/public/help/ta-in/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/ta-in/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/ta-in/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/ta-in/wiki_syntax_detailed_markdown.html diff --git a/public/help/ta-in/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/ta-in/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/ta-in/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/ta-in/wiki_syntax_detailed_textile.html diff --git a/public/help/ta-in/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/ta-in/wiki_syntax_markdown.html similarity index 100% rename from public/help/ta-in/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/ta-in/wiki_syntax_markdown.html diff --git a/public/help/ta-in/wiki_syntax_textile.html b/app/views/help/wiki_syntax/ta-in/wiki_syntax_textile.html similarity index 100% rename from public/help/ta-in/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/ta-in/wiki_syntax_textile.html diff --git a/public/help/th/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/th/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/th/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/th/wiki_syntax_detailed_markdown.html diff --git a/public/help/th/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/th/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/th/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/th/wiki_syntax_detailed_textile.html diff --git a/public/help/th/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/th/wiki_syntax_markdown.html similarity index 100% rename from public/help/th/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/th/wiki_syntax_markdown.html diff --git a/public/help/th/wiki_syntax_textile.html b/app/views/help/wiki_syntax/th/wiki_syntax_textile.html similarity index 100% rename from public/help/th/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/th/wiki_syntax_textile.html diff --git a/public/help/tr/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/tr/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/tr/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/tr/wiki_syntax_detailed_markdown.html diff --git a/public/help/tr/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/tr/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/tr/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/tr/wiki_syntax_detailed_textile.html diff --git a/public/help/tr/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/tr/wiki_syntax_markdown.html similarity index 100% rename from public/help/tr/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/tr/wiki_syntax_markdown.html diff --git a/public/help/tr/wiki_syntax_textile.html b/app/views/help/wiki_syntax/tr/wiki_syntax_textile.html similarity index 100% rename from public/help/tr/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/tr/wiki_syntax_textile.html diff --git a/public/help/uk/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/uk/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/uk/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/uk/wiki_syntax_detailed_markdown.html diff --git a/public/help/uk/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/uk/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/uk/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/uk/wiki_syntax_detailed_textile.html diff --git a/public/help/uk/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/uk/wiki_syntax_markdown.html similarity index 100% rename from public/help/uk/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/uk/wiki_syntax_markdown.html diff --git a/public/help/uk/wiki_syntax_textile.html b/app/views/help/wiki_syntax/uk/wiki_syntax_textile.html similarity index 100% rename from public/help/uk/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/uk/wiki_syntax_textile.html diff --git a/public/help/vi/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/vi/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/vi/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/vi/wiki_syntax_detailed_markdown.html diff --git a/public/help/vi/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/vi/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/vi/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/vi/wiki_syntax_detailed_textile.html diff --git a/public/help/vi/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/vi/wiki_syntax_markdown.html similarity index 100% rename from public/help/vi/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/vi/wiki_syntax_markdown.html diff --git a/public/help/vi/wiki_syntax_textile.html b/app/views/help/wiki_syntax/vi/wiki_syntax_textile.html similarity index 100% rename from public/help/vi/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/vi/wiki_syntax_textile.html diff --git a/public/help/zh-tw/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/zh-tw/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/zh-tw/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/zh-tw/wiki_syntax_detailed_markdown.html diff --git a/public/help/zh-tw/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/zh-tw/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/zh-tw/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/zh-tw/wiki_syntax_detailed_textile.html diff --git a/public/help/zh-tw/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/zh-tw/wiki_syntax_markdown.html similarity index 100% rename from public/help/zh-tw/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/zh-tw/wiki_syntax_markdown.html diff --git a/public/help/zh-tw/wiki_syntax_textile.html b/app/views/help/wiki_syntax/zh-tw/wiki_syntax_textile.html similarity index 100% rename from public/help/zh-tw/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/zh-tw/wiki_syntax_textile.html diff --git a/public/help/zh/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/zh/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/zh/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/zh/wiki_syntax_detailed_markdown.html diff --git a/public/help/zh/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/zh/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/zh/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/zh/wiki_syntax_detailed_textile.html diff --git a/public/help/zh/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/zh/wiki_syntax_markdown.html similarity index 100% rename from public/help/zh/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/zh/wiki_syntax_markdown.html diff --git a/public/help/zh/wiki_syntax_textile.html b/app/views/help/wiki_syntax/zh/wiki_syntax_textile.html similarity index 100% rename from public/help/zh/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/zh/wiki_syntax_textile.html diff --git a/config/routes.rb b/config/routes.rb index 421bf9b28..8e392fde5 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -407,6 +407,8 @@ Rails.application.routes.draw do get 'robots.:format', :to => 'welcome#robots', :constraints => {:format => 'txt'} + match 'help/wiki_syntax/(:type)', :controller => 'help', :action => 'show_wiki_syntax', :via => :get, :constraints => { :type => /detailed/ } + Redmine::Plugin.directory.glob("*/config/routes.rb").sort.each do |plugin_routes_path| instance_eval(plugin_routes_path.read, plugin_routes_path.to_s) rescue SyntaxError, StandardError => e -- 2.39.5