Page MenuHomePhabricator

cite button auto filling article name in capital letters
Closed, DeclinedPublicBUG REPORT

Description

Steps to Reproduce:

Go to https://en.m.wikipedia.org/wiki/User:Leela52452/sandbox with Firefox for Android 68.5.0
Make sure you are logged in
tap sandbox
tap cite button
input doi or pmid given below

Actual Results:

it is currently auto filling article title in capital letters for the following :
doi
10.1097/00007890-197506000-00010
10.1097/00007890-197406000-00013
10.1097/00007890-197508000-00016|
10.1097/00007890-197602000-00010
10.1097/00007890-197403000-00010
10.1097/00007890-198111000-00020
10.1097/00007890-197606000-00009
10.1016/S0140-6736(73)90665-X
10.1097/00007890-197203000-00012
10.1016/S0140-6736(70)90041-3
10.1111/j.1464-410X.1966.tb09773.x
10.1016/S0140-6736(69)90753-3
10.1016/S0140-6736(67)90498-9
10.1001/archsurg.1955.01270070097016

pmid=14138017

citation bot has resolved the issues correctly, see https://en.m.wikipedia.org/wiki/Special:MobileDiff/942112154

Expected Results:

it must not use capital letters

Event Timeline

This is not a bug. The VisualEditor "cite" dialog (which has nothing to do with the Cite extension) just calls Citoid, which relies on CrossRef data, which is just what publishers provide. In this case, the publisher has uppercase titles:
https://api.crossref.org/works/10.1097/00007890-197506000-00010

Citoid can and should avoid introducing its own junk, but it's not within its scope to clean up the garbage provided by publishers.

This is not a bug. The VisualEditor "cite" dialog (which has nothing to do with the Cite extension) just calls Citoid, which relies on CrossRef data, which is just what publishers provide. In this case, the publisher has uppercase titles:
https://api.crossref.org/works/10.1097/00007890-197506000-00010

Citoid can and should avoid introducing its own junk, but it's not within its scope to clean up the garbage provided by publishers.

I mean, we *could* easily format titles to camel case. But I'm not sure that's what Citation bot is doing? It looks like it might be getting the metadata from pubmed instead. We used to do that, but had to turn it off because of performance issues. (Since we act in real time, we trade speed for accuracy in some places, and crossref is much faster) In which case, we should let Citation bot continue to do its thing :).

JTannerWMF moved this task from To Triage to Triaged on the VisualEditor board.
JTannerWMF subscribed.

Looks like Nemo and Marielle agree with this not being an issue so I am closing this task.