Hi,
On Tue, Dec 31, 2019 at 12:42 PM Egbe Eugene <agboreugene(a)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-n6…
https://en.wikipedia.org/w/index.php?title=User:JCrespo_(WMF)/sandbox&t…
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>