*
* @file
*/
+use MediaWiki\Linker\LinkTarget;
/**
* @todo document
}
}
- /**
- * Fetch revision text without regard for view restrictions
- *
- * @return string
- *
- * @deprecated since 1.21. Instead, use Revision::getContent( Revision::RAW )
- * or Revision::getSerializedData() as appropriate.
- */
- public function getRawText() {
- ContentHandler::deprecated( __METHOD__, "1.21" );
- return $this->getText( self::RAW );
- }
-
/**
* Fetch original serialized data without regard for view restrictions
*
}
$text = $cache->get( $key );
if ( is_string( $text ) ) {
- wfDebug( __METHOD__ . ": got id $textId from cache\n" );
$processCache->set( $key, $text );
return $text;
}