[16:45:56] Lucas_WMDE: do you happen to know if something has changed wrt adding claims and sources with pywikibot? [16:46:07] not as far as I know, no [16:46:16] I used to item.addClaim, then claim.addSources [16:46:24] But now I'm getting ValueError: The provided Claim instance is already used in an entity ? [16:46:51] that sounds strange to me [16:46:54] not sure what could cause it [16:48:23] For some reason, the first two items were added just fine with a reference (https://www.wikidata.org/wiki/Special:Contributions/MineoBot) but then it... didn't anymore [16:49:46] Hmm, I'm also getting this (this is not originally my bot): [16:49:46] WARNING: /usr/local/lib/python3.8/site-packages/pywikibot/bot.py:865: UserWarning: Site objects have been created before arguments were handled warn('Site objects have been created before arguments were handled', [16:49:54] Not sure what that even means tbh :/ [16:50:00] (and whether it could be related) [21:34:01] legoktm: Hi [21:34:21] do you have any idea what hook the `overridePageMetaTags` uses? [21:35:32] ugochimobi: sorry, what's the context? [21:37:33] legoktm: I mean, the `overridePageMetaTags`, I am trying to use it configure the meta tags on wikibase-entity, so that we can have Item labels and description displayed on shared links [21:38:04] How do I use the `overridePageMetaTags `? or is it a hook on it's own? I doubt that though [21:38:23] Is this a MediaWiki thing? Pywikibot? I don't know what you're talking about... [21:38:40] yeah, a Wikibase thing [21:38:50] on a third-party installation though [21:39:45] oh [21:39:49] it's not a hook, just a function [21:40:02] https://gerrit.wikimedia.org/g/mediawiki/extensions/Wikibase/+/d361568ba5d1c1ac55713b19fead8cfdb95f9c90/repo/includes/Actions/ViewEntityAction.php#134 [21:40:06] legoktm: yeah I realised it's just a function [21:40:10] it's private too, so it's just an internal implementation detail [21:40:31] but anyways, just call OutputPage::addMeta() in the BeforePageDisplay hook or somewhere else [21:41:25] legoktm: whooohoo, this is exactly was I was looking for, i was just trying to be sure [21:41:48] cuz, I've looked everywhere and couldn't find any related hook [21:42:15] legoktm: many thanks! [21:42:21] yw [21:42:31] :)