e5759993329b6e609e9ab825991a90283e714088
mspeir
  Wed Sep 9 11:17:57 2026 -0700
Help pages: fix broken internal links and restore anchors people still cite, refs #38062

Three groups of anchor problems on the help and FAQ pages.

Broken internal links, five pages: posters.html listed a 2022 section that
does not exist (no 2022 posters), api.html listed REST and JSON separately
after the two sections were merged, docker.html pointed at a #UsrAcct section
that is not on that page, FAQgenes.html had a capitalized #ncbiRefSeq where
the anchor is #ncbiRefseq, and the genomes.txt settings rows in
trackDbHub.v3.html carried no anchors so its own "genome" link missed.

Retired anchors that are still cited in twenty years of answers on the genome
list. Content moved to its own page and the old anchor was deleted rather than
left behind, so the citations land at the top of the page. Reattached seven
numeric FAQformat anchors to the Topics entry linking to each format's page.
BED, PSL, GFF and GTF were removed from the custom track page in 2012 and
never added back to its list of supported formats; added them with the old
anchors, which fixes customTrack.html and hgTracksHelp.html together since
both include customTrackText.html. Also restored #lines there, and #Session
on hgTrackHubHelp.html and #link4 on FAQlink.html.

Section anchors on six pages that had none, so a support answer can link to
one part of them: bam.html, hic.html, bedgraph.html, ftp.html, net.html and
trackDbIndexBb.html. Skipped quickLiftChain.html, oligoMatch.html and
cutters.html, which are track description fragments included into the details
page rather than standalone pages.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

diff --git src/hg/htdocs/FAQ/FAQlink.html src/hg/htdocs/FAQ/FAQlink.html
index 4472000aeee..886838d2039 100755
--- src/hg/htdocs/FAQ/FAQlink.html
+++ src/hg/htdocs/FAQ/FAQlink.html
@@ -153,30 +153,31 @@
 The numbers 1 through 4 zoom in or out corresponding to the buttons above the track window.
 The following lists the zoom levels of each number, applicable to zooming in or out:</p>
 <ul>
 <li id="hgt.out1"><code>hgt.out1=submit</code> zooms out 1.5x</li>
 <li id="hgt.out2"><code>hgt.out2=submit</code> zooms out 3x</li>
 <li id="hgt.out3"><code>hgt.out3=submit</code> zooms out 10x</li>
 <li id="hgt.out4"><code>hgt.out4=submit</code> zooms out 100x</li>
 </ul>
 <p>
 The following link is an example which leads to the variant NM_000257:c.1208G&gt;T and zooms 
 out 3x:</p>
 <p>
 <code><a href="../cgi-bin/hgTracks?db=hg19&position=NM_000257:c.1208G%3ET&hgt.out2=submit">http://genome.ucsc.edu/cgi-bin/hgTracks?db=hg19&position=NM_000257:c.1208G>T&hgt.out2=submit</a></code></p>
 
 
+<a name="link4"></a>
 <a name="trackViz"></a>
 <h2>Setting Track Visibility via URL</h2>
 <h6>How do I create a custom URL to control the visibility of specific tracks?</h6>
 <p>
 You can control the visibility of tracks from the URL with the following parameters, 
 each linked by the "&amp;" sign:
 <ul>
   <li>
   <code>guidelines=on/off</code> - activate or deactivate the blue guidelines -
   <a href="../../cgi-bin/hgTracks?db=hg38&position=chr9%3A133255176-133275214&guidelines=off"
   target="_blank">example link</a> to switch off blue guidelines</li>
   <li>
   <code>hgFind.matches=&lt;listOfNames&gt;</code> - highlight features given their names -
   <a href="../../cgi-bin/hgTracks?db=hg38&position=chr9%3A133255176-133275214&hgFind.matches=ENST00000611156.4,ENST00000538324.2"
   target="_blank">example link</a> to highlight two transcripts of the ABO gene</li>