Rob
this is not available at the present time.
Does this mean, Wikimedia sites (like de) use the compression but don't offer decompression?? As a user I've never seen compressed stuff, so this is weird... we really need somehow a workaround.
-- Stefan K.
-----Original Message----- From: toolserver-l-bounces@Wikipedia.org [mailto:toolserver-l- bounces@Wikipedia.org] On Behalf Of Rob Church Sent: Wednesday, March 22, 2006 10:10 PM To: toolserver-l@wikipedia.org Subject: Re: [Toolserver-l] Troubles with reading Articles
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@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@Wikipedia.org http://mail.wikipedia.org/mailman/listinfo/toolserver-l
Toolserver-l mailing list Toolserver-l@Wikipedia.org http://mail.wikipedia.org/mailman/listinfo/toolserver-l