From ebecba2ab9cb17be80386c42b9d05810283a3109 Mon Sep 17 00:00:00 2001 From: Umherirrender Date: Thu, 19 Sep 2024 23:20:16 +0200 Subject: [PATCH] Pass function name to HttpRequestFactory::create Change-Id: Ic8e7aa35aea9164b4a9ae44549550d49b062361e --- src/MathMathML.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MathMathML.php b/src/MathMathML.php index 134cdd6cd..cc4947090 100644 --- a/src/MathMathML.php +++ b/src/MathMathML.php @@ -215,7 +215,7 @@ class MathMathML extends MathRenderer { global $wgMathLaTeXMLTimeout; $post = $this->getPostData(); $options = [ 'method' => 'POST', 'postData' => $post, 'timeout' => $wgMathLaTeXMLTimeout ]; - $req = MediaWikiServices::getInstance()->getHttpRequestFactory()->create( $this->host, $options ); + $req = MediaWikiServices::getInstance()->getHttpRequestFactory()->create( $this->host, $options, __METHOD__ ); $status = $req->execute(); if ( $status->isGood() ) { return StatusValue::newGood( $req->getContent() );