We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 958b64d commit 64a87dfCopy full SHA for 64a87df
src/Presentation/WikitextParser.php
@@ -23,7 +23,7 @@ public function wikitextToHtml( string $text ): string {
23
return $this->parser->parse(
24
$text,
25
$this->parser->getTitle(),
26
- new ParserOptions( method_exists( $this->parser, 'getUserIdentity' ) ? $this->parser->getUserIdentity() : $this->parser->getUser() )
+ new ParserOptions( $this->parser->getUserIdentity() )
27
)->getText();
28
}
29
0 commit comments