From: daniel Date: Sat, 24 Sep 2016 15:15:08 +0000 (+0200) Subject: Make WikiPage::getAutosummary emit deprecation warnings. X-Git-Tag: 1.31.0-rc.0~5274 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=ae03051a24b77dbcfc44e92284d817bcb37c5762;p=lhc%2Fweb%2Fwiklou.git Make WikiPage::getAutosummary emit deprecation warnings. Bug: T146164 Change-Id: Ibe76af8af3686c028e54923b9ce01b93af3032ab --- diff --git a/includes/page/WikiPage.php b/includes/page/WikiPage.php index 9befdcd389..928fc14ecb 100644 --- a/includes/page/WikiPage.php +++ b/includes/page/WikiPage.php @@ -3553,7 +3553,7 @@ class WikiPage implements Page, IDBAccessObject { // NOTE: stub for backwards-compatibility. assumes the given text is // wikitext. will break horribly if it isn't. - ContentHandler::deprecated( __METHOD__, '1.21' ); + wfDeprecated( __METHOD__, '1.21' ); $handler = ContentHandler::getForModelID( CONTENT_MODEL_WIKITEXT ); $oldContent = is_null( $oldtext ) ? null : $handler->unserializeContent( $oldtext );