Save the parser output to a member variable of LinksUpdate, so that hooks can access it.
authorAndrew Garrett <werdna@users.mediawiki.org>
Mon, 28 Apr 2008 12:48:41 +0000 (12:48 +0000)
committerAndrew Garrett <werdna@users.mediawiki.org>
Mon, 28 Apr 2008 12:48:41 +0000 (12:48 +0000)
includes/LinksUpdate.php

index 6efa542..202ef6e 100644 (file)
@@ -47,6 +47,7 @@ class LinksUpdate {
                $this->mTitle = $title;
                $this->mId = $title->getArticleID();
 
+               $this->mParserOutput = $parserOutput;
                $this->mLinks = $parserOutput->getLinks();
                $this->mImages = $parserOutput->getImages();
                $this->mTemplates = $parserOutput->getTemplates();