mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-09-23 02:09:06 +00:00
Pass function name to HttpRequestFactory::create
Change-Id: Ic8e7aa35aea9164b4a9ae44549550d49b062361e
This commit is contained in:
parent
9a0dccd41f
commit
ebecba2ab9
|
@ -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() );
|
||||
|
|
Loading…
Reference in a new issue