X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fpage%2FCategoryPage.php;h=dda13d3da9a9b25e1ee4840e0aec4a9e09839bb1;hb=e900893531e76fb8f80c1c9b5be459fd02862c3c;hp=2d7e8f24fda327aaf7f7286e04fe0fa680d53a4c;hpb=79ef473a2f558438c6846d046afe2e31db042722;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/page/CategoryPage.php b/includes/page/CategoryPage.php index 2d7e8f24fd..dda13d3da9 100644 --- a/includes/page/CategoryPage.php +++ b/includes/page/CategoryPage.php @@ -24,15 +24,12 @@ /** * Special handling for category description pages, showing pages, * subcategories and file that belong to the category + * + * @property WikiCategoryPage $mPage Set by overwritten newPage() in this class */ class CategoryPage extends Article { # Subclasses can change this to override the viewer class. - protected $mCategoryViewerClass = 'CategoryViewer'; - - /** - * @var WikiCategoryPage - */ - protected $mPage; + protected $mCategoryViewerClass = CategoryViewer::class; /** * @param Title $title