Page MenuHomePhabricator

Offer to automaticlly convert bare-formatted references if we spot something that looks a bit like a URL or a DOI in it
Open, LowestPublic8 Story Points

Description

<ref>Bairamzadeh S., Pishvaee M.S.,  Saidi-Mehrabad M., (2016). Multi-objective Robust Possibilistic Programming Approach to Sustainable Bioethanol Supply Chain Design under Multiple Uncertainties, Industrial & Engineering Chemistry Research.  [http://pubs.acs.org/doi/abs/10.1021/acs.iecr.5b02875 DOI: 10.1021/acs.iecr.5b02875]</ref>

in to

<ref>{{Cite journal|title = Multiobjective Robust Possibilistic Programming Approach to Sustainable Bioethanol Supply Chain Design under Multiple Uncertainties|url = http://pubs.acs.org/doi/abs/10.1021/acs.iecr.5b02875|journal = Industrial & Engineering Chemistry Research|date = 2015-12-22|pages = 237–256|volume = 55|issue = 1|doi = 10.1021/acs.iecr.5b02875|language = EN|first = Samira|last = Bairamzadeh|first2 = Mir Saman|last2 = Pishvaee|first3 = Mohammad|last3 = Saidi-Mehrabad}}</ref>

Current process:

  1. Copy url
  2. Replace all content of reference with the copied url
  3. Press "Apply changes"
  4. Press Convert
  5. Press Insert

There must be a better way to do this.

Event Timeline

Josve05a created this task.Jan 24 2016, 3:47 PM
Josve05a updated the task description. (Show Details)
Josve05a raised the priority of this task from to Needs Triage.
Josve05a added projects: Citoid, VisualEditor.
Josve05a added a subscriber: Josve05a.
Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald TranscriptJan 24 2016, 3:47 PM
Jdforrester-WMF changed the task status from Open to Stalled.Feb 9 2016, 8:29 PM
Jdforrester-WMF added a subscriber: Jdforrester-WMF.

For bare URL references we provide a tool to convert them (<ref>foo.com</ref> -> <ref>{{cite news…}}</ref>), but I can't see how hand-written prose could be automatically converted in a sane way?

For bare URL references we provide a tool to convert them (<ref>foo.com</ref> -> <ref>{{cite news…}}</ref>), but I can't see how hand-written prose could be automatically converted in a sane way?

URL-detection? If the reference mentions an url, offer to replace the reference with a pre-filled citation based on the url alone, and ignore the rest of the existing reference?

DOI detection? If the reference mentions a doi-number offer to replace the reference with a pre-filled citation based on the doi number alone, and ignore the rest of the existing reference?

Nemo_bis renamed this task from Automaticly convert bare-formated references to Automaticly convert bare-formatted references.Jul 17 2016, 12:37 PM
Josve05a changed the task status from Stalled to Open.Jul 17 2016, 12:40 PM

Removing the stalled status, since I answered how it could be done.

Jdforrester-WMF renamed this task from Automaticly convert bare-formatted references to Offer to automaticly convert bare-formatted references if we spot something that looks a bit like a URL or a DOI in it.Jul 19 2016, 7:05 PM
Jdforrester-WMF triaged this task as Low priority.
Jdforrester-WMF set the point value for this task to 8.
Jdforrester-WMF set Security to None.
Jdforrester-WMF moved this task from To Triage to Freezer on the VisualEditor board.
Mvolz moved this task from Backlog to Extension on the Citoid board.Jul 29 2016, 3:20 PM
Deskana lowered the priority of this task from Low to Lowest.Aug 30 2018, 12:33 PM
Restricted Application added a subscriber: jhsoby-WMNO. · View Herald TranscriptAug 30 2018, 12:33 PM
Mvolz added a subscriber: Mvolz.Nov 2 2018, 10:57 AM

Now that T198567 works, we could potentially offer the conversion for any text, not just bare urls at present. Citoid actually will look for urls anywhere in the text, and it'll also search worldcat and crossref.

Not guaranteed to work great though but if it's now very feasible, all you have to do is allow the "convert" option for any bare references.

Restricted Application added a subscriber: Liuxinyu970226. · View Herald TranscriptApr 1 2019, 1:38 AM

also maybe ISBN?

Mvolz renamed this task from Offer to automaticly convert bare-formatted references if we spot something that looks a bit like a URL or a DOI in it to Offer to automaticlly convert bare-formatted references if we spot something that looks a bit like a URL or a DOI in it.Apr 1 2019, 8:55 AM

Similar, but that's one for doing it in a separate tool en masse, I think, rather than expanding the current option.