* (bug 13031) Add links to user pages in e-mail form
* (bug 13147) Description for categoriespagetext (used in Special:Categories) reworded
* (bug 11561) Fix fatal error when calling action=revert to non-image page
+* (bug 12430) Fix call to private method LinkFilter::makeRegex fatal error in
+ maintenance/cleanupSpam.php
=== API changes in 1.13 ===
$rev = Revision::newFromTitle( $title );
$revId = $rev->getId();
$currentRevId = $revId;
- $regex = LinkFilter::makeRegex( $domain );
- while ( $rev && preg_match( $regex, $rev->getText() ) ) {
+ while ( $rev && LinkFilter::matchEntry( $rev->getText() , $domain ) ) {
# Revision::getPrevious can't be used in this way before MW 1.6 (Revision.php 1.26)
#$rev = $rev->getPrevious();
$revId = $title->getPreviousRevisionID( $revId );