Physikerwelt has uploaded a new change for review.

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

Change subject: Log more details on MathIndexWrite
......................................................................

Log more details on MathIndexWrite

Change-Id: Ie691f7ab9ca0888b2a8694bf14e349d752024d55
---
M MathSearch.hooks.php
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MathSearch 
refs/changes/43/227443/1

diff --git a/MathSearch.hooks.php b/MathSearch.hooks.php
index 3a4c6af..ced14cb 100644
--- a/MathSearch.hooks.php
+++ b/MathSearch.hooks.php
@@ -248,7 +248,8 @@
         * @param string $tex
         */
        public static function writeMathIndex( $oldID, $eid, $inputHash, $tex ) 
{
-               LoggerFactory::getInstance( "MathSearch" )->warning( 'Store 
index for $' . $tex . '$ in database' );
+               LoggerFactory::getInstance( "MathSearch" )->warning(
+                       "Store index for \$$tex\$ in database with id $eid for 
revision $oldID." );
                $dbw = wfGetDB( DB_MASTER );
                $dbw->onTransactionIdle( function () use ( $oldID, $eid, 
$inputHash, $dbw ) {
                        $dbw->replace( 'mathindex', array( 
'mathindex_revision_id', 'mathindex_anchor' ), array(

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie691f7ab9ca0888b2a8694bf14e349d752024d55
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MathSearch
Gerrit-Branch: master
Gerrit-Owner: Physikerwelt <w...@physikerwelt.de>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to