Links in comments get mangled when requesting an edit by a moderator.

Avatar
  • updated
  • Under review

Hi Daniel,


This is a bit involved, so bear with me. I have to give a little background info here first. The "edit comment" feature where I can fix my own typos within 15 minutes after submitting a comment is fantastic. I am prone to typos so I use this thing all the time. 


The "edit comment" feature does a great job even with comments containing links. As you are aware, hyperlinks in comments are turned into tiny URLs when the comment is submitted. The "edit comment" feature undoes the tiny URL and restores the full link when editing a comment. The link is then turned back into a tiny URL when the fixed comment is resubmitted. This allows me to fix words, sentences or entire paragraphs during the 15 minute grace period. Links are never mangled because tiny URLs are undone and redone seamlessly by "edit comment".


Unfortunately everything changes after the 15 minute grace period. At that point I must request a moderated edit to fix a typo. I understand the reason for requiring a moderator and have no issue with that. But there seems to be a problem with comments containing links. When I request a moderated edit for a comment containing a link, that link inevitably gets mangled. Most of time I simply want to fix a word or sentence and don't want any change to occur with the link. When I submit the edit request, the moderator faithfully fixes the word or sentence but all links are broken in the process. 


I'm not sure why this happens. Perhaps the editing tools used by moderators are not as versatile as the "edit comment" feature available during the 15 minute grace period. Maybe the tiny URLs are not properly undone prior to editing and properly turned back into tiny URLs afterwards. Maybe the links remain tiny URLs during the edit and then get hashed again into bogus tiny URLs. Maybe there is a character set incompatibility across disparate systems that screws up the rehashing of links. Don't really know for sure about the details, but the bottom line is those links get totally hosed by the moderated edit.


Submitting a plea of caution along with fully expanded references of all URLs will sometimes yield good results. But expanding the URLs and noting their placement in the comment is laborious and unrelated to the actual edit request. Most of the time only a word or a sentence requires correction and the links just need to be preserved. 


The additional complexity of specifying expanded URLs and their placement within the comment is unsatisfactory. Many times the request for caution goes unheeded. Words and sentences are properly edited but the links get broken anyways. Other times the links are preserved but the formatting gets messed up. I'm a bit of a stickler for details. Paragraphs should be properly delineated and each link should occupy a separate line. My use of linefeed is deliberate and not random. I also like double dashes and a space to precede links. Often times a short phrase in parenthesis immediately follows a link on the same line to describe it. Clarity of presentation goes hand in hand with clarity of thought.


All this stuff goes out the window if I request an edit of any comment containing a link. For a concrete example consider the comment linked below.


-- https://seekingalpha.com/article/4105564-massive-capital-needs-cause-fuelcell-energys-turn-toxic-financing#comment-76369037 (This comment has a typo)


This comment was submitted a few days ago by me. I discovered a typo after the 15 minute grace period and have been weighing the risks of having it fixed by a moderator. The typo is minor except for the fact the comment contains two links. The links are preceded by double dashes and space, followed by descriptions in parenthesis, and occupy deliberately chosen positions between paragraphs. In short, this is a moderated edit request minefield just waiting to get screwed up.


All I want done to this comment is have the word "buys" replaced by the word "picks". The edit is technically trivial but contextually important. Cummins picked Ceres for a partnership, they didn't buy Ceres. My phrase next to the link needs fixing. Everything else in the comment is fine and should remain unchanged.


I was about ready to write off this regrettable typo. But then I thought about the great job you did fixing a problem I reported on September 19th. Maybe you can help me again.


At a minimum, please fix my comment typo as requested. More generally, it would be great if you could find out why links get broken by moderated edits and fix that problem. Moderators should be able to fix typos as effortlessly and flawlessly as I can via "edit comment". That seems like a reasonable capability for moderators.


Appreciate your consideration in this matter. Let me know. Thanks.
Avatar
stocks for profit

Daniel, after posting my feedback I noticed something interesting. The link within my feedback was not hashed into a tiny URL. It remains a full URL. That is quite different from what happens if the same link had been put into a comment. The link in a comment would have been turned into a tiny URL rather than left in full URL form.


The fact that links in comments and feedback posts are processed differently is potentially problematic. At the very least it reveals inconsistent handling of links across various user interfaces. Maybe a similar anomaly is affecting moderators when editing comments containing links. 


Hopefully this is a clue that helps you track down the problem. Just a thought.


P.S. - The term "tiny URL" in all my posts is meant in a generic sense regarding short URLs.

Avatar
anonymous
  • Under review

Hi,


Thanks for the detailed report. We will look into it. The reason the links work differently in this feedback interface is because it's using a 3rd party tool (good catch!)

Avatar
stocks for profit

It's been a week since this problem was reported. Don't want it falling off the radar. Has anyone been assigned to look into it yet? What's the status? Appreciate an update on the situation. Thanks.


Comments from the SA community provide valuable supplemental info to articles. Moderated edits should be straightforward even if comments contain links. Right now that is not the case. Please fix this problem.


Vote the topic up if you want this bug fixed.  The squeaky wheel gets the oil.

Avatar

Thanks for the reminder, 


We are somewhat short-handed this week but are continuing to look into this issue and will post here when it has been resolved.


Best,

Avatar
stocks for profit

Around December 22 I noticed the "Edit/Delete" link at the bottom of all my old comments became "Edit Comment". The mysterious condition persisted for days. This miracle allowed me to fix several of my erroneous old comments with links, including the one mentioned in my original request at the top of this thread. Personal time constraints prevented me from implementing an exhaustive search to fix all my previous typos. Also the multi-day duration gave me the illusion of more time to pursue this issue in a leisurely manner.


Alas, the "Edit Comment" link seems to have disappeared today becoming the old "Edit/Delete" link again. Those heady few days where I could fix errors are gone. Making future comments containing links is once again stressful. The peril of undetected errors beyond the 15 minute grace period looms. Wings are clipped once more.


While I'm pleased to have fixed some previous comment errors, my original request for a general fix still remains preferred and unfulfilled. Still hoping for an eventual fix, but I understand your resources are limited and prioritized.


Maybe that "Edit Comment" miracle can periodically reappear to ameliorate accumulated errors. 

Avatar
anonymous
Quote from stocks for profit

Around December 22 I noticed the "Edit/Delete" link at the bottom of all my old comments became "Edit Comment". The mysterious condition persisted for days. This miracle allowed me to fix several of my erroneous old comments with links, including the one mentioned in my original request at the top of this thread. Personal time constraints prevented me from implementing an exhaustive search to fix all my previous typos. Also the multi-day duration gave me the illusion of more time to pursue this issue in a leisurely manner.


Alas, the "Edit Comment" link seems to have disappeared today becoming the old "Edit/Delete" link again. Those heady few days where I could fix errors are gone. Making future comments containing links is once again stressful. The peril of undetected errors beyond the 15 minute grace period looms. Wings are clipped once more.


While I'm pleased to have fixed some previous comment errors, my original request for a general fix still remains preferred and unfulfilled. Still hoping for an eventual fix, but I understand your resources are limited and prioritized.


Maybe that "Edit Comment" miracle can periodically reappear to ameliorate accumulated errors. 

Hi There,


Thanks again for your detailed and thoughtful feedback. The "Edit Comment" was a holiday miracle! Seriously, it was a bug on our end which we fixed today. We can't allow users to edit their own comments without our moderation team's overview as it would allow for revisionist history.


All the best,

Daniel

Avatar
stocks for profit
Quote from anonymous

Hi There,


Thanks again for your detailed and thoughtful feedback. The "Edit Comment" was a holiday miracle! Seriously, it was a bug on our end which we fixed today. We can't allow users to edit their own comments without our moderation team's overview as it would allow for revisionist history.


All the best,

Daniel

I hear you! Hope you had a wonderful holiday and got some time off. Thanks.

Avatar
Ledlights

The original problem description by @stocks for profit mentions that our tinyURL links are handled correctly when we edit comments. That was not my experience today. I edited one of my comments several times that includes a links several times and each time I submitted my edit, my link no longer worked and I had to reedit my comment and insert the original URL again in order for the link to be intact and work correctly....

Avatar
stocks for profit
Quote from Ledlights

The original problem description by @stocks for profit mentions that our tinyURL links are handled correctly when we edit comments. That was not my experience today. I edited one of my comments several times that includes a links several times and each time I submitted my edit, my link no longer worked and I had to reedit my comment and insert the original URL again in order for the link to be intact and work correctly....

Hi Ledlights


I noticed new anomalies this morning while re-editing one of my comments during the 15 minute grace period. The comment today appeared fine when posted, but I wanted to add some additional info. When I clicked "Edit Comment" weird stuff appeared in the edit box. Apparently the new mangling occurs when the posted comment is put back into the edit box. This new mangling is somewhat different than the mangling originally described. The original mangling noted at the top of this thread seems to occur when reposting an edited comment. It's all mangling, but each type manifests itself differently.


There was what looked like markup text placed before my three links. In the posted comment I had also successfully used => several times to denote numerical results for some calculations. The > was converted to gibberish when I attempted the re-edit. It was a mess. I fixed my links and removed the other garbage. I decided to omit the problematic > and used only the = symbol. My comment was fine then, but I didn't dare edit it again. Once burned twice shy. Plus my grace period was almost over.


Maybe the markup processor for comments went temporarily insane. Made some more comments this afternoon and they were fine. But they didn't contain any links or >. I'll post additional info here if stuff like this happens again.

Avatar
anonymous

Hi All,


Can you please direct me to a comment where this happened so we can check?


Are you able to reproduce the issue?