GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||
GeezerVison is showing phabricator.wikimedia.org — T58772 VisualEditor: When using citation templates, the page title and access date fields should be filled automatically
Assigned To None Authored By
Project Tags Referenced Files None
Description When cite web is used, webpage title, and access date should be filled automatically for 1 click web citations. Status: Title and other information is done via Citoid, but auto-adding the current date to the access-date parameter is a problem because of T4700: Pre-save transform skips extensions using wikitext (gallery, references, footnotes, Cite, status indicators, pipe trick, subst, signatures).
Details
Related Objects Search...
Event Timeline• bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:19 AM2014-11-22 02:19:28 (UTC+0) • bzimport set Reference to bz56772. Comment Actions Merging this with bug 50768.
Comment Actions This has not been implemented, as of the version in English Wikipedia. Comment Actions 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? Comment Actions (actually, leaving this as reopened for now due to the citoid bit...) Comment Actions (In reply to Alex Monk from comment #3)
Unfortunately bug 2700 means this isn't very trivial… Comment Actions 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. Jdforrester-WMF moved this task from To Triage to Freezer on the VisualEditor board.Nov 24 2014, 1:28 AM2014-11-24 01:28:38 (UTC+0) Comment Actions 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 merged a task: T96171: Auto-populate current date in citation dialog "URL access date" field.Apr 15 2015, 6:48 PM2015-04-15 18:48:56 (UTC+0) Comment Actions@Ragesoss tried this on enwiki beta, and it doesn't work: the subst; template is not rendered. Comment Actions @Capt_Swing: can you please clarify? What did you test, and where? Links are appreciated. Thank you. Comment Actions 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! • Whatamidoing-WMF updated the task description. (Show Details)Apr 15 2019, 7:36 PM2019-04-15 19:36:35 (UTC+0) This comment was removed by Aklapper. Content licensed under Creative Commons Attribution-ShareAlike (CC BY-SA) 4.0 unless otherwise noted; code licensed under GNU General Public License (GPL) 2.0 or later and other open source licenses. By using this site, you agree to the Terms of Use, Privacy Policy, and Code of Conduct. · Wikimedia Foundation · Privacy Policy · Code of Conduct · Terms of Use · Disclaimer · CC-BY-SA · GPL · Credits | |||||||||||||||||||||||||||
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |