Accessor for LinksUpdate's parser output
authorMax Semenik <maxsem@users.mediawiki.org>
Thu, 5 Jan 2012 13:00:37 +0000 (13:00 +0000)
committerMax Semenik <maxsem@users.mediawiki.org>
Thu, 5 Jan 2012 13:00:37 +0000 (13:00 +0000)
includes/LinksUpdate.php

index 38ed4cb..582fe72 100644 (file)
@@ -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