Addshore has uploaded a new change for review.

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

Change subject: Add note to statements_per_entity.php
......................................................................

Add note to statements_per_entity.php

Change-Id: I6f58e6026e57f6726e83fe30e1a344e243b380f4
---
M graphite/datamodel/statements_per_entity.php
1 file changed, 8 insertions(+), 4 deletions(-)


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

diff --git a/graphite/datamodel/statements_per_entity.php 
b/graphite/datamodel/statements_per_entity.php
index 0c59e65..5750f6b 100755
--- a/graphite/datamodel/statements_per_entity.php
+++ b/graphite/datamodel/statements_per_entity.php
@@ -1,14 +1,18 @@
 #!/usr/bin/php
 <?php
 
-/**
- * @author Addshore
- */
-
 require_once( __DIR__ . '/../../src/WikimediaDb.php' );
 $counter = new WikidataStatementCounter();
 $counter->execute();
 
+
+/**
+ * It should be noted that per the ItemContent and PropertyContent classes in 
Wikibase
+ * the wb-claims page prop value will exist for all entities that are not 
redirects.
+ * This includes entities that have 0 claims / statements.
+ *
+ * @author Addshore
+ */
 class WikidataStatementCounter{
 
        public function execute() {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6f58e6026e57f6726e83fe30e1a344e243b380f4
Gerrit-PatchSet: 1
Gerrit-Project: analytics/wmde/scripts
Gerrit-Branch: master
Gerrit-Owner: Addshore <[email protected]>

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

Reply via email to