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
Merge "user: Remove deprecated and unused method `getPasswordValidity()`"
[lhc/web/wiklou.git]
/
includes
/
parser
/
ParserOutput.php
diff --git
a/includes/parser/ParserOutput.php
b/includes/parser/ParserOutput.php
index
f2aaeed
..
cc70713
100644
(file)
--- a/
includes/parser/ParserOutput.php
+++ b/
includes/parser/ParserOutput.php
@@
-42,7
+42,7
@@
class ParserOutput extends CacheTime {
public $mLanguageLinks;
/**
public $mLanguageLinks;
/**
- * @var array $mCategoriesMap of category names to sort keys
+ * @var array $mCategories
Map of category names to sort keys
*/
public $mCategories;
*/
public $mCategories;
@@
-471,14
+471,6
@@
class ParserOutput extends CacheTime {
return $this->mSections;
}
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;
}
public function &getLinks() {
return $this->mLinks;
}
@@
-518,11
+510,6
@@
class ParserOutput extends CacheTime {
return $this->mModules;
}
return $this->mModules;
}
- public function getModuleScripts() {
- wfDeprecated( __METHOD__, '1.33' );
- return [];
- }
-
public function getModuleStyles() {
return $this->mModuleStyles;
}
public function getModuleStyles() {
return $this->mModuleStyles;
}
@@
-566,14
+553,6
@@
class ParserOutput extends CacheTime {
return $this->mLimitReportJSData;
}
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;
}
public function getEnableOOUI() {
return $this->mEnableOOUI;
}
@@
-598,14
+577,6
@@
class ParserOutput extends CacheTime {
return wfSetVar( $this->mSections, $toc );
}
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 );
}
public function setIndexPolicy( $policy ) {
return wfSetVar( $this->mIndexPolicy, $policy );
}
@@
-618,14
+589,6
@@
class ParserOutput extends CacheTime {
return wfSetVar( $this->mTimestamp, $timestamp );
}
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;
}
public function addCategory( $c, $sort ) {
$this->mCategories[$c] = $sort;
}