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

Approvals:
  jenkins-bot: Verified
  Thiemo Kreuz (WMDE): Looks good to me, approved



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: merged
Gerrit-Change-Id: I1dad0b51f5af378d8f1989cd11d60f2893d101a7
Gerrit-PatchSet: 1
Gerrit-Project: analytics/wmde/scripts
Gerrit-Branch: master
Gerrit-Owner: Ladsgroup <[email protected]>
Gerrit-Reviewer: Addshore <[email protected]>
Gerrit-Reviewer: Thiemo Kreuz (WMDE) <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to