merged incoming
authordaniel <daniel.kinzler@wikimedia.de>
Thu, 26 Apr 2012 13:27:21 +0000 (15:27 +0200)
committerdaniel <daniel.kinzler@wikimedia.de>
Thu, 26 Apr 2012 13:27:21 +0000 (15:27 +0200)
1  2 
includes/WikiPage.php

@@@ -1663,9 -1663,8 +1663,8 @@@ class WikiPage extends Page 
         *
         * @deprecated in 1.WD: use prepareContentForEdit instead.
         */
 -      public function prepareTextForEdit( $text, $revid = null, User $user = null ) {  #FIXME: use prepareContentForEdit() instead #XXX: who uses this?!
 -              #TODO: log use of deprecated function
 +      public function prepareTextForEdit( $text, $revid = null, User $user = null ) {
 +              wfDeprecated( __METHOD__, '1.WD' );
                $content = ContentHandler::makeContent( $text, $this->getTitle() );
                return $this->prepareContentForEdit( $content, $revid , $user );
        }