Awight has uploaded a new change for review.

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

Change subject: Correct sense of hide check
......................................................................

Correct sense of hide check

Change-Id: I2299eefd0a1e378b2ab8127b89300154ee42c066
---
M includes/Hooks.php
1 file changed, 1 insertion(+), 1 deletion(-)


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

diff --git a/includes/Hooks.php b/includes/Hooks.php
index 75126fc..82fde36 100644
--- a/includes/Hooks.php
+++ b/includes/Hooks.php
@@ -72,7 +72,7 @@
                $name, array &$tables, array &$fields, array &$conds,
                array &$query_options, array &$join_conds, FormOptions $opts
        ) {
-               if ( !$opts->getValue( 'hidereverted' ) ) {
+               if ( $opts->getValue( 'hidereverted' ) ) {
                        // Don't bother querying ORES predictions when the 
information is hidden.
                        return;
                }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2299eefd0a1e378b2ab8127b89300154ee42c066
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ORES
Gerrit-Branch: master
Gerrit-Owner: Awight <awi...@wikimedia.org>

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

Reply via email to