Anomie has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/276231

Change subject: HttpFunctions: Log in the wiki's content language
......................................................................

HttpFunctions: Log in the wiki's content language

Bug: T127233
Change-Id: Ie61030a21f5a5f5e46452c1b6b15db594d741b71
---
M includes/HttpFunctions.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/31/276231/1

diff --git a/includes/HttpFunctions.php b/includes/HttpFunctions.php
index 600bd79..c09bec6 100644
--- a/includes/HttpFunctions.php
+++ b/includes/HttpFunctions.php
@@ -80,7 +80,7 @@
                } else {
                        $errors = $status->getErrorsByType( 'error' );
                        $logger = LoggerFactory::getInstance( 'http' );
-                       $logger->warning( $status->getWikiText(),
+                       $logger->warning( $status->getWikiText( null, null, 
false ),
                                [ 'error' => $errors, 'caller' => $caller, 
'content' => $req->getContent() ] );
                        return false;
                }

-- 
To view, visit https://gerrit.wikimedia.org/r/276231
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie61030a21f5a5f5e46452c1b6b15db594d741b71
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Anomie <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to