c69d3e1d9dedbcf44849aa6b25cf1a785e153bf1
braney
  Thu Sep 10 11:13:54 2026 -0700
hgTracks: turn on chromAlias names by default, refs #29201

The alias icon has been on for the RR since v498 through showAliases=on in
hg.conf on hgwdev, hgwbeta and the RR.  The code default was still FALSE, so
mirrors and the GBiB never saw it.  Flip the default so they do.  A mirror can
still set showAliases=off.

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

diff --git src/hg/hgTracks/hgTracks.c src/hg/hgTracks/hgTracks.c
index 9c1893a16d8..cc51014f454 100644
--- src/hg/hgTracks/hgTracks.c
+++ src/hg/hgTracks/hgTracks.c
@@ -9917,31 +9917,31 @@
 	char buf[256];
         char *javascript = "document.location = '/cgi-bin/hgTracks?db=' + document.TrackForm.db.options[document.TrackForm.db.selectedIndex].value;";
         if (containsStringNoCase(database, "zoo"))
             {
             hPuts("Organism ");
             printAssemblyListHtmlExtra(database, "change", javascript);
             }
 
         // multi-region button on position line, initially under hg.conf control
         if (multiRegionButtonTop)
             {
             printMultiRegionButton();
             hPrintf(" ");
             }
 
-        if (cfgOptionBooleanDefault("showAliases", FALSE) && sameString(virtModeType, "default"))
+        if (cfgOptionBooleanDefault("showAliases", TRUE) && sameString(virtModeType, "default"))
             printAliases(chromName, virtChromName);
 
 	if (virtualSingleChrom()) // DISGUISE VMODE
 	    safef(buf, sizeof buf, "%s", windowsSpanPosition());
 	else
 	    safef(buf, sizeof buf, "%s:%ld-%ld", virtChromName, virtWinStart+1, virtWinEnd);
 	
 	position = cloneString(buf);
 
         // position box
         char *pressedClass = "";
         char *showVirtRegions = "";
         if (differentString(virtModeType, "default"))
             {
             pressedClass = "pressed";