Reedy created this task. Reedy added projects: MediaWiki-extensions-WikibaseClient, Wikidata, Documentation. Restricted Application added a subscriber: Aklapper.
TASK DESCRIPTION https://en.wikipedia.org/w/api.php?action=help&modules=query%2Bwbentityusage wbeuaspect Only return entity IDs that used this aspect. Values (separate with | or alternative): C, D, L, O, S, T, X It's unclear what these letters mean without knowing otherwise, or digging into the code to find out: /** * Usage flag indicating that the entity's sitelinks were used as links. * This would be the case when generating language links or sister links from * an entity's sitelinks, for display in the sidebar. * * @note: This does NOT cover sitelinks used in wikitext (e.g. via Lua). * Use OTHER_USAGE for that. */ public const SITELINK_USAGE = 'S'; /** * Usage flag indicating that one of the entity's labels were used. * This would be the case when showing the label of a referenced entity. Note that * label usage is typically tracked with a modifier specifying the label's language code. */ public const LABEL_USAGE = 'L'; /** * Usage flag indicating that one of the entity's descriptions were used. * This would be the case when showing the descriptions of a referenced entity. Note that * descriptions usage is typically tracked with a modifier specifying the language code. */ public const DESCRIPTION_USAGE = 'D'; /** * Usage flag indicating that the entity's local page name was used, * i.e. the title of the local (client) page linked to the entity. * This would be the case when linking a referenced entity to the * corresponding local wiki page. * This can be thought of as a special kind of sitelink usage, * specifically for the sitelink for the local wiki. */ public const TITLE_USAGE = 'T'; /** * Usage flag indicating that certain statements (identified by their property id) * from the entity were used. * This currently implies that we also have an OTHER_USAGE or an ALL_USAGE * for the same entity (STATEMENT_USAGE is never used alone). */ public const STATEMENT_USAGE = 'C'; /** * Usage flag indicating that any and all aspects of the entity * were (or may have been) used. */ public const ALL_USAGE = 'X'; /** * Usage flag indicating that some aspect of the entity was changed * which is not covered by any other usage flag (except "all"). That is, * the specific usage flags together with the "other" flag are equivalent * to the "all" flag ( S + T + L + O = X or rather O = X - S - T - L ). * * Due to migration efforts, this is currently used redundantly with * STATEMENT_USAGE or DESCRIPTION_USAGE, as they were only added later. */ public const OTHER_USAGE = 'O'; Some sort of better documentation inline would be useful TASK DETAIL https://phabricator.wikimedia.org/T283040 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Reedy Cc: RBrounley_WMF, Aklapper, Reedy, Invadibot, maantietaja, Akuckartz, apaskulin, Nandana, lucamauri, Cpaulf30, Lahi, Gq86, GoranSMilovanovic, Ivana_Isadora, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Dinoguy1000, Mbch331, Jay8g, Quiddity
_______________________________________________ Wikidata-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
