Page MenuHomePhabricator

Allow ReferencePreviews use titles from the Citation tool
Open, Needs TriagePublicFeature

Description

Currently Reference Previews supports showing different titles for different "reference types". These types somewhat align with the usual citation templates defined using the VE Citation Tool . - But that alignment is arbitrary and hard coded.

ReferencePreviews expects that the reference's body includes a cite tag and scans the class attribute to lookout for a hard coded set of specific CSS classes then then define the "type".

The output of the tag and the attribute must be taken care of by the template maintainer who edits the content of the templates that are supposed to work with the Citation tool.

The suggestion here is, that the Citation tool offers a way to always automatically forward the "citation type" as meta data in the content so that Reference Previews can read this and can use the same title defined in the tool as headline for the preview.

Event Timeline

WMDE-Fisch renamed this task from Allow ReferencePreviews to retrie to Allow ReferencePreviews use titles from the Citation tool.Aug 12 2024, 7:05 PM
WMDE-Fisch updated the task description. (Show Details)