* @addtogroup SpecialPage
*/
class SpecialAllpages {
- var $maxPerPage=960;
- var $topLevelMax=50;
- var $name='Allpages';
- # Determines, which message describes the input field 'nsfrom' (->SpecialPrefixindex.php)
- var $nsfromMsg='allpagesfrom';
+ /**
+ * Maximum number of pages to show on single subpage.
+ */
+ protected $maxPerPage = 960;
+
+ /**
+ * Name of this special page. Used to make title objects that reference back
+ * to this page.
+ */
+ protected $name = 'Allpages';
+
+ /**
+ * Determines, which message describes the input field 'nsfrom'.
+ */
+ protected $nsfromMsg = 'allpagesfrom';
/**
* HTML for the top form
* @addtogroup SpecialPage
*/
class SpecialPrefixindex extends SpecialAllpages {
- var $maxPerPage=960;
- var $topLevelMax=50;
- var $name='Prefixindex';
- # Determines, which message describes the input field 'nsfrom', used in function namespaceForm (see superclass SpecialAllpages)
- var $nsfromMsg='allpagesprefix';
+ // Inherit $magPerPage
+
+ // Define other properties
+ protected $name = 'Prefixindex';
+ protected $nsfromMsg = 'allpagesprefix';
/**
* @param integer $namespace (Default NS_MAIN)