Defect #10199
closedNo wiki section edit when title contains code
0%
Description
When viewing a wiki entry, the section edit links next to the heading will end up editing the section above the link. Expected behavior would be to edit the section that the heading starts.
Additionally, there is no edit link for the last section. Manually browsing to the section one number higher does let you edit that section.
Rack and rails versions in case they are relevant:- rack (1.1.3)
- rails (2.3.14)
Related issues
Updated by Etienne Massip almost 13 years ago
Actually it allows to edit the section which is below the header.
Updated by Elmer de Looff almost 13 years ago
Apologies, there seems to be something more specific at hand.
It seems like the section link will be skipped if the header contains additional Textile markup. In my case, I had a word in my title wrapped in @ signs, which causes Redmine to skip the edit link. It doesn't seem to matter whether there is "normal" text following the code marked word, the section edit link will not be there.
Updated by Elmer de Looff almost 13 years ago
An example of this can be found here: code tags remove section edit link
Updated by Etienne Massip almost 13 years ago
Elmer de Looff wrote:
An example of this can be found here: code tags remove section edit link
I don't have the wiki edit permission.
Updated by Elmer de Looff almost 13 years ago
How would I go about giving you permission.. Is there a general group I could add as developer to the wiki? There seem to be no administration options to give anonymous editing privileges to the Wiki :(
Updated by Elmer de Looff almost 13 years ago
Hmm, it's probably faster for you to try this yourself than figuring out how to have a look at the same demo Redmine wiki. The necessary example wiki format can be found here: http://pastebin.com/8QT7CthS
Updated by Etienne Massip almost 13 years ago
- Subject changed from Wiki section edit links off-by-one to No wiki section edit when title contains code
- Status changed from New to Confirmed
- Target version set to Candidate for next minor release
Didn't see your comment in note#2, sorry.
Updated by Etienne Massip almost 13 years ago
Probably related to note#31 of #2222.
Updated by Jean-Philippe Lang almost 13 years ago
- Status changed from Confirmed to Resolved
- Assignee set to Jean-Philippe Lang
- Target version changed from Candidate for next minor release to 1.3.2
- Resolution set to Fixed
Fixed in r8841.