Steps to reproduce:
- In VE insert 'Autofill from URL' - the inserted citation will display Basic type after Insert.
- Hover over the inserted citation - the type will be changed to Website .
Etonkovidova | |
Jan 30 2015, 8:45 PM |
F33306: Basic_reference_Website.mov | |
Jan 30 2015, 8:45 PM |
Steps to reproduce:
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Refactor Citoid extension as an inspector | mediawiki/extensions/Citoid | master | +588 -335 |
Change 190973 had a related patch set uploaded (by Mooeypoo):
Refactor Citoid extension as an inspector
Re-checked in betalabs for a new re-designed dialog citation inspector - all citation entered via "Autofill citations by URL or DOI" are of Website type.
@Etonkovidova : Did you try a nytimes link? I just did and it came out as "news". When we can't determine the type of a resource, the default type is "website" so sometimes it seems like everything is "web".
If you'd like some guaranteed (pretty much) types for testing, nytimes always comes out as "news", and pubmed links www.ncbi.nlm.nih.gov/pubmed/23555203 as "journal", and imdb links should come out as "Citation" since that's what's in the typemap right now: http://en.wikipedia.beta.wmflabs.org/wiki/MediaWiki:Citoid-template-type-map.json.
If zotero goes down, then all of those may come out as websites, with the exception of imdb, I think- kind of a moving target as we improve our ability to natively categorise resources instead of relying on zotero and using webpage as a default.
Thanks for suggestions! Checked in betalabs and test2
I tried the cases you suggested with 'Add citation' feature:
This was fixed by https://gerrit.wikimedia.org/r/#/c/197718/ (merged) see https://phabricator.wikimedia.org/T93005
Thanks!
Checked again:
Entering in 'Add citation' nytimes and imdb will return "We couldn't make a citation for you. You can make one by using the full citation dialog." - which is correct behaviour.