Some text is stored compressed in the databases, and some is on
external storage, a feature of MediaWiki which Wikimedia sites use;
this is not available at the present time.
Rob Church
On 22/03/06, Leo Büttiker <leo.buettiker(a)hsr.ch> wrote:
Hi all,
For a toolserver-project I will read all Wikipedia (pwiki_de) articles and
parse them for geoinformation. After some troubles I've fixed now nearly all
bugs, but I have still some troubles with opening the articles.
I open the article with the help of the mediawiki functions in the following
way:
$title = Title::newFromID($page_id);
$art = new Article($title);
$text = $art->getContent(true);
For some articles this work quite well, but for some it doesn't return text. I
think there's a problem with the compresion of the database (in a local
enviroment with a wikipedia dump it works), but I could't find out a
workaround. Any suggestions?
Thanks
Leo
_______________________________________________
Toolserver-l mailing list
Toolserver-l(a)Wikipedia.org
http://mail.wikipedia.org/mailman/listinfo/toolserver-l