On Tue, 10 Sep 2013 10:24:52 +0200, anubhav agarwal <[email protected]> 
wrote:

I am having trouble using ArticleDeleteComplete Hook. I wish to get the
content of the deleted revision.

So I called $article->getContent(), but it return me null. How can I get
the content of the deleted revision ?

That hook is fired after the article is deleted, so its contents are no longer 
available. Try using the ArticleDelete hook instead, which is fired before the 
actual deletion.


--
Matma Rex

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to