[Unicode]   Common Locale Data Repository : Bug Tracking Home | Site Map | Search
 
Modify

CLDR Ticket #8673(accepted tools)

Opened 2 years ago

Last modified 23 months ago

Restore linking to headers

Reported by: mark Owned by: mark
Component: unknown Data Locale:
Phase: dsub Review:
Weeks: Data Xpath:
Xref:

Description

You used to be able to link to headers, like:

<th class="partsection" colspan="9">

<a id="Day Periods - wide - Formatting">Day Periods - wide - Formatting</a>

</th>

This is the header for the subsection containing
http://st.unicode.org/smoketest/v#/de/Gregorian/5c6d3896851453de

That doesn't work anymore; one can only link to an item in that section.

For the reports, I'd like to not only be able to link to a particular item, but also to a subsection.

Something like:

CLDRURLS:

public final String forPathHeader(CLDRLocale locale, PathHeader pathHeader)

but that goes to the subhead (pathHeader.getHeader()) instead of an item within that subhead.

===

Note: There are deprecated methods getUrl, getPageUrl, and getLinkedView. They say to use CLDRConfig.urls() instead. But instead of just saying that (without any guidance as to what to do), the internals of the methods should be redone to 'do the right thing', then the methods refactored away.

Attachments

Change History

comment:1 Changed 2 years ago by srl

Can you first add to PathHeader a unique id to/from the headers? I think the headers are items that share the same first 3 items (everything but Code?)

comment:2 Changed 2 years ago by mark

  • Owner changed from anybody to mark
  • Priority changed from assess to major
  • Type changed from unknown to tools
  • Status changed from new to accepted
  • Milestone changed from UNSCH to 29

Have a hash from Section/Page/Header for PathHeader, then toss to Steven.

comment:3 Changed 23 months ago by emmons

  • Milestone changed from 29 to upcoming

Auto move of all 29 -> upcoming

View

Add a comment

Modify Ticket

Action
as accepted
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.