Hoo man has uploaded a new change for review.

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

Change subject: Log warnings from LangLinkHandler::getEntityLinks in production
......................................................................

Log warnings from LangLinkHandler::getEntityLinks in production

Seems like a good thing to do in general, because in these
cases we can't show any language links.

Change-Id: Ied0fdcd7a7ea67fb0c5af20b6e67804549e81da9
Note: I don't think this is related to T47839.
---
M client/includes/LangLinkHandler.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase 
refs/changes/24/265924/1

diff --git a/client/includes/LangLinkHandler.php 
b/client/includes/LangLinkHandler.php
index ca4112d..335b0f1 100644
--- a/client/includes/LangLinkHandler.php
+++ b/client/includes/LangLinkHandler.php
@@ -115,7 +115,7 @@
                                $links = iterator_to_array( 
$item->getSiteLinkList() );
                                $links = $this->indexLinksBySiteId( $links );
                        } else {
-                               wfWarn( __METHOD__ . ": Could not load item " . 
$itemId->getSerialization()
+                               wfLogWarning( __METHOD__ . ": Could not load 
item " . $itemId->getSerialization()
                                        . " for " . $title->getFullText() );
                        }
                }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ied0fdcd7a7ea67fb0c5af20b6e67804549e81da9
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Hoo man <[email protected]>

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

Reply via email to