Skip to content

OSCOLA: Restrict URL display to online-only items#8147

Open
adunning wants to merge 1 commit intocitation-style-language:masterfrom
adunning:oscola-url
Open

OSCOLA: Restrict URL display to online-only items#8147
adunning wants to merge 1 commit intocitation-style-language:masterfrom
adunning:oscola-url

Conversation

@adunning
Copy link
Copy Markdown
Contributor

@adunning adunning commented Apr 15, 2026

OSCOLA only displays URLs for items that items that are only available in digital format. This imitates the typical Zotero behaviour for journal articles and restricts display for item types that normally have a print equivalent.

OSCOLA only displays URLs for items that items that are only available in digital format. This imitates the typical Zotero behaviour for journal articles and restricts display for item types that normally have a print equivalent.
@github-actions
Copy link
Copy Markdown

Awesome! You just created a pull request to the Citation Styles Language styles repository. One of our human volunteers will try to get in touch soon (usually within a week). In the meantime, I will run some automated checks. You should be notified of the results in a few minutes.

If you haven't done so yet, please make sure your style validates and follows all our other Style Requirements.

To update this pull request, visit the "Files changed" tab above, click on the ellipsis button in the top-right corner of your style, and then select "Edit file" to start editing:

If you have any questions, please leave a comment and we'll get back to you. While we usually respond in English, feel free to write in whatever language you're most comfortable.

@github-actions
Copy link
Copy Markdown

😃 Your submission passed all our automated tests.

Below are some sample citations generated based on your proposed changes:

oscola-journal-abbreviations.csl (modified style)
‘CSL Search by Example’ (Citation style editor, 2012) <https://editor.citationstyles.org/searchByExample/> accessed 15 December 2012; Martin Fenner and others, ‘A Data Citation Roadmap for Scholarly Data Repositories’ (2019) 6 Sci Data <https://doi.org/10.1038/s41597-019-0031-8> accessed 31 March 2025.
Tania Galindo-Castañeda and others, ‘Locating the Microbes along the Maize Root System under Nitrogen Limitation: a Root Phenotypic Approach’ (2025) 136 Ann Bot 1143; Bob Hancké, Martin Rhodes and Mark Thatcher (eds), Beyond Varieties of Capitalism: Conflict, Contradictions, and Complementarities in the European Economy (Oxford University Press 2007).
Isabela Mares, ‘Firms and the Welfare State: When, Why, and How Does Social Policy Matter to Employers?’ in Peter A Hall and David Soskice (eds), Varieties of capitalism: the institutional foundations of comparative advantage (Oxford University Press 2001).

‘CSL Search by Example’ (Citation style editor, 2012) <https://editor.citationstyles.org/searchByExample/> accessed 15 December 2012
Fenner M and others, ‘A Data Citation Roadmap for Scholarly Data Repositories’ (2019) 6 Sci Data <https://doi.org/10.1038/s41597-019-0031-8> accessed 31 March 2025
Galindo-Castañeda T and others, ‘Locating the Microbes along the Maize Root System under Nitrogen Limitation: a Root Phenotypic Approach’ (2025) 136 Ann Bot 1143
Hancké B, Rhodes M and Thatcher M (eds), Beyond Varieties of Capitalism: Conflict, Contradictions, and Complementarities in the European Economy (Oxford University Press 2007)
Mares I, ‘Firms and the Welfare State: When, Why, and How Does Social Policy Matter to Employers?’ in Peter A Hall and David Soskice (eds), Varieties of capitalism: the institutional foundations of comparative advantage (Oxford University Press 2001)
 ‘CSL Search by Example’ (<i>Citation style editor</i>, 2012) &lt;https://editor.citationstyles.org/searchByExample/&gt; accessed 15 December 2012; Martin Fenner and others, ‘A Data Citation Roadmap for Scholarly Data Repositories’ (2019) 6 Sci Data &lt;https://doi.org/10.1038/s41597-019-0031-8&gt; accessed 31 March 2025.<br/>
-Tania Galindo-Castañeda and others, ‘Locating the Microbes along the Maize Root System under Nitrogen Limitation: a Root Phenotypic Approach’ (2025) 136 Ann Bot 1143 &lt;https://doi.org/10.1093/aob/mcaf185&gt; accessed 17 January 2026; Bob Hancké, Martin Rhodes and Mark Thatcher (eds), <i>Beyond Varieties of Capitalism: Conflict, Contradictions, and Complementarities in the European Economy</i> (Oxford University Press 2007) &lt;https://doi.org/10.1093/acprof:oso/9780199206483.001.0001&gt; accessed 19 October 2025.<br/>
-Isabela Mares, ‘Firms and the Welfare State: When, Why, and How Does Social Policy Matter to Employers?’ in Peter A Hall and David Soskice (eds), <i>Varieties of capitalism: the institutional foundations of comparative advantage</i> (Oxford University Press 2001) &lt;https://doi.org/10.1093/0199247757.003.0005&gt; accessed 7 January 2026.<br/>
+Tania Galindo-Castañeda and others, ‘Locating the Microbes along the Maize Root System under Nitrogen Limitation: a Root Phenotypic Approach’ (2025) 136 Ann Bot 1143; Bob Hancké, Martin Rhodes and Mark Thatcher (eds), <i>Beyond Varieties of Capitalism: Conflict, Contradictions, and Complementarities in the European Economy</i> (Oxford University Press 2007).<br/>
+Isabela Mares, ‘Firms and the Welfare State: When, Why, and How Does Social Policy Matter to Employers?’ in Peter A Hall and David Soskice (eds), <i>Varieties of capitalism: the institutional foundations of comparative advantage</i> (Oxford University Press 2001).<br/>
 <hr/>
 ‘CSL Search by Example’ (<i>Citation style editor</i>, 2012) &lt;https://editor.citationstyles.org/searchByExample/&gt; accessed 15 December 2012<br/>
 Fenner M and others, ‘A Data Citation Roadmap for Scholarly Data Repositories’ (2019) 6 Sci Data &lt;https://doi.org/10.1038/s41597-019-0031-8&gt; accessed 31 March 2025<br/>
-Galindo-Castañeda T and others, ‘Locating the Microbes along the Maize Root System under Nitrogen Limitation: a Root Phenotypic Approach’ (2025) 136 Ann Bot 1143 &lt;https://doi.org/10.1093/aob/mcaf185&gt; accessed 17 January 2026<br/>
-Hancké B, Rhodes M and Thatcher M (eds), <i>Beyond Varieties of Capitalism: Conflict, Contradictions, and Complementarities in the European Economy</i> (Oxford University Press 2007) &lt;https://doi.org/10.1093/acprof:oso/9780199206483.001.0001&gt; accessed 19 October 2025<br/>
-Mares I, ‘Firms and the Welfare State: When, Why, and How Does Social Policy Matter to Employers?’ in Peter A Hall and David Soskice (eds), <i>Varieties of capitalism: the institutional foundations of comparative advantage</i> (Oxford University Press 2001) &lt;https://doi.org/10.1093/0199247757.003.0005&gt; accessed 7 January 2026<br/>
+Galindo-Castañeda T and others, ‘Locating the Microbes along the Maize Root System under Nitrogen Limitation: a Root Phenotypic Approach’ (2025) 136 Ann Bot 1143<br/>
+Hancké B, Rhodes M and Thatcher M (eds), <i>Beyond Varieties of Capitalism: Conflict, Contradictions, and Complementarities in the European Economy</i> (Oxford University Press 2007)<br/>
+Mares I, ‘Firms and the Welfare State: When, Why, and How Does Social Policy Matter to Employers?’ in Peter A Hall and David Soskice (eds), <i>Varieties of capitalism: the institutional foundations of comparative advantage</i> (Oxford University Press 2001)<br/>
oscola-no-ibid.csl (modified style)
‘CSL Search by Example’ (Citation style editor, 2012) <https://editor.citationstyles.org/searchByExample/> accessed 15 December 2012; Martin Fenner and others, ‘A Data Citation Roadmap for Scholarly Data Repositories’ (2019) 6 Scientific Data <https://doi.org/10.1038/s41597-019-0031-8> accessed 31 March 2025.
Tania Galindo-Castañeda and others, ‘Locating the Microbes along the Maize Root System under Nitrogen Limitation: a Root Phenotypic Approach’ (2025) 136 Annals of Botany 1143; Bob Hancké, Martin Rhodes and Mark Thatcher (eds), Beyond Varieties of Capitalism: Conflict, Contradictions, and Complementarities in the European Economy (Oxford University Press 2007).
Isabela Mares, ‘Firms and the Welfare State: When, Why, and How Does Social Policy Matter to Employers?’ in Peter A Hall and David Soskice (eds), Varieties of capitalism: the institutional foundations of comparative advantage (Oxford University Press 2001).

‘CSL Search by Example’ (Citation style editor, 2012) <https://editor.citationstyles.org/searchByExample/> accessed 15 December 2012
Fenner M and others, ‘A Data Citation Roadmap for Scholarly Data Repositories’ (2019) 6 Scientific Data <https://doi.org/10.1038/s41597-019-0031-8> accessed 31 March 2025
Galindo-Castañeda T and others, ‘Locating the Microbes along the Maize Root System under Nitrogen Limitation: a Root Phenotypic Approach’ (2025) 136 Annals of Botany 1143
Hancké B, Rhodes M and Thatcher M (eds), Beyond Varieties of Capitalism: Conflict, Contradictions, and Complementarities in the European Economy (Oxford University Press 2007)
Mares I, ‘Firms and the Welfare State: When, Why, and How Does Social Policy Matter to Employers?’ in Peter A Hall and David Soskice (eds), Varieties of capitalism: the institutional foundations of comparative advantage (Oxford University Press 2001)
 ‘CSL Search by Example’ (<i>Citation style editor</i>, 2012) &lt;https://editor.citationstyles.org/searchByExample/&gt; accessed 15 December 2012; Martin Fenner and others, ‘A Data Citation Roadmap for Scholarly Data Repositories’ (2019) 6 Scientific Data &lt;https://doi.org/10.1038/s41597-019-0031-8&gt; accessed 31 March 2025.<br/>
-Tania Galindo-Castañeda and others, ‘Locating the Microbes along the Maize Root System under Nitrogen Limitation: a Root Phenotypic Approach’ (2025) 136 Annals of Botany 1143 &lt;https://doi.org/10.1093/aob/mcaf185&gt; accessed 17 January 2026; Bob Hancké, Martin Rhodes and Mark Thatcher (eds), <i>Beyond Varieties of Capitalism: Conflict, Contradictions, and Complementarities in the European Economy</i> (Oxford University Press 2007) &lt;https://doi.org/10.1093/acprof:oso/9780199206483.001.0001&gt; accessed 19 October 2025.<br/>
-Isabela Mares, ‘Firms and the Welfare State: When, Why, and How Does Social Policy Matter to Employers?’ in Peter A Hall and David Soskice (eds), <i>Varieties of capitalism: the institutional foundations of comparative advantage</i> (Oxford University Press 2001) &lt;https://doi.org/10.1093/0199247757.003.0005&gt; accessed 7 January 2026.<br/>
+Tania Galindo-Castañeda and others, ‘Locating the Microbes along the Maize Root System under Nitrogen Limitation: a Root Phenotypic Approach’ (2025) 136 Annals of Botany 1143; Bob Hancké, Martin Rhodes and Mark Thatcher (eds), <i>Beyond Varieties of Capitalism: Conflict, Contradictions, and Complementarities in the European Economy</i> (Oxford University Press 2007).<br/>
+Isabela Mares, ‘Firms and the Welfare State: When, Why, and How Does Social Policy Matter to Employers?’ in Peter A Hall and David Soskice (eds), <i>Varieties of capitalism: the institutional foundations of comparative advantage</i> (Oxford University Press 2001).<br/>
 <hr/>
 ‘CSL Search by Example’ (<i>Citation style editor</i>, 2012) &lt;https://editor.citationstyles.org/searchByExample/&gt; accessed 15 December 2012<br/>
 Fenner M and others, ‘A Data Citation Roadmap for Scholarly Data Repositories’ (2019) 6 Scientific Data &lt;https://doi.org/10.1038/s41597-019-0031-8&gt; accessed 31 March 2025<br/>
-Galindo-Castañeda T and others, ‘Locating the Microbes along the Maize Root System under Nitrogen Limitation: a Root Phenotypic Approach’ (2025) 136 Annals of Botany 1143 &lt;https://doi.org/10.1093/aob/mcaf185&gt; accessed 17 January 2026<br/>
-Hancké B, Rhodes M and Thatcher M (eds), <i>Beyond Varieties of Capitalism: Conflict, Contradictions, and Complementarities in the European Economy</i> (Oxford University Press 2007) &lt;https://doi.org/10.1093/acprof:oso/9780199206483.001.0001&gt; accessed 19 October 2025<br/>
-Mares I, ‘Firms and the Welfare State: When, Why, and How Does Social Policy Matter to Employers?’ in Peter A Hall and David Soskice (eds), <i>Varieties of capitalism: the institutional foundations of comparative advantage</i> (Oxford University Press 2001) &lt;https://doi.org/10.1093/0199247757.003.0005&gt; accessed 7 January 2026<br/>
+Galindo-Castañeda T and others, ‘Locating the Microbes along the Maize Root System under Nitrogen Limitation: a Root Phenotypic Approach’ (2025) 136 Annals of Botany 1143<br/>
+Hancké B, Rhodes M and Thatcher M (eds), <i>Beyond Varieties of Capitalism: Conflict, Contradictions, and Complementarities in the European Economy</i> (Oxford University Press 2007)<br/>
+Mares I, ‘Firms and the Welfare State: When, Why, and How Does Social Policy Matter to Employers?’ in Peter A Hall and David Soskice (eds), <i>Varieties of capitalism: the institutional foundations of comparative advantage</i> (Oxford University Press 2001)<br/>
oscola.csl (modified style)
‘CSL Search by Example’ (Citation style editor, 2012) <https://editor.citationstyles.org/searchByExample/> accessed 15 December 2012; Martin Fenner and others, ‘A Data Citation Roadmap for Scholarly Data Repositories’ (2019) 6 Scientific Data <https://doi.org/10.1038/s41597-019-0031-8> accessed 31 March 2025.
Tania Galindo-Castañeda and others, ‘Locating the Microbes along the Maize Root System under Nitrogen Limitation: a Root Phenotypic Approach’ (2025) 136 Annals of Botany 1143; Bob Hancké, Martin Rhodes and Mark Thatcher (eds), Beyond Varieties of Capitalism: Conflict, Contradictions, and Complementarities in the European Economy (Oxford University Press 2007).
Isabela Mares, ‘Firms and the Welfare State: When, Why, and How Does Social Policy Matter to Employers?’ in Peter A Hall and David Soskice (eds), Varieties of capitalism: the institutional foundations of comparative advantage (Oxford University Press 2001).

‘CSL Search by Example’ (Citation style editor, 2012) <https://editor.citationstyles.org/searchByExample/> accessed 15 December 2012
Fenner M and others, ‘A Data Citation Roadmap for Scholarly Data Repositories’ (2019) 6 Scientific Data <https://doi.org/10.1038/s41597-019-0031-8> accessed 31 March 2025
Galindo-Castañeda T and others, ‘Locating the Microbes along the Maize Root System under Nitrogen Limitation: a Root Phenotypic Approach’ (2025) 136 Annals of Botany 1143
Hancké B, Rhodes M and Thatcher M (eds), Beyond Varieties of Capitalism: Conflict, Contradictions, and Complementarities in the European Economy (Oxford University Press 2007)
Mares I, ‘Firms and the Welfare State: When, Why, and How Does Social Policy Matter to Employers?’ in Peter A Hall and David Soskice (eds), Varieties of capitalism: the institutional foundations of comparative advantage (Oxford University Press 2001)
 ‘CSL Search by Example’ (<i>Citation style editor</i>, 2012) &lt;https://editor.citationstyles.org/searchByExample/&gt; accessed 15 December 2012; Martin Fenner and others, ‘A Data Citation Roadmap for Scholarly Data Repositories’ (2019) 6 Scientific Data &lt;https://doi.org/10.1038/s41597-019-0031-8&gt; accessed 31 March 2025.<br/>
-Tania Galindo-Castañeda and others, ‘Locating the Microbes along the Maize Root System under Nitrogen Limitation: a Root Phenotypic Approach’ (2025) 136 Annals of Botany 1143 &lt;https://doi.org/10.1093/aob/mcaf185&gt; accessed 17 January 2026; Bob Hancké, Martin Rhodes and Mark Thatcher (eds), <i>Beyond Varieties of Capitalism: Conflict, Contradictions, and Complementarities in the European Economy</i> (Oxford University Press 2007) &lt;https://doi.org/10.1093/acprof:oso/9780199206483.001.0001&gt; accessed 19 October 2025.<br/>
-Isabela Mares, ‘Firms and the Welfare State: When, Why, and How Does Social Policy Matter to Employers?’ in Peter A Hall and David Soskice (eds), <i>Varieties of capitalism: the institutional foundations of comparative advantage</i> (Oxford University Press 2001) &lt;https://doi.org/10.1093/0199247757.003.0005&gt; accessed 7 January 2026.<br/>
+Tania Galindo-Castañeda and others, ‘Locating the Microbes along the Maize Root System under Nitrogen Limitation: a Root Phenotypic Approach’ (2025) 136 Annals of Botany 1143; Bob Hancké, Martin Rhodes and Mark Thatcher (eds), <i>Beyond Varieties of Capitalism: Conflict, Contradictions, and Complementarities in the European Economy</i> (Oxford University Press 2007).<br/>
+Isabela Mares, ‘Firms and the Welfare State: When, Why, and How Does Social Policy Matter to Employers?’ in Peter A Hall and David Soskice (eds), <i>Varieties of capitalism: the institutional foundations of comparative advantage</i> (Oxford University Press 2001).<br/>
 <hr/>
 ‘CSL Search by Example’ (<i>Citation style editor</i>, 2012) &lt;https://editor.citationstyles.org/searchByExample/&gt; accessed 15 December 2012<br/>
 Fenner M and others, ‘A Data Citation Roadmap for Scholarly Data Repositories’ (2019) 6 Scientific Data &lt;https://doi.org/10.1038/s41597-019-0031-8&gt; accessed 31 March 2025<br/>
-Galindo-Castañeda T and others, ‘Locating the Microbes along the Maize Root System under Nitrogen Limitation: a Root Phenotypic Approach’ (2025) 136 Annals of Botany 1143 &lt;https://doi.org/10.1093/aob/mcaf185&gt; accessed 17 January 2026<br/>
-Hancké B, Rhodes M and Thatcher M (eds), <i>Beyond Varieties of Capitalism: Conflict, Contradictions, and Complementarities in the European Economy</i> (Oxford University Press 2007) &lt;https://doi.org/10.1093/acprof:oso/9780199206483.001.0001&gt; accessed 19 October 2025<br/>
-Mares I, ‘Firms and the Welfare State: When, Why, and How Does Social Policy Matter to Employers?’ in Peter A Hall and David Soskice (eds), <i>Varieties of capitalism: the institutional foundations of comparative advantage</i> (Oxford University Press 2001) &lt;https://doi.org/10.1093/0199247757.003.0005&gt; accessed 7 January 2026<br/>
+Galindo-Castañeda T and others, ‘Locating the Microbes along the Maize Root System under Nitrogen Limitation: a Root Phenotypic Approach’ (2025) 136 Annals of Botany 1143<br/>
+Hancké B, Rhodes M and Thatcher M (eds), <i>Beyond Varieties of Capitalism: Conflict, Contradictions, and Complementarities in the European Economy</i> (Oxford University Press 2007)<br/>
+Mares I, ‘Firms and the Welfare State: When, Why, and How Does Social Policy Matter to Employers?’ in Peter A Hall and David Soskice (eds), <i>Varieties of capitalism: the institutional foundations of comparative advantage</i> (Oxford University Press 2001)<br/>

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the OSCOLA CSL styles to suppress URL/DOI output for sources that are likely to have a print equivalent, aiming to better match typical OSCOLA/Zotero URL display behavior.

Changes:

  • Adjusted the URL macro logic to omit URL/DOI output for additional item categories (e.g., items with page, books/chapters).
  • Moved the Zotero “data entry” reference from <summary> into a <link> element and refreshed <updated> dates.
  • Applied the same changes across OSCOLA variant styles (no-ibid, journal-abbreviations).

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 6 comments.

File Description
oscola.csl Updates metadata and refines the URL macro to suppress URL/DOI output in more cases.
oscola-no-ibid.csl Mirrors the OSCOLA changes for the “no ibid.” variant.
oscola-journal-abbreviations.csl Mirrors the OSCOLA changes for the journal-abbreviations variant.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

<link href="http://www.zotero.org/styles/oscola-journal-abbreviations" rel="self"/>
<link href="http://www.zotero.org/styles/oscola" rel="template"/>
<link href="https://www.law.ox.ac.uk/oscola" rel="documentation"/>
<link href="https://zotero.org/groups/2205533/collections/AC7ETLN4" rel="documentation"/>
Copy link

Copilot AI Apr 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The added Zotero group/collection link is marked as rel="documentation", but it doesn’t describe the citation format (it’s a data-entry example). To avoid failing style requirements/QA expectations for documentation links, consider moving this URL back into the

(as previously) or into an XML comment, and keep rel="documentation" links limited to actual style guidance (e.g., OSCOLA guide).

Copilot uses AI. Check for mistakes.
<choose>
<!-- display URLs only for online-only works -->
<if match="any" type="bill legal_case legislation"/>
<else-if match="any" variable="page"/>
Copy link

Copilot AI Apr 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new "suppress URL when variable=page" condition will hide URLs for any item that has pages, including types where page data is common but the item may still be online-only (e.g., reports/theses with a total page count). If the goal is mainly to suppress URLs for print-equivalent types (like journal articles/books), consider replacing this with type-based conditions (e.g., article-journal/article-magazine/article-newspaper) rather than a blanket page check.

Suggested change
<else-if match="any" variable="page"/>
<else-if match="any" type="article-journal article-magazine article-newspaper"/>

Copilot uses AI. Check for mistakes.
Comment thread oscola.csl
<id>http://www.zotero.org/styles/oscola</id>
<link href="http://www.zotero.org/styles/oscola" rel="self"/>
<link href="https://www.law.ox.ac.uk/oscola" rel="documentation"/>
<link href="https://zotero.org/groups/2205533/collections/AC7ETLN4" rel="documentation"/>
Copy link

Copilot AI Apr 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The added Zotero group/collection link is marked as rel="documentation", but it doesn’t describe the citation format (it’s a data-entry example). To avoid failing style requirements/QA expectations for documentation links, consider moving this URL back into the

(as previously) or into an XML comment, and keep rel="documentation" links limited to actual style guidance (e.g., OSCOLA guide).

Copilot uses AI. Check for mistakes.
Comment thread oscola.csl
<choose>
<!-- display URLs only for online-only works -->
<if match="any" type="bill legal_case legislation"/>
<else-if match="any" variable="page"/>
Copy link

Copilot AI Apr 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new "suppress URL when variable=page" condition will hide URLs for any item that has pages, including types where page data is common but the item may still be online-only (e.g., reports/theses with a total page count). If the goal is mainly to suppress URLs for print-equivalent types (like journal articles/books), consider replacing this with type-based conditions (e.g., article-journal/article-magazine/article-newspaper) rather than a blanket page check.

Suggested change
<else-if match="any" variable="page"/>
<else-if match="any" type="article-journal article-magazine article-newspaper"/>

Copilot uses AI. Check for mistakes.
Comment thread oscola-no-ibid.csl
<link href="http://www.zotero.org/styles/oscola-no-ibid" rel="self"/>
<link href="http://www.zotero.org/styles/oscola" rel="template"/>
<link href="https://www.law.ox.ac.uk/oscola" rel="documentation"/>
<link href="https://zotero.org/groups/2205533/collections/AC7ETLN4" rel="documentation"/>
Copy link

Copilot AI Apr 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The added Zotero group/collection link is marked as rel="documentation", but it doesn’t describe the citation format (it’s a data-entry example). To avoid failing style requirements/QA expectations for documentation links, consider moving this URL back into the

(as previously) or into an XML comment, and keep rel="documentation" links limited to actual style guidance (e.g., OSCOLA guide).

Copilot uses AI. Check for mistakes.
Comment thread oscola-no-ibid.csl
<choose>
<!-- display URLs only for online-only works -->
<if match="any" type="bill legal_case legislation"/>
<else-if match="any" variable="page"/>
Copy link

Copilot AI Apr 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new "suppress URL when variable=page" condition will hide URLs for any item that has pages, including types where page data is common but the item may still be online-only (e.g., reports/theses with a total page count). If the goal is mainly to suppress URLs for print-equivalent types (like journal articles/books), consider replacing this with type-based conditions (e.g., article-journal/article-magazine/article-newspaper) rather than a blanket page check.

Suggested change
<else-if match="any" variable="page"/>
<else-if match="any" type="article-journal article-magazine article-newspaper"/>

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants