One function
format_item_metadata in 54yyyu/zotero-mcp
The author described this change as “fix: render ISBN and ISSN in markdown metadata output (#236)”. It counts as a record because the check below fails on the code as it stood at cf3d23fdd and passes on 17c7f6c19, with nothing else changed between the two runs.
Project54yyyu/zotero-mcp
Fix saved2026-04-21
Sharing licenceMIT · LICENSE
Change size+5 −1
What the code was meant to do, written into the code itself as a docstring
Format a Zotero item's metadata as markdown. Args: item: A Zotero item dictionary. include_abstract: Whether to include the abstract in the output. Returns: Markdown-formatted metadata.
The change
| 45 | 45 | book_info += f", {place}" | |
| 46 | 46 | lines.append(book_info) | |
| 47 | 47 | ||
| 48 | - | # DOI and URL | |
| 48 | + | # Identifiers and URL | |
| 49 | 49 | if doi := data.get("DOI"): | |
| 50 | 50 | lines.append(f"**DOI:** {doi}") | |
| 51 | + | if isbn := data.get("ISBN"): | |
| 52 | + | lines.append(f"**ISBN:** {isbn}") | |
| 53 | + | if issn := data.get("ISSN"): | |
| 54 | + | lines.append(f"**ISSN:** {issn}") | |
| 51 | 55 | if url := data.get("url"): | |
| 52 | 56 | lines.append(f"**URL:** {url}") | |
| 53 | 57 |
The check that tells the two apart
fail→pass·tests/test_identifier_fields_markdown.py::TestIsbnInMarkdown::test_isbn_rendered
Check file tests/test_identifier_fields_markdown.py, taken without changes from the fix and copied onto the older code, so the exact same check runs against both versions.
Origin and history
The code before itcf3d23fdde56bc2ae375123bcd15eb269690cc09
Broken version dated2026-04-09
Modulezotero_mcp.client
Units changedformat_item_metadata
Fingerprint2c3a11bb03bbc34f
Checked2026-08-18 by goldset/0.1
Every field above is generated by our program. None of it is written by hand.