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
If you are doing it in one of Wikimedia projects and not local
installation, it will be great to update :
On Tue, Dec 31, 2019 at 4:13 PM Jaime Crespo <jcrespo(a)wikimedia.org> wrote:
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>
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l