for the db connection
Andreas
2013/1/16 Andreas Plank andreas.pl...@web.de:
2013/1/16 Krenair kren...@gmail.com:
You could try RequestContext::getMain() to get the context source object.
Alex Monk
On 16/01/13 16:56, Andreas Plank wrote:
I tried many functions in various classes
Hi Platonides
2013/1/15 Platonides platoni...@gmail.com:
I tried to get the content via getArticleID() ...
$titleObj=Title::newFromText(Existing page);
$articleID=$titleObj-getArticleID();
Article::newFromID($articleID)-fetchContent();
etc.
... but it returns $articleID=0 although the page
Hi Platonides
(sorry I posted from a wrong Email address, I try again with a proper
subject line to get the thread line correct on
http://news.gmane.org/gmane.science.linguistics.wikipedia.technical)
2013/1/15 Platonides platoni...@gmail.com:
I tried to get the content via getArticleID() ...
Hi,
One of Tyler Romeo's suggested approach is to use
Article::newFromTitle($titleObj)
... but it does need a second argument of type IContextSource. I do
not know how to get it or how to instantiate it yet. At the moment it
does not retrieve the page content as well because of the missing
2013/1/16 Krenair kren...@gmail.com:
You could try RequestContext::getMain() to get the context source object.
Alex Monk
On 16/01/13 16:56, Andreas Plank wrote:
I tried many functions in various classes:
RequestContext
WikiPage
Title
Article
... but it is always the same I do not get the raw
Hi,
I'm using MW 1.20.2 and I want to get the content of a page for
further parsing in a PHP application. The PHP application is triggered
via a special page (Special:MobileKeyV1) and parses nature guides for
mobile devices.
I tried to get the content via getArticleID() ...