Page MenuHomePhabricator

Add warning for missing 'preprint' , 'standard', and 'dataset' key in Citoid Extension
Closed, ResolvedPublic

Description

In 2022 preprint item type was added to Zotero. 'standard' and 'dataset' were added in 2023. We should warn when this key is missing.

https://github.com/zotero/zotero-schema/commit/187305727c5866aef7004fdc8d5ec577a0969bc7

Event Timeline

Change #1111204 had a related patch set uploaded (by Mvolz; author: Mvolz):

[mediawiki/extensions/Citoid@master] Warn if 'preprint' key is missing

https://gerrit.wikimedia.org/r/1111204

Mvolz renamed this task from Add warning for missing 'preprint' key in Citoid Extension to Add warning for missing 'preprint' and 'dataset' key in Citoid Extension.Jan 16 2025, 12:49 PM

Change #1111204 merged by jenkins-bot:

[mediawiki/extensions/Citoid@master] Warn if 'preprint', 'dataset', or 'standard' key is missing

https://gerrit.wikimedia.org/r/1111204

Mvolz triaged this task as Low priority.
Mvolz updated the task description. (Show Details)
Mvolz renamed this task from Add warning for missing 'preprint' and 'dataset' key in Citoid Extension to Add warning for missing 'preprint' , 'standard', and 'dataset' key in Citoid Extension.Apr 3 2025, 11:43 AM

Change #1133880 had a related patch set uploaded (by Mvolz; author: Mvolz):

[mediawiki/extensions/Citoid@master] Warn for missing itemTypes

https://gerrit.wikimedia.org/r/1133880

Change #1133880 merged by jenkins-bot:

[mediawiki/extensions/Citoid@master] Warn for missing itemTypes

https://gerrit.wikimedia.org/r/1133880

Change #1133880 merged by jenkins-bot:

[mediawiki/extensions/Citoid@master] Warn for missing itemTypes

https://gerrit.wikimedia.org/r/1133880

Adding Editing QA to ensure this change only warns in the console and does not break anything (like it did last time ;))

Ryasmeen subscribed.

I can see the warnings in the console on Beta cluster not on en.wiki. Functionality of adding a citation seems to be working fine.

I can see the warnings in the console on Beta cluster not on en.wiki. Functionality of adding a citation seems to be working fine.

Great. En wiki doesn't have the warnings because they keys aren't missing.