Alex Monk has submitted this change and it was merged. Change subject: Add debug logging for I2b36b7a3 ......................................................................
Add debug logging for I2b36b7a3 Change-Id: Ic85d27d7950050b80ea723406bc26819814fbccd --- M includes/Title.php 1 file changed, 3 insertions(+), 0 deletions(-) Approvals: Alex Monk: Looks good to me, approved jenkins-bot: Verified diff --git a/includes/Title.php b/includes/Title.php index 921538b..71dea4a 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -260,6 +260,9 @@ * @return Title|null Title or null on an error. */ public static function newFromText( $text, $defaultNamespace = NS_MAIN ) { + if ( !is_string( $text ) ) { + wfDebugLog( 'AdHocDebug', json_encode( debug_backtrace() ) ); + } if ( is_object( $text ) ) { throw new MWException( 'Title::newFromText given an object' ); } -- To view, visit https://gerrit.wikimedia.org/r/202290 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ic85d27d7950050b80ea723406bc26819814fbccd Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/core Gerrit-Branch: wmf/1.25wmf24 Gerrit-Owner: Alex Monk <kren...@gmail.com> Gerrit-Reviewer: Alex Monk <kren...@gmail.com> Gerrit-Reviewer: Krinkle <krinklem...@gmail.com> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits