[01:47:56] mainstash is a mysql db much like core dbs, x1, parsercache. It has some optimisations but nothing that should be observable in ways other than it being faster for what we use it for. [01:48:47] the main distinction core dbs and x1 is that mainstash and parsercache both enable dc-local writes, so it replicates in both directions. [01:49:17] which can become relevant if you suspect the key can be written to twice from multiple DCs in less than a second with two different values. [02:21:46] What would be the PHID of this project https://phabricator.wikimedia.org/project/profile/2160/ ? Is it 2160? [02:31:38] https://stackoverflow.com/questions/25753749/how-do-you-find-the-phid-of-a-phabricator-object [02:56:01] https://phabricator.wikimedia.org/api/project.query enter names ["InternetArchiveBot"], and then the `phid` result is what you're looking for [02:56:04] * Krinkle edits the SO answer [04:00:55] !log tools.fedi-share Initial deployment [04:00:58] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.fedi-share/SAL [04:20:35] 👀 [04:26:51] https://fedi-share.toolforge.org/ hopefully someone will make it prettier later, but this will allow us to replace the Twitter share buttons on the POTY pages [04:41:48] still prettier than the prompt() implementaitons I've seen :) [04:45:05] is there a git repository? [04:45:32] https://gitlab.wikimedia.org/toolforge-repos/fedi-share [04:46:19] And, are there any particular design constraints? Like is this meant to be a small box tucked away in the corner? [04:47:26] I would like to keep it a single self-contained HTML file if possible. But also if I end up doing this myself I'm just going to pull in boostrap so I'm not strictly against that [04:47:58] the idea is this will replace the Twitter link at e.g. https://commons.wikimedia.org/wiki/Commons:Picture_of_the_Year/2021 [04:48:03] using the fragment should be possible, something like `decodeURIComponent( window.location.hash.substr( 1 ) )` [04:48:09] (we do it in query.wikidata.org) [04:48:31] so you click the link, it sends you to fedi-share, and then you end up at your instance [04:49:55] I'm not sure how long term of a thing this will be, once RealMe is deployed we could just look up your instance from your userpage and send you directly there