Page MenuHomePhabricator

Support external link templates
Open, Needs TriagePublic0 Estimated Story Points

Description

Citoid provides an easy and quick way to cite source, but it lacks the ability to use specific templates based on sources rather than generic templates for sources types.

One of the most popular ways to cite sources that are commonly used is using external links templates such as https://en.wikipedia.org/wiki/Category:External_link_templates (other wikis have similar templates). External links templates give editors the flexibility to update wiki-wide the URLs for a site, if it change its URL structure.

It would be awsome if it would be possible to do it using Citoid-template-type-map.json, by declaring

"blogPost": "Cite blog",
"blogPost[url^=http://blog.wikimedia.org]": "Cite Wikimedia blog",

(or some other way) to use site specific (or in more general source specific) template