#aaronpkshouldn't you also publish the date of the thing you're editing? so that someone looking at your post has a way to know what changes you're making?
#aaronpksince you're not publishing a diff, you're publishing the full new version
#tantekthe "the date of the thing you're editing" is part of the permalink on wikipedia to a version
#tantekso you have to do a u-edit-of *of* *that* permalink
#aaronpkhm so your "u-edit-of" would be a version permalink?
#tantekthe only thing submitted over HTTP is the webmention POST to endpoint and two URLs (source, target)
#aaronpkwe don't need different HTTP verbs for it since mediawiki already does it with GET/POST via HTML
manny__ joined the channel
#KevinMarks_does webmention normally send text in POST?
#tantekaaronpk - and before wikipedia supports receiving webmentions, we could add support to Bridgy Publish to accept the webmention of an edit, and then perform a form submission to Wikipedia on behalf of us
#tantekthen all your blog posts will have transparent history, and the ability for anyone to go from reading your blog post, to making and suggesting an edit all through the web UI!
#kylewmvery late lunch or KevinMarks_ is in Hawaii
#tantekaaronpk - this edit "protocol" is only "simple" because MediaWiki already has a notion of versions of pages with their own permalinks built in
#tantekwhile that may also be a good approach for any random post on any indieweb site - I'm not sure of tying a general edit protocol to requiring permalinks of versions - though maybe that's the easiest path?
#tantekenjoy lunch KevinMarks! Looking forward to seeing you implement the "Read Fork Write Merge Web" on your own site ;)
tilgovi joined the channel
#aaronpkoh right... my site is backed by git as well, so I inherently have versioned posts if I expose a way to retrieve them by git hashes
#tantek(might have to use p-content with any markup escaped instead of e-content so the edit post doesn't look weird on your own site)
#tantek.comedited /edit (+255) "/* Federated IndieWebCamp Edits */ might have to use p-content" (view diff)
#kylewmtantek: how about including both the diff and the full, edited version? suspect diffs would be more useful for the implementation/plumbing
#tantekkylewm: by virtue of the fact that the *working* MediaWiki form submission edit "protocol" sends the full version, I say no, the full version is what is useful for implementation, as that's what's currently implemented! (and not the diff)
#tantekso the minimum viable edit post is *just* the full edited version
#tantek.comedited /edit (+108) "/* Federated IndieWebCamp Edits */ permalink must include specific version (and section if any)" (view diff)
paulcp joined the channel
#kylewmhmm, ok. if you are including the u-edit-of the specific version of the page (as it says in your spec), then i guess the diff is redundant anyway
#tantekwell, they're hypothetically isomorphic (diff vs. full), however I'm preferring the quickest path to implementation, following what's already been implemented (editing / accepting full versions)
#tantekI'm assuming it's straightforward to code the transform of parsing an h-entry with p-content of the full version into the same result as a receiving and handling a form submission with the full version
#tantekso I could post one of these edits as a "note" reply to a version of a page on indiewebcamp like *now*, and send a webmention, except it wouldn't do anything
#tantekI wonder if that would be useful as a test case?
#tantekI suppose it would depend on level of interest in anyone here adding the code to IndieWebCamp.com's webmention handler to process a mention from an edit post
#tantekaaronpk - how interested in this would you be?
#KartikPrabhutantek: yes iirc I had toruble with your post permalinks too
#tanteksooo - should I fix this now? or leave it as a test case for you to fix your code on yourside too?
#KartikPrabhutantek: upto you. that shimmy I wrote works even if you fix it :)
#tantek(it is part of the HTML5 spec - that is, what I'm doing is ok)
#tantek(though I'd rather serve it consistently header vs. meta)
#KartikPrabhuit seems requests does not read the meta tag... and so default guess is ISO...., if header has no charset. But then BS4 reads the meta tag anyway ;)
#kylewm"Many web servers supply incorrect Content-Type header fields with their HTTP responses. ... must consider the content of HTTP responses as well ..."
#kylewmwondering if we should file an issue on python-requests
#KartikPrabhukylewm: I think requests does its best without sniffing the content... which they give ample warning about on their "quickstart" page
#KartikPrabhuso I feel it is upto the users of requests to get it right
#kylewmlooks like since May 15, though i lost them for a while when i changed styles
#tantek.comedited /repost (+174) "/* Kyle Mahan */ note repost of an indieweb post as well as POSSE native retweet of the respective POSSE tweet" (view diff)
#tanteknicely done with your (presumably automatic) POSSE native retweet of a POSSE tewet!