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 "Remove several deprecated unused methods from OutputPage & ParserOutput"
[lhc/web/wiklou.git]
/
includes
/
parser
/
ParserOutput.php
diff --git
a/includes/parser/ParserOutput.php
b/includes/parser/ParserOutput.php
index
f2aaeed
..
f80e6bf
100644
(file)
--- a/
includes/parser/ParserOutput.php
+++ b/
includes/parser/ParserOutput.php
@@
-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;
}
@@
-566,14
+558,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
+582,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
+594,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;
}