From: Louperivois Date: Thu, 8 Jun 2017 20:35:00 +0000 (-0400) Subject: Allow CategoryPageView to set $mCategoryViewerClass X-Git-Tag: 1.31.0-rc.0~3002^2 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=17d5e809;p=lhc%2Fweb%2Fwiklou.git Allow CategoryPageView to set $mCategoryViewerClass Bug: T166483 Change-Id: I9937148dd8114e7167d6a581e64bfed5fdcc568e --- diff --git a/includes/page/CategoryPage.php b/includes/page/CategoryPage.php index ccc50f78dd..7dea27113d 100644 --- a/includes/page/CategoryPage.php +++ b/includes/page/CategoryPage.php @@ -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