- while ( $rev && ( $rev->isDeleted( Revision::DELETED_TEXT )
- || LinkFilter::matchEntry( $rev->getContent( Revision::RAW ), $domain, $protocol ) )
+ while ( $rev && ( $rev->isDeleted( RevisionRecord::DELETED_TEXT )
+ || LinkFilter::matchEntry( $rev->getContent( RevisionRecord::RAW ), $domain, $protocol ) )