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
1 changed files with 3 additions and 1 deletions

View File

@ -534,7 +534,9 @@ content: "XEP-<xsl:value-of select='/xep/header/number'/>";
<xsl:variable name="bibtex-url">
<xsl:choose>
<!-- 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:value-of select='/xep/header/number'/>
<xsl:text>-</xsl:text>