X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fpage%2FArticle.php;h=6d370b02d0ad99c5398ed829613ed4ee2b60772e;hb=8d2157c9c28a15fe035c3442d2703c35f2b6c275;hp=af897ddc98ede53cc05e9d2afadb1f9252c5dba1;hpb=108ccb0352241cc7dbf0d73a48bd0b1b6f9fc8f4;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/page/Article.php b/includes/page/Article.php index af897ddc98..6d370b02d0 100644 --- a/includes/page/Article.php +++ b/includes/page/Article.php @@ -333,7 +333,7 @@ class Article implements Page { function fetchContent() { // BC cruft! - ContentHandler::deprecated( __METHOD__, '1.21' ); + wfDeprecated( __METHOD__, '1.21' ); if ( $this->mContentLoaded && $this->mContent ) { return $this->mContent; @@ -2109,6 +2109,8 @@ class Article implements Page { /** * Call to WikiPage function for backwards compatibility. * @see WikiPage::doEdit + * + * @deprecated since 1.21: use doEditContent() instead. */ public function doEdit( $text, $summary, $flags = 0, $baseRevId = false, $user = null ) { ContentHandler::deprecated( __METHOD__, '1.21' );