Mobile app version of vmapp.org
Login or Join
Hamm4606531

: RefToolbar 2.0 generates empty template in references section I ported the RefToolbar 2.0 gadget from Wikipedia to my own MediaWiki installation (using Wikipedia's instructions) and the toolbar works

@Hamm4606531

Posted in: #Mediawiki

I ported the RefToolbar 2.0 gadget from Wikipedia to my own MediaWiki installation (using Wikipedia's instructions) and the toolbar works fine. But when creating a reference using a template, it just shows a redlink to a template where the reference should be shown in the references section of the article.

Is there something that I missed when porting the gadget?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Hamm4606531

1 Comments

Sorted by latest first Latest Oldest Best

 

@Jennifer507

I solved this by going to Special:Export on Wikipedia and exporting the following templates with the "include templates" checkbox checked:


Template:cite web
Template:cite news
Template:cite book
Template:cite journal


I then used the Special:Import page on my wiki to import the .xml file output by Wikipedia's export page and it all worked fine.

Note: You will need to install the ParserFunctions extension in order for the imported templates to work.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme