Wikimedia

Make Citoid show "we were unable to make a citation" instead of offering completely empty template

Citoid is an extension that allows you to add citations from a url or other identifier from the Visual Editor.

Getting started:

Install mediawiki, enable citoid, and make sure to import the listed templates: https://www.mediawiki.org/wiki/Citoid#Installation_2

We should show the "we could not make a citation for you" error if no template parameters have been added to the citation. We could check to see if the template is empty of parameters before offering up the suggestion in the inspector. You can mimic this behaviour locally by removing the template data ( i.e. content between tags in Template/Cite_web/doc) and then adding a citation in visual editor, i.e. twitter.com.

Task tags

  • node.js
  • citoid
  • visualeditor

Students who completed this task

Ethan Lee

Task type

  • code Code
  • web Design
close

2016