| 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 statements | 1+ term & 0 statements | 0 terms & 1+ statement | 1+ term & 1+ statement | |
|---|---|---|---|---|
| Property | EMPTY | STUB | NONE | NONE |
| Item with 0 sitelinks | EMPTY | STUB | NONE | NONE |
| Item with 1+ sitelink | LINKSTUB | LINKSTUB | NONE | NONE |
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
EMAIL PREFERENCES
To: thiemowmde
Cc: Multichill, Lydia_Pintscher, thiemowmde, Addshore, daniel, aude, Aklapper, hoo, D3r1ck01, Izno, Wikidata-bugs, Mbch331
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
