X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FOutputPage.php;h=2423315cb9e0bdc61493c8dcaa588b14e49ea5aa;hb=5466734477584e877187613fa0568dad17ed9c9f;hp=4a9b542c3a2c71ac827de178e6276763bf0ea789;hpb=6ac8c496d16c1f88d1b8b4cf449085301ddefdce;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 4a9b542c3a..2423315cb9 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -2098,6 +2098,7 @@ class OutputPage extends ContextSource { * parseAsInterface() if $interface is true. */ public function parse( $text, $linestart = true, $interface = false, $language = null ) { + wfDeprecated( __METHOD__, '1.33' ); return $this->parseInternal( $text, $this->getTitle(), $linestart, /*tidy*/false, $interface, $language )->getText( [ @@ -2180,6 +2181,7 @@ class OutputPage extends ContextSource { * Parser::stripOuterParagraph($outputPage->parseAsContent(...)). */ public function parseInline( $text, $linestart = true, $interface = false ) { + wfDeprecated( __METHOD__, '1.33' ); $parsed = $this->parseInternal( $text, $this->getTitle(), $linestart, /*tidy*/false, $interface, /*language*/null )->getText( [ @@ -2924,7 +2926,7 @@ class OutputPage extends ContextSource { * then the warning is a bit more obvious. If the lag is * lower than $wgSlaveLagWarning, then no warning is shown. * - * @param int $lag Slave lag + * @param int $lag Replica lag */ public function showLagWarning( $lag ) { $config = $this->getConfig();