dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Deprecate Parser implementation methods (will be private in next release)
[lhc/web/wiklou.git]
/
includes
/
page
/
CategoryPage.php
diff --git
a/includes/page/CategoryPage.php
b/includes/page/CategoryPage.php
index
2d7e8f2
..
dda13d3
100644
(file)
--- 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
/**
* 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.
*/
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
/**
* @param Title $title