jenkins-bot has submitted this change and it was merged. ( 
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(-)

Approvals:
  Hoo man: Looks good to me, approved
  jenkins-bot: Verified



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: merged
Gerrit-Change-Id: I5d62b2cc8cfca16160418d89d9cccd413874a6a9
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ORES
Gerrit-Branch: master
Gerrit-Owner: Ladsgroup <[email protected]>
Gerrit-Reviewer: Awight <[email protected]>
Gerrit-Reviewer: Hoo man <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to