Allow CategoryPageView to set $mCategoryViewerClass
authorLouperivois <plmoell@hotmail.com>
Thu, 8 Jun 2017 20:35:00 +0000 (16:35 -0400)
committerLouperivois <plmoell@hotmail.com>
Thu, 8 Jun 2017 21:09:24 +0000 (21:09 +0000)
Bug: T166483
Change-Id: I9937148dd8114e7167d6a581e64bfed5fdcc568e

includes/page/CategoryPage.php

index ccc50f7..7dea271 100644 (file)
@@ -27,7 +27,7 @@
  */
 class CategoryPage extends Article {
        # Subclasses can change this to override the viewer class.
-       protected $mCategoryViewerClass = 'CategoryViewer';
+       public $mCategoryViewerClass = 'CategoryViewer';
 
        /**
         * @var WikiCategoryPage