]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Remove dead "Comments" link from See also sidebar
authorRich Bowen <rbowen@apache.org>
Fri, 15 May 2026 18:50:09 +0000 (18:50 +0000)
committerRich Bowen <rbowen@apache.org>
Fri, 15 May 2026 18:50:09 +0000 (18:50 +0000)
The comments system was removed long ago, but the link to
#comments_section remained in the See also sidebar on every page.
The target anchor no longer exists (common.xsl already has
"<!-- Comments section used to be here -->"), making this a dead link.

Remove from manualpage.xsl, synopsis.xsl, and overrideindex.xsl.
The lang/*/messages "comments" strings are left in place (harmless,
and removing them would require touching all 11 language files).

Resolves bz#70046

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1934240 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/style/xsl/manualpage.xsl
docs/manual/style/xsl/overrideindex.xsl
docs/manual/style/xsl/synopsis.xsl

index 4169d3e7f2f6f8bb554155b931c49237d093d593..36967515789318ffdf1dd6564dc8e0c2630a8074 100644 (file)
                                 <xsl:apply-templates />
                             </li>
                         </xsl:for-each>
-                        <xsl:if test="not($is-chm or $is-zip or $metafile/basename = 'index')">
-                            <li><a href="#comments_section"><xsl:value-of
-                                        select="$message[@id='comments']" /></a>
-                            </li>
-                        </xsl:if>
                         </ul>
 
                     </xsl:if>
index e65d28bea3e7887093fbffcf90c25a382e9ee700..60fa02a9f6cc563e374279eeb289ad71eba9a06a 100644 (file)
                                 <xsl:apply-templates />
                             </li>&lf;
                         </xsl:for-each>
-                        <xsl:if test="not($is-chm or $is-zip or $metafile/basename = 'index')">
-                            <li><a href="#comments_section"><xsl:value-of
-                                    select="$message[@id='comments']" /></a>
-                            </li>
-                        </xsl:if>
                         </ul>
                     </xsl:if>
                 </div> <!-- /#quickview -->
index b04553cbe21b369d8257e76a9827620828cb273e..7efa4eaf213795ef7c98a01ffa07ba7b00f9b99a 100644 (file)
                                 <xsl:apply-templates />
                             </li>&lf;
                         </xsl:for-each>
-                        <xsl:if test="not($is-chm or $is-zip or $metafile/basename = 'index')">
-                            <li><a href="#comments_section"><xsl:value-of
-                                    select="$message[@id='comments']" /></a>
-                            </li>
-                        </xsl:if>
                         </ul>
                     </xsl:if>
                 </div> <!-- /#quickview -->