Using MediaWiki note template in my MediaWiki site

可紊 提交于 2019-12-25 03:26:48

问题


How can I import and use MediaWiki Note template in my MediaWiki site?


回答1:


Use Special:Export (with the "include templates" option) and then feed the resulting XML to Special:Import on your wiki.

Note though that copying a complex template is usually hard, you need to match the configuration of the source site to a significant extent for the template to work. E.g. in this case you'll need to install the TemplateData and Translate extensions, possibly Scribunto too.




回答2:


When you open edit interface of that template, you will find a section called Templates used on this page:.

This section contain all modules, and templates that must be created in your wiki before adding this template.

Once you successfully copy that templates and modules to your wiki, then the template will work. Make sure that you install lua extension to your wiki also.



来源:https://stackoverflow.com/questions/53149017/using-mediawiki-note-template-in-my-mediawiki-site

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!