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

Change subject: Fix IRC count of wikidata
......................................................................

Fix IRC count of wikidata

Bug: T165463
Change-Id: I1dad0b51f5af378d8f1989cd11d60f2893d101a7
---
M src/wikidata/social/irc.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/analytics/wmde/scripts 
refs/changes/89/400689/1

diff --git a/src/wikidata/social/irc.php b/src/wikidata/social/irc.php
index efc1da3..1991f35 100755
--- a/src/wikidata/social/irc.php
+++ b/src/wikidata/social/irc.php
@@ -30,7 +30,7 @@
                $response = WikimediaCurl::retryingCurlGet( 
'http://wm-bot.wmflabs.org/~wm-bot/db/systemdata.htm', true );
                $dom->loadHTML( $response[1] );
                $xpath = new DomXPath($dom);
-               $nodes = $xpath->query( '//*[@id="H-wikidata"]/td[1]/span' );
+               $nodes = $xpath->query( 
'//*[@id="H-wikidata"]/td[1]/span[contains(@class, "user-count")]' );
                if( $nodes->length !== 1 ) {
                        return null;
                }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1dad0b51f5af378d8f1989cd11d60f2893d101a7
Gerrit-PatchSet: 1
Gerrit-Project: analytics/wmde/scripts
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