プロジェクト

全般

プロフィール

Vote #74895

未完了

wiki edit pencil links are sometimes missing, throwing off the other pencil edit links

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Wiki_1
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
1
version_id:
0
issue_org_id:
16036
author_id:
92844
assigned_to_id:
0
comments:
2
status_id:
1
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

This is similar to #11789 -- some sections have their pencil icon missing, but the count continues regardless. On a large page this sometimes happens many times which means that by the time you're halfway through the doc the pencils are basically useless. In fact the pencils have become mostly useless on our wiki due to this issue.

I observe it with h6, possibly with some others. Not sure of the exact pattern to it, but I am able to reliably reproduce it @ http://demo.redmine.org/projects/testproj1/wiki/Wiki/3 as well as on our own installation which uses the following (not that it's too relevant since it's easily reproducible on the redmine demo wiki which I assume is up to date)

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

Here's a copy of the repro text on the wiki link above in case it gets removed or something

h1. Wiki


hi


h2. h2

hi

h5. CI Nickname:

* Monitored 
* Notification 
* Notification G
* Checks

h6. Check
* CI 
* Interval 
* Submit
* Instance 
* Check

This means: every longer existing.

If the be sent.

h3. h3
hi 

h4. h4
hi 

journals

I believe that at least one cause of this is if you have preformatted text that would normally get an "edit pencil".

E.g. (assuming Markdown text):
<pre>
# Header 1 gets a pencil
```
# Here's a comment in a bash script.
...bash script here
```
# Header 2 gets a pencil, but it points to the comment in the bash script, because the pencil edits starting from the second hash mark.
</pre>
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------


related_issues

relates,Confirmed,14188,Headers put inside blockquotes cause wiki 'edit this section' link point to incorrect section

Admin Redmine さんが約4年前に更新

  • カテゴリWiki_1 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0