1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-24 18:22:24 -05:00

Disable the biblatex url links to the versioned XEP for now

This commit is contained in:
Florian Schmaus 2023-12-11 19:05:21 +01:00
parent 7c5f3a42ba
commit 105dff773a

View File

@ -531,7 +531,9 @@ content: "XEP-<xsl:value-of select='/xep/header/number'/>";
<xsl:variable name="bibtex-url"> <xsl:variable name="bibtex-url">
<xsl:choose> <xsl:choose>
<!-- XEPs after a certain number have an immutable version to which we preferably link --> <!-- XEPs after a certain number have an immutable version to which we preferably link -->
<xsl:when test='/xep/header/number &gt; 300'> <!-- TODO: We currently have no versioned link for the latest version of a XEP,
hence the logic below is disabled for all XEPs, by testing for XEP version number > 99999 -->
<xsl:when test='/xep/header/number &gt; 999999'>
<xsl:text>https://xmpp.org/extensions/attic/xep-</xsl:text> <xsl:text>https://xmpp.org/extensions/attic/xep-</xsl:text>
<xsl:value-of select='/xep/header/number'/> <xsl:value-of select='/xep/header/number'/>
<xsl:text>-</xsl:text> <xsl:text>-</xsl:text>