This was documented as deprecated in
ba2b22421526.
Change-Id: I728cc0ea0b431138a8edb4d815c53f48e83d7143
// This code path is deprecated, and nothing is known to
// use it, so performance here shouldn't be a worry.
if ( $revid !== null ) {
// This code path is deprecated, and nothing is known to
// use it, so performance here shouldn't be a worry.
if ( $revid !== null ) {
+ wfDeprecated( __METHOD__ . ' with $revision = revision ID', '1.25' );
$revision = Revision::newFromId( $revid, Revision::READ_LATEST );
} else {
$revision = null;
$revision = Revision::newFromId( $revid, Revision::READ_LATEST );
} else {
$revision = null;