Page MenuHomePhabricator

Credit the source of the citation in the Citoid Extension
Closed, ResolvedPublic1 Story Points

Description

When a result is returned from the Citoid service into the auto-citation tool which has been provided via a Zotero translator, show "Powered by Zotero" text. (wording to be finalised).

Event Timeline

Something like this:

(i.e., <div class="credit">Powered by Zotero</div> in the <p>).

and

.credit {
    font-size:x-small;
    text-align:right;
}

… or something equivalently simple.

Mvolz moved this task from Backlog to Service on the Citoid board.Sep 16 2016, 12:40 PM
Mvolz moved this task from Service to Extension on the Citoid board.
Mvolz added a subscriber: Mvolz.Sep 30 2016, 2:34 PM

The source field is deployed so we could do this now.

Input from Zotero usually looks like ['zotero'] but in some cases as will be as messy as ['citoid', 'PubMed', 'Crossref'].

Thoughts? We could check if Zotero is in the results and only display "power by Zotero" in that case, is that's what you were thinking? And just not bother giving credit to anyone else? :P Or maybe just skip citoid and do at maximum two sources?

Mvolz claimed this task.Sep 30 2016, 2:34 PM
Mvolz renamed this task from Credit the source of the citation to Credit the source of the citation in the Citoid Extension.Sep 30 2016, 2:40 PM

The source field is deployed so we could do this now.
Input from Zotero usually looks like ['zotero'] but in some cases as will be as messy as ['citoid', 'PubMed', 'Crossref'].
Thoughts? We could check if Zotero is in the results and only display "power by Zotero" in that case, is that's what you were thinking? And just not bother giving credit to anyone else? :P Or maybe just skip citoid and do at maximum two sources?

I think we should limit it to a maximum of one source. Crediting multiple sources will be really messy and take up loads of space. Is there a sane ordering that'd let us pick which one – last in the list?

Change 314712 had a related patch set uploaded (by Mvolz):
Add credit line for Zotero citations

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

Mvolz added a comment.Oct 7 2016, 4:11 PM

Ended up doing to the original spec, which is to only show it if the citation came from Zotero ^-^

Change 314712 merged by jenkins-bot:
Add credit line for Zotero citations

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

Restricted Application added a project: User-Ryasmeen. · View Herald TranscriptMay 16 2017, 4:28 AM