Index: trunk/extensions/LuceneSearch/LuceneSearch_body.php |
— | — | @@ -464,8 +464,8 @@ |
465 | 465 | return "<!--Broken link in search results: ".$t->getDBKey()."-->\n"; |
466 | 466 | } |
467 | 467 | |
468 | | - $text = $rev->getContent(false); |
469 | | - $size = wfMsg('searchsize', sprintf("%.1f", strlen($text) / 1024), str_word_count($text)); |
| 468 | + $text = $rev->getText(); |
| 469 | + $size = wfMsg('searchsize', sprintf("%.1f", strlen($text) / 1024), str_word_count($text)); |
470 | 470 | $text = $this->removeWiki($text); |
471 | 471 | $date = $wgContLang->timeanddate($rev->getTimestamp()); |
472 | 472 | } else { |