2008/6/18 <wikitech-l-request(a)lists.wikimedia.org>:
>
> ---------- Thư được chuyển tiếp ----------
> From: Brion Vibber <brion(a)wikimedia.org>
> To: Wikimedia developers <wikitech-l(a)lists.wikimedia.org>
> Date: Mon, 16 Jun 2008 12:55:56 -0700
> Subject: Re: [Wikitech-l] Pages are not shown after import
> Minh Ngoc Le wrote:
>
>> I imported Vietnamese Wiktionary into my local MySQL 5.0 using mwdumper
>> and
>> no error occured. Then I opened MediaWiki, typed some words but none of
>> them
>> were found. Using PhpMyAdmin, I made sure that pages had been successfully
>> imported but there were only 134.000 pages instead of 227.290. Could
>> anybody
>> tell me what happended?
>>
>
> Was there an error during import? (import == database, not the SQL
> conversion).
>
> -- brion
>
>
I used this command:
java -Xmx512m -Xms128m -XX:NewSize=32m -XX:MaxNewSize=64m
> -XX:SurvivorRatio=6 -XX:+UseParallelGC -XX:GCTimeRatio=9
> -XX:AdaptiveSizeDecrementScaleFactor=1 *-jar mwdumper.jar --format=sql:1.5
> viwiktionary-20080609-pages-articles.xml.bz2* | mysql --user=root
> --password=xxx wikidb
>
There was no errors at all. And then I ran maintenance\rebuildtextindex.php:
php rebuildtextindex.php
>
It ran successfully without any errors, too. However, I still can't view my
pages using my MediaWiki installed in localhost.
System details:
- MediaWiki 1.11.2
- PHP 5.2.6 (with xml, dom, domxml, mbstring, mcrypt, mysql, mysqli,
etc.)
- Apache 2.2
- MySQL 5.0.51a community
- Windows XP SP2 Pro
BTW, I had tried to install MediaWiki 1.12 but I couldn't see any page after
installation, it always produced error at includes\Preprocessor_DOM.php
although I had enabled xml and install every xml extensions to PHP.
It drives me crazy!