Fix for r103502: make PoolWorkArticleView::doWork() return true when the parse is...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Fri, 18 Nov 2011 07:10:03 +0000 (07:10 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Fri, 18 Nov 2011 07:10:03 +0000 (07:10 +0000)
includes/WikiPage.php

index 1de6c17..fff85ce 100644 (file)
@@ -2792,7 +2792,7 @@ class PoolWorkArticleView extends PoolCounterWork {
         * @return bool
         */
        public function getIsDirty() {
-               return $this->isDirty();
+               return $this->isDirty;
        }
 
        /**
@@ -2849,6 +2849,8 @@ class PoolWorkArticleView extends PoolCounterWork {
                if ( $isCurrent ) {
                        $this->page->doCascadeProtectionUpdates( $this->parserOutput );
                }
+
+               return true;
        }
 
        /**