On Jun 7, 2011 8:18 AM, "蔡超" <[email protected]> wrote:
>
> hi,
>
> I want to install a zh-wiki mirror. I have tried several dumps, there are
> always some errors.
> Error 1: when I visit any wiki pages, explorer says
> "'mw.util.addPortletLink' is null or not an object"

This may be from broken security fixes in the last MediaWiki release. 1.17b2
should be available soon... try pulling direct from SVN if still waiting.

> Error 2: Templates can not be converted into proper html code, as the
> picture attached.

Picture didn't make it to the list, but most likely you need to install
extensions like Cite and ParserFunctions.

> Error 3: Can not translate Simplified Chinese and Traditional Chinese.

What's wrong with it, exactly?

Make sure you set $wgLanguageCode = "zh" in LocalSettings.php.

-- brion
>
> Here is my steps to build the mirror:
> 1. download latest dumps(zhwiki-20110521), mwdumper java source and
> mediawiki 1.7.0.beta,
> 2. install mediawiki with name "Wikipedia", the localsetting.php is
> attached.
> 3. alter database table "page", "revision" and "text", remove key
constrain,
> auto_increment and index.
> 4. import page-article.xml with mwdumper.jar
> 5. alter database table "page", "revision" and "text", add key constrain,
> auto_increment and index.
> 6. import zhwiki-20110521-image.sql, imagelinks.sql, interwiki.sql,
> iwlinks.sql, langlinks.sql, pagelinks.sql, redirect.sql,
templatelinks.sql.
>
> Is there anything wrong with my operations?
>
> Best regards
>
> Toppi
> _______________________________________________
> MediaWiki-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to