Cite: Auto-filled references based on destination URL / ISBN / etc.
OpenPublic

Description

As an editor I can get paste a link or ISBN number into a simple form to get an auto-filled citation.

A user has their cursor in a place they would like to add a citation.
They click the Cite button on the toolbar.
An inspector opens in context, showing the title "Cite" a URL/ISBN field, and a "Lookup" button.

Workflow

Detail of citation inspector
Include line below field with link that opens the manual citation dialogue.

Manual Citation Dialogue
First step now includes all items in the former Cite menu

Errors
ISBN/DOI error - if incorrect amount of characters entered

URL error - if page not found

Generic error


Version: unspecified
Severity: enhancement

bzimport set Reference to bz60768.
Whatamidoing-WMF created this task.Via LegacyFeb 3 2014, 4:55 PM
Jdforrester-WMF added a comment.Via ConduitFeb 3 2014, 5:30 PM

This is part of bug 50768's re-written merged form; am re-splitting and using this one for the second half.

Jdforrester-WMF added a comment.Via ConduitFeb 6 2014, 5:47 PM
  • Bug 60863 has been marked as a duplicate of this bug. ***
Juandev added a comment.Via ConduitFeb 17 2014, 10:36 AM

(In reply to WhatamIdoing from comment #0)

It would be convenient if the reference tool would autofill {{cite book}}
from a URL to books.google.com This is done in several existing gadgets on
the English Wikipedia and is especially helpful for books that do not have
ISBNs.

Czech Wikipedia could be filled from national book database. I think their API might be available to us as we were already negotiating with them. Basically every time I fill reference template and also ISBN variable I wonder, why this cant be done automaticaly as in many countries such data are available and readable for scripts.

But what Ive been talking about in https://bugzilla.wikimedia.org/show_bug.cgi?id=60863

was just to load some basic options and than the user should file them by values. But this proposal is even better.

Jdforrester-WMF moved this task to Doing on the VisualEditor workboard.Via WebNov 23 2014, 11:02 PM
Jdforrester-WMF assigned this task to Mvolz.Via WebNov 24 2014, 12:48 AM
Jdforrester-WMF set Security to None.
Jdforrester-WMF changed the title from "VisualEditor: Better, automatic reference adding within VE (including parsing destination URL, access timestamps, and intelligent defaults)" to "Auto-filled references based on destination URL / ISBN / etc.".Via WebNov 24 2014, 3:50 PM
Jdforrester-WMF removed a project: VE-deploy-nextup.
KHammerstein added a subscriber: KHammerstein.Via WebDec 1 2014, 9:14 PM
KHammerstein added a comment.Via WebDec 2 2014, 9:07 PM
This comment was removed by KHammerstein.
KHammerstein edited the task description. (Show Details)Via WebDec 3 2014, 11:04 PM
KHammerstein edited the task description. (Show Details)
KHammerstein edited the task description. (Show Details)
KHammerstein edited the task description. (Show Details)
KHammerstein added a project: Design.
Mvolz added a comment.Via WebDec 4 2014, 11:39 AM

Hi Kaity,

What should the user see if there are no results?

For most urls I think it should just be the linked url, and then they can edit that, but for some identifiers (like issn, isbn) it's definitely possible there won't be anything to display at all. And we may or may not know what kind of ID it is (although we could guess?) I'm assuming it should go to this page https://www.mediawiki.org/wiki/VisualEditor/Design/Reference_Dialog#mediaviewer/File:Magic_cite4-02.png automatically but should there be some sort of error message or something....

Also it's possible that if the scraping is bad- i.e. it's just the text of the url as the title- these automatically are set as web citations, but it's possible the user will want to change the citation type from web to journal, for instance. Any thoughts on that?

KHammerstein added a comment.Via WebDec 8 2014, 10:28 PM

Hi Marielle,
I think we should leave the user on the same screen, in case they messed up the number and want to try again.
We should show an error message that says something like "We couldn't find that book" and maybe give a hint like "An ISBN is usually 10 or 13 digits."
And the user still has the option at the bottom to go to the screen to enter the citation manually.

KHammerstein changed the title from "Auto-filled references based on destination URL / ISBN / etc." to "Cite: Auto-filled references based on destination URL / ISBN / etc.".Via WebDec 8 2014, 11:13 PM
Sjoerddebruin added a subscriber: Sjoerddebruin.Via WebJan 27 2015, 10:28 AM
Jdforrester-WMF set Story Points to 100.Via WebMon, Feb 2, 7:47 PM
TrevorParscal changed Story Points from 100 to 1000.Via WebMon, Feb 2, 7:47 PM
Jdforrester-WMF moved this task to Accepted on the § VisualEditor Q3 Blockers workboard.Via WebTue, Feb 3, 5:04 PM
Jdforrester-WMF added a project: Epic.Via WebTue, Feb 3, 7:53 PM
Eloquence added a subscriber: Eloquence.Via WebWed, Feb 4, 4:47 AM
TrevorParscal changed Story Points from 1000 to 160.Via WebWed, Feb 4, 7:15 PM
KHammerstein edited the task description. (Show Details)Via WebThu, Feb 19, 6:56 PM
KHammerstein edited the task description. (Show Details)Via WebThu, Feb 19, 7:00 PM
KHammerstein edited the task description. (Show Details)
KHammerstein edited the task description. (Show Details)Via WebThu, Feb 19, 11:04 PM
KHammerstein edited the task description. (Show Details)Via WebFri, Feb 20, 11:30 PM
KHammerstein edited the task description. (Show Details)Via WebMon, Feb 23, 7:27 PM
KHammerstein edited the task description. (Show Details)Via WebMon, Feb 23, 7:36 PM
KHammerstein edited the task description. (Show Details)Via WebMon, Feb 23, 7:43 PM
KHammerstein edited the task description. (Show Details)Via WebMon, Feb 23, 9:09 PM
Jdforrester-WMF moved this task to March 2015: Features on the Epic workboard.Via WebWed, Feb 25, 4:19 PM
Elitre added a subscriber: Elitre.Via WebFri, Feb 27, 3:43 PM

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.