1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-21 16:55:07 -05:00

Merge pull request #1308 from Flowdalic/bibtex-url

Disable the biblatex url links to the versioned XEP for now
This commit is contained in:
Kevin Smith 2024-01-22 14:45:17 +00:00 committed by GitHub
commit 79dcfa7154
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -534,7 +534,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>