Project

General

Profile

Actions

Defect #17511

open

Wiki URL 404 when using markdown

Added by Jakob Gillich over 9 years ago. Updated over 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Wiki
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

I configured Redmine to use markdown for text input. On my main wiki page, I added a link:

[API](api)

Which renders to:

<a class="external" href="api">API</a>

But when I'm on the main page, it points to `projects/PROJECT/api` instead of `projects/PROJECT/wiki/api`, thus giving me a 404 when clicked.

Environment:
Redmine version 2.5.2.stable
Ruby version 2.0.0-p353 (2013-11-22) [x86_64-linux]
Rails version 3.2.19
Environment production
Database adapter Mysql2

Actions #1

Updated by Toshi MARUYAMA over 9 years ago

  • Category set to Text formatting
Actions #2

Updated by Toshi MARUYAMA over 9 years ago

  • Category changed from Text formatting to Wiki
Actions #3

Updated by Frank Delahoyde over 9 years ago

I see the same behavior with Redmine configured to use the ckeditor plugin for text input.

Environment:
Redmine version 2.5.2.stable
Ruby version 2.0.0-p353 (2013-11-22) [x86_64-linux]
Rails version 3.2.19
Environment production
Database adapter PostgreSQL

Actions #4

Updated by Frank Delahoyde over 9 years ago

Looking a little further, this behavior doesn't seem to persist if you rename the Start page to something other than Wiki.

Actions #5

Updated by Frank Delahoyde over 9 years ago

But you need to leave the Start page as "Wiki" in Settings=>Wiki for the project or it breaks again.

Actions

Also available in: Atom PDF