Page MenuHomePhabricator

Proof of concept for content-based reference patterns
Closed, ResolvedPublic

Description

We want to start increment 2 with a proof of concept.

  • Reuse POC of increment 1: When generating the name in MWReferenceKeyGenerator. generateName
  • Lookup if it’s a Citation template reference
  • Lookup if there’s a mapping for autonames in the template data
  • Read the mapping from templatedata
  • Check if the fields in the mapping have content
  • Stitch the autoname together form the mapping and the fields content
  • Check for collisions with existing reference names

Event Timeline

Change #1329635 had a related patch set uploaded (by WMDE-Fisch; author: WMDE-Fisch):

[mediawiki/extensions/Cite@master] [POC] Demonstrate community provided template for autonames

https://gerrit.wikimedia.org/r/1329635

WMDE-Fisch subscribed.

POC Implemented in https://gerrit.wikimedia.org/r/1329635 resolving this ticket