Topic on Template talk:Main page

Infobox is not displayed, template link shows instead; Chinese Localization problem

2
Summary by Tomybrz

Please ask on the Support Desk

Iampkuhz (talkcontribs)

I want to build a local Chinese Wikipedia database recently. However, I came up with 2 questions.

Infobox not display

After enable Extension:Scribunto, some infoboxes are not in correct format, such as NBA player Yao ming's page Yao_ming_page1.png. All the page content are included inside infobox.

yao_ming.png

Then I found that if I change the value of $wgLanguageCode from zh-cn to en , it show a little bit more formated yao_ming_page2.png. however, it can't parse infobox template as https://zh.wikipedia.org/wiki/姚明 shows. It can't parse 'redirect template‘ (just show the template links).

By the way, I have import redirect.sql, templatelinks.sql and other dump files from https://dumps.wikimedia.org/zhwiki/20150602 .

Chinese localization chars not parsed

As shown in yao_ming_page2.png, there are wikitext like -{zh;zh-hans;zh-hant|本条目類似愛好者網頁。}- . How can I fix this?

Could anyone provide some advise or run into the same problem before?

Thanks a lot

This post was hidden by 5.108.128.188 (history)