swaldman: A cute fluffy sheep curled up dreaming of Dreamwidth. Labelled "Simon: Bodger". (dw-dev)
Simon ([personal profile] swaldman) wrote in [site community profile] dw_dev2016-02-23 10:33 pm

Question about quick reply

Hi all,

Testing on my 'hack with a journal in the Abstractia base style, I notice what seems to be an inconsistency:

* If I hit "reply" on an entry, the quickreply box appears, and when I hit "post comment" the comment is posted through AJAXy magic, handled by LJ::Protocol::addcomment.

BUT

* If I hit "reply" on a comment, the quickreply box still appears, but when I hit "post comment" the comment is posted via a page load and talkpost_do.bml.

Is this what's meant to happen? Why the distinction? *how* the distinction? I am confused ;-)

azurelunatic: Vivid pink Alaskan wild rose. (Default)

[personal profile] azurelunatic 2016-02-23 11:06 pm (UTC)(link)
I have a wild-ass guess, but I'm also delighted to hear from someone who actually knows.

My wild-ass guess is that the cleanup moving things in the direction of LJ::Protocol::addcomment was incomplete, possibly because "oh it's all quickreply unless you load the reply page separately, right?"

talkpost_do.bml is the ancient method, since the days of Brad in his dorm room, adding comments so he could tell someone that they were Wrong on the Internet.
denise: Image: Me, facing away from camera, on top of the Castel Sant'Angelo in Rome (Default)

[staff profile] denise 2016-02-24 02:38 am (UTC)(link)
I'm pretty sure that's the case, yeah. There might have been a reason for keeping talkpost_do around ... maybe it was for people with JS off as a fallback?