public $mLanguageLinks;
/**
- * @var array $mCategoriesMap of category names to sort keys
+ * @var array $mCategories Map of category names to sort keys
*/
public $mCategories;
return $this->mSections;
}
- /**
- * @deprecated since 1.31 Use getText() options.
- */
- public function getEditSectionTokens() {
- wfDeprecated( __METHOD__, '1.31' );
- return true;
- }
-
public function &getLinks() {
return $this->mLinks;
}
return $this->mModules;
}
- public function getModuleScripts() {
- wfDeprecated( __METHOD__, '1.33' );
- return [];
- }
-
public function getModuleStyles() {
return $this->mModuleStyles;
}
return $this->mLimitReportJSData;
}
- /**
- * @deprecated since 1.31 Use getText() options.
- */
- public function getTOCEnabled() {
- wfDeprecated( __METHOD__, '1.31' );
- return true;
- }
-
public function getEnableOOUI() {
return $this->mEnableOOUI;
}
return wfSetVar( $this->mSections, $toc );
}
- /**
- * @deprecated since 1.31 Use getText() options.
- */
- public function setEditSectionTokens( $t ) {
- wfDeprecated( __METHOD__, '1.31' );
- return true;
- }
-
public function setIndexPolicy( $policy ) {
return wfSetVar( $this->mIndexPolicy, $policy );
}
return wfSetVar( $this->mTimestamp, $timestamp );
}
- /**
- * @deprecated since 1.31 Use getText() options.
- */
- public function setTOCEnabled( $flag ) {
- wfDeprecated( __METHOD__, '1.31' );
- return true;
- }
-
public function addCategory( $c, $sort ) {
$this->mCategories[$c] = $sort;
}