Thanks so much. I installed ParserFunctions and tidy,
then the mirror works.
There is still some problem with languageCode . If $wgLanguageCode
='zh-cn', the simplify-triditional conversion doesn't work. If it is set to
'zh', then the conversion buttons appear, and and the conversion works after
the button is clicked.
On Thu, Jun 9, 2011 at 7:41 AM, Brion Vibber <brion(a)wikimedia.org> wrote:
On Tue, Jun 7, 2011 at 9:44 PM, 蔡超
<toppiprc(a)gmail.com> wrote:
On Wed, Jun 8, 2011 at 12:42 AM, Brion Vibber
<brion(a)wikimedia.org>wrote;wrote:
On Jun 7, 2011 8:18 AM, "蔡超"
<toppiprc(a)gmail.com> wrote:
> 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.
Sorry, the picture is too big for the mailing list.
Yeah, looks like you have two problems:
1) ParserFunctions extension is not installed -- this causes the things
like '{{#if:...}}' and '{{#switch:...}}' to show in output, since the
extension code that handles them is not present.
See
http://www.mediawiki.org/wiki/Extension:ParserFunctions for download
links etc.
2) Style sheets are not being loaded properly, probably because of bugs in
the IE6 security fix in 1.17.0b1.
Updating to the second beta should resolve that... is it available yet? if
not you can pull from SVN directly. Alternatively, testing with another
browser such as Firefox may work around the bug for now.
The missing style sheets are causing all the tabs and controls normally at
the top or sidebar to show way down at the bottom of the page, which could
be what prevents you from reaching the simplified / traditional conversion
tab.
-- brion
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org