thiemowmde added a comment.

Note that looking for a "use" of this status flag does not tell us much. We want others to use it, via special pages, API and SQL queries. There must not be a use in our code base.

I was looking for a visualization for a long time and finally found one:

0 terms & 0 statements1+ term & 0 statements0 terms & 1+ statement1+ term & 1+ statement
PropertyEMPTYSTUBNONENONE
Item with 0 sitelinksEMPTYSTUBNONENONE
Item with 1+ sitelinkLINKSTUBLINKSTUBNONENONE

Additionally we do count statements in the wb-claims and sitelinks in the wb-sitelinks page prop, but we do not count terms. Therefor:

  • We can find LINKSTUBs by searching for wb-claims = 0 & wb-sitelinks > 0.
  • We can find EMPTYs and STUBs by searching for wb-claims = 0 & wb-sitelinks = 0.
  • We can not distinguish between STUB and EMPTY.

In my opinion the way this status is calculated does not make it very useful. It maps three dimensions (terms, statements and sitelinks) to a single flag (not a bit field). I suggest to drop it entirely and introduce a wb-terms page prop instead, if required.


TASK DETAIL
https://phabricator.wikimedia.org/T146792

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: thiemowmde
Cc: Multichill, Lydia_Pintscher, thiemowmde, Addshore, daniel, aude, Aklapper, hoo, D3r1ck01, Izno, Wikidata-bugs, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to