- Linker::makeBrokenLinkObj() (deprecated in 1.16)
- Linker::makeColouredLinkObj() (deprecated in 1.16)
- Linker::makeSizeLinkObj() (deprecated in 1.17)
+ - Revision::revText() (deprecated in 1.17)
+ - SkinTemplate::jstext() (deprecated in 1.21)
- SpecialRevisionDelete::extractBitField() (deprecated in 1.22)
+ - WikiPage::quickEdit() (deprecated in 1.18)
+ - WikiPage::useParserCache() (deprecated in 1.18)
+ - WikiPage::viewUpdates() (deprecated in 1.18)
=== Languages updated in 1.23 ===
}
}
- /**
- * Alias for getText(Revision::FOR_THIS_USER)
- *
- * @deprecated since 1.17
- * @return String
- */
- public function revText() {
- wfDeprecated( __METHOD__, '1.17' );
- return $this->getText( self::FOR_THIS_USER );
- }
-
/**
* Fetch revision text without regard for view restrictions
*
echo htmlspecialchars( $this->data[$str] );
}
- /**
- * @private
- * @deprecated since 1.21; use Xml::encodeJsVar() or Xml::encodeJsCall() instead
- */
- function jstext( $str ) {
- wfDeprecated( __METHOD__, '1.21' );
- echo Xml::escapeJsString( $this->data[$str] );
- }
-
/**
* @private
*/
return $this->doUpdateRestrictions( $limit, $expiry, $cascade, $reason, $user )->isOK();
}
- /**
- * @deprecated since 1.18
- */
- public function quickEdit( $text, $comment = '', $minor = 0 ) {
- wfDeprecated( __METHOD__, '1.18' );
- global $wgUser;
- $this->doQuickEdit( $text, $wgUser, $comment, $minor );
- }
-
- /**
- * @deprecated since 1.18
- */
- public function viewUpdates() {
- wfDeprecated( __METHOD__, '1.18' );
- global $wgUser;
- $this->doViewUpdates( $wgUser );
- }
-
- /**
- * @deprecated since 1.18
- * @param $oldid int
- * @return bool
- */
- public function useParserCache( $oldid ) {
- wfDeprecated( __METHOD__, '1.18' );
- global $wgUser;
- return $this->isParserCacheUsed( ParserOptions::newFromUser( $wgUser ), $oldid );
- }
-
/**
* Returns a list of updates to be performed when this page is deleted. The updates should remove any information
* about this page from secondary data stores such as links tables.
$this->assertEquals( 'hello hello.', $rev->getContent()->getNativeData() );
}
- /**
- * @covers Revision::revText
- */
- public function testRevText() {
- $this->hideDeprecated( 'Revision::revText' );
- $orig = $this->makeRevision( array( 'text' => 'hello hello rev.' ) );
- $rev = Revision::newFromId( $orig->getId() );
-
- $this->assertEquals( 'hello hello rev.', $rev->revText() );
- }
-
/**
* @covers Revision::getRawText
*/