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 "New helper ApiTestCase::setExpectedApiException()"
[lhc/web/wiklou.git]
/
includes
/
content
/
AbstractContent.php
diff --git
a/includes/content/AbstractContent.php
b/includes/content/AbstractContent.php
index
284cab2
..
b6211b0
100644
(file)
--- a/
includes/content/AbstractContent.php
+++ b/
includes/content/AbstractContent.php
@@
-501,7
+501,7
@@
abstract class AbstractContent implements Content {
ParserOptions $options = null, $generateHtml = true
) {
if ( $options === null ) {
- $options =
$this->getContentHandler()->makeParserOptions
( 'canonical' );
+ $options =
ParserOptions::newCanonical
( 'canonical' );
}
$po = new ParserOutput();