开发者

How to get Wikipedia templates to work with MediaWiki

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜