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 1afab38 commit 1ec0a7eCopy full SHA for 1ec0a7e
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