开发者

How to get Wikipedia templates to work with MediaWiki

开发者 https://www.devze.com 2023-02-28 21:32 出处:网络
I exported a category of Wikipedia, checking the include templates as I did so and imported it into a MediWiki install, but all the pages are m开发者_JS百科essed up how do get all the necessary templa

I exported a category of Wikipedia, checking the include templates as I did so and imported it into a MediWiki install, but all the pages are m开发者_JS百科essed up how do get all the necessary templates so the page displays properly?


The easiest way is to use Special:Export and make sure the "Include templates" checkbox is checked. You will also very likely need the ParserFunctions extension installed, and possibly other extensions. You may also need to copy supporting scripts or CSS rules from MediaWiki:Common.js, MediaWiki:Common.css, MediaWiki:Vector.js, MediaWiki:Vector.css, or the like.

If you've done the Special:Export thing and are still having problems, and have checked the documentation for the template for any specific notes on reuse, you could try asking on the template's talk page for help.

0

精彩评论

暂无评论...
验证码 换一张
取 消