Changes between Initial Version and Version 10 of Ticket #15985


Ignore:
Timestamp:
2018-02-20T22:19:50+01:00 (8 years ago)
Author:
Hb---
Comment:

Replying to Don-vip:

My question is: where is it used in real help pages?

Please see Help/CommandLineOptions, first paragraph.

To know where I need to click to make it crash.

On this issue nothing crashes. The message comes from josm/trunk/src/org/openstreetmap/josm/gui/help/HelpBrowser.java#L642. Error is that the target is not reached in the help browser. Normal web browsers can handle this unusual references from Trac, see https://trac.edgewall.org/ticket/12981.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15985

    • Property Milestone18.02
    • Property Keywords help added; template_report Help Browser removed
  • Ticket #15985 – Description

    initial v10  
    1010
    1111==== Please provide any additional information below. Attach a screenshot if possible.
    12 JOSMs wiki pages have two kinds of references to anchors. The first are generated by !PageOutline and TOC macros and have the format `#anchortarget`. The second kind is generated by Trac alone and has the format `wiki/path/pagename#anchortarget`. Please see an example with both kinds in the SandBox.
     12JOSMs wiki pages have two kinds of references to anchors. The first are generated by !PageOutline and TOC macros and have the format `#anchortarget`. The second kind is generated by Trac alone and has the format `wiki/path/pagename#anchortarget`. Please see an example ~~with both kinds in the SandBox~~ on Help/CommandLineOptions in the first paragraph.
    1313
    1414The second format does not fit the Regex **[source:/josm/trunk/src/org/openstreetmap/josm/gui/help/HelpBrowser.java#L619 s.matches("#.*")]** which wants a `#` sign as first character.