diff options
Diffstat (limited to 'maintenance/dumpIterator.php')
-rw-r--r-- | maintenance/dumpIterator.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/maintenance/dumpIterator.php b/maintenance/dumpIterator.php index 3657f960..870d6321 100644 --- a/maintenance/dumpIterator.php +++ b/maintenance/dumpIterator.php @@ -168,7 +168,7 @@ class SearchDump extends DumpIterator { * @param $rev Revision */ public function processRevision( $rev ) { - if ( preg_match( $this->getOption( 'regex' ), $rev->getText() ) ) { + if ( preg_match( $this->getOption( 'regex' ), $rev->getContent()->getTextForSearchIndex() ) ) { $this->output( $rev->getTitle() . " matches at edit from " . $rev->getTimestamp() . "\n" ); } } |