VisualEditor: When using citation templates, the page title and access date fields should be filled automatically
Open, NormalPublic

Description

When cite web is used, webpage title, and access date should be filled automatically for 1 click web citations.


Version: unspecified
Severity: enhancement

Details

Reference
bz56772
bzimport raised the priority of this task from to Normal.
bzimport set Reference to bz56772.

Merging this with bug 50768.

  • This bug has been marked as a duplicate of bug 50768 ***

This has not been implemented, as of the version in English Wikipedia.

It should be possible to achieve the accessdate part of this by editing TemplateData to use the autovalue field from bug 52029 (subst: the date in automatically).

Webpage title - isn't that something Citoid would do?

(actually, leaving this as reopened for now due to the citoid bit...)

(In reply to Alex Monk from comment #3)

It should be possible to achieve the accessdate part of this by editing
TemplateData to use the autovalue field from bug 52029 (subst: the date in
automatically).

Webpage title - isn't that something Citoid would do?

Unfortunately bug 2700 means this isn't very trivial…

I created https://gerrit.wikimedia.org/r/#/c/137824/ a while ago. I'll try to get around to reworking it to make it work, which will allow you to do this.

Web page title is done by citoid, I'm not sure if we can migrate the operation to the Cite web template automatically.

However (as per irc chat) filling in the date automatically is exactly what the TemplateData autofill property is for. It can be set up with a template substitution for current date, and VE will fill it in automatically.

Capt_Swing added subscribers: Capt_Swing, Aklapper.
Capt_Swing added a subscriber: Ragesoss.

@Ragesoss tried this on enwiki beta, and it doesn't work: the subst; template is not rendered.

@Capt_Swing: can you please clarify? What did you test, and where? Links are appreciated. Thank you.

Here's what I did: http://en.wikipedia.beta.wmflabs.org/w/index.php?title=Template:Cite_web/doc&diff=prev&oldid=216044

The problem is indeed that substitution does not work inside 'ref' tags (T4700), so there's no way in its current form to autofill the 'access date' field via TemplateData.

It seems like this could be solved just within VE, though, by adding some way of directly adding the current date as the default for a field and leaving the parser out of it altogether. But! It looks like there's a shiny new patch for review for actually fixing that hoary bug!

Pols12 added a subscriber: Pols12.Oct 14 2015, 10:16 PM

Is it Citoid ?