dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "mediawiki.Title: Minor optimizations for mw.Title JavaScript code"
[lhc/web/wiklou.git]
/
maintenance
/
compareParsers.php
diff --git
a/maintenance/compareParsers.php
b/maintenance/compareParsers.php
index
b01dde6
..
3f55878
100644
(file)
--- a/
maintenance/compareParsers.php
+++ b/
maintenance/compareParsers.php
@@
-144,7
+144,9
@@
class CompareParsers extends DumpIterator {
return;
}
return;
}
- $text = strval( $content->getNativeData() );
+ /** @var WikitextContent $content */
+ '@phan-var WikitextContent $content';
+ $text = strval( $content->getText() );
$output1 = $parser1->parse( $text, $title, $this->options );
$output2 = $parser2->parse( $text, $title, $this->options );
$output1 = $parser1->parse( $text, $title, $this->options );
$output2 = $parser2->parse( $text, $title, $this->options );