From 44dc09e35dc9f0e4ca8bb96a7fa394c8571a7d45 Mon Sep 17 00:00:00 2001 From: Max Semenik Date: Thu, 5 Jan 2012 13:00:37 +0000 Subject: [PATCH] Accessor for LinksUpdate's parser output --- includes/LinksUpdate.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/includes/LinksUpdate.php b/includes/LinksUpdate.php index 38ed4cb4f4..582fe72812 100644 --- a/includes/LinksUpdate.php +++ b/includes/LinksUpdate.php @@ -26,6 +26,7 @@ class LinksUpdate { */ var $mId, //!< Page ID of the article linked from $mTitle, //!< Title object of the article linked from + $mParserOutput, //!< Parser output $mLinks, //!< Map of title strings to IDs for the links in the document $mImages, //!< DB keys of the images used, in the array key only $mTemplates, //!< Map of title strings to IDs for the template references, including broken ones @@ -810,6 +811,14 @@ class LinksUpdate { return $this->mTitle; } + /** + * Returns parser output + * @return ParserOutput + */ + public function getParserOutput() { + return $this->mParserOutput; + } + /** * Return the list of images used as generated by the parser * @return array -- 2.20.1