You could try RequestContext::getMain() to get the context source object.

Alex Monk
On 16/01/13 16:56, Andreas Plank wrote:
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
IContextSource ...


_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to