Ladsgroup has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/386374 )

Change subject: Fix undefined variable in Stats::mungeV1Forumula()
......................................................................

Fix undefined variable in Stats::mungeV1Forumula()

Bug: T175053
Change-Id: I5d62b2cc8cfca16160418d89d9cccd413874a6a9
---
M includes/Stats.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ORES 
refs/changes/74/386374/1

diff --git a/includes/Stats.php b/includes/Stats.php
index cb621e5..70bef9b 100644
--- a/includes/Stats.php
+++ b/includes/Stats.php
@@ -184,7 +184,7 @@
        protected function mungeV1Forumula( $v1Formula ) {
                if ( false !== strpos( $v1Formula, '@' ) ) {
                        // This is new-style already, pass through.
-                       return $formula;
+                       return $v1Formula;
                } elseif ( preg_match(
                        '/recall_at_precision\(min_precision=(0\.\d+)\)/',
                        $v1Formula, $matches )

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5d62b2cc8cfca16160418d89d9cccd413874a6a9
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ORES
Gerrit-Branch: master
Gerrit-Owner: Ladsgroup <[email protected]>

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

Reply via email to