X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fparser%2FParserOutput.php;h=cc707134b86c943f59493ee0a9652ab20f5a87c1;hb=4435211205508fd72dfc978e1e6575b1edd36050;hp=f2aaeedc7c596310a86f9ff506c64daf6cc9227a;hpb=b8a7e59275fcb56094e5866fef49dcacc94afd48;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/parser/ParserOutput.php b/includes/parser/ParserOutput.php index f2aaeedc7c..cc707134b8 100644 --- a/includes/parser/ParserOutput.php +++ b/includes/parser/ParserOutput.php @@ -42,7 +42,7 @@ class ParserOutput extends CacheTime { public $mLanguageLinks; /** - * @var array $mCategoriesMap of category names to sort keys + * @var array $mCategories Map of category names to sort keys */ public $mCategories; @@ -471,14 +471,6 @@ class ParserOutput extends CacheTime { 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; } @@ -518,11 +510,6 @@ class ParserOutput extends CacheTime { return $this->mModules; } - public function getModuleScripts() { - wfDeprecated( __METHOD__, '1.33' ); - return []; - } - public function getModuleStyles() { return $this->mModuleStyles; } @@ -566,14 +553,6 @@ class ParserOutput extends CacheTime { 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; } @@ -598,14 +577,6 @@ class ParserOutput extends CacheTime { 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 ); } @@ -618,14 +589,6 @@ class ParserOutput extends CacheTime { 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; }