Re: [Wikitech-l] Getting article content

2015-06-18 Thread Bartosz DziewoƄski
Yep. -- -- Matma Rex ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] Getting article content

2015-06-18 Thread Aran
I just noticed that Article::getContent is deprecated now, and the code says that WikiPage::getContent is now the preferred method. What's the recommended way to get the current text content of a normal wikitext article now? Would it be this? $text = $article->getPage()->getContent()->getNativeData