Hi Eugene, Assuming it is local installation or wiki other than English wikipedia where citations aren't yet configurated you can follow
E.g copy https://en.wikipedia.org/wiki/MediaWiki:Citoid-template-type-map.json and https://en.wikipedia.org/wiki/MediaWiki:Visualeditor-cite-tool-definition.json If you are doing it in one of Wikimedia projects and not local installation, it will be great to update : https://phabricator.wikimedia.org/T127354 On Tue, Dec 31, 2019 at 4:13 PM Jaime Crespo <jcre...@wikimedia.org> wrote: > Hi, > > On Tue, Dec 31, 2019 at 12:42 PM Egbe Eugene <agboreug...@gmail.com> > wrote: > > > Hi All, > > > > I am implementing template > https://en.wikipedia.org/wiki/Template:Cite_web > > in > > VE and after using the template code[1], I get results shown below > > > > Sorry, I may not be understanding what you are trying to accomplish, I am > guessing reimplementing Cite_web functionality on your own local mediawiki > installation? > I don't know much about visual editor or references-related code, someone > else may be able to help you here better, but I know that is implemented on > enwiki: > > https://phab.wmfusercontent.org/file/data/wz3njgh6k6iwrugvap6f/PHID-FILE-n6el7aiazixa4mwb2rq2/Screenshot_20191231_150008.png > > https://en.wikipedia.org/w/index.php?title=User:JCrespo_(WMF)/sandbox&type=revision&diff=933365112&oldid=926096219&diffmode=visual > > So my only suggestion is to look at how enwiki has it configured and try to > adapt it to your needs. > > Another suggestion is to use Phaste: > https://phabricator.wikimedia.org/paste/edit/form/14/ for code snippets, > as > it will prevent vandals from editing it + allow comments. > > Sorry I cannot be of more help, > -- > Jaime Crespo > <http://wikimedia.org> > _______________________________________________ > Wikitech-l mailing list > Wikitech-l@lists.wikimedia.org > https://lists.wikimedia.org/mailman/listinfo/wikitech-l _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l