Old url markup not migrated to new forum

I found some *) of my older posts with URL marked with old url markup which are not represented correctly

RFID Reader - Hilfe benötigt - International / Deutsch - Arduino Forum

LiquidCrystal_MCP23017_I2C - International / Deutsch - Arduino Forum

post 2
ESP8266WebServer clear header - International / Deutsch - Arduino Forum

Is there any change (beside manual work) to let them corrected?

*) google says 840 hits...

You will have to MANUALLY change some things.

Depends if "SYSTEM" was involved :wink:

Thanks for your report @noiasca. I am able to reproduce it on try.discourse.org as well, which shows it is a bug in the Discourse forum framework rather than specific to the configuration of the Arduino Forum instance.

I submitted a report to the Discourse developers:

1 Like

... and we already have an acknowledgement from the co-founder of Discourse:

The Discourse developers have fixed the BBCode url tag bug and Arduino Forum has been updated to the version of Discourse that contains that fix.

I did some searching around the forum for other incorrectly handled BBCode url tags. Most of what I found was invalid BBCode markup caused by a typo made when the user wrote the post, which would not have been rendered correctly even in the days when the forum was using the SMF framework.

If anyone spots any valid BBCode url tags that are not correctly rendered, just give me the link to the post, either in a reply here or by raising a "Something Else" flag on the post (with an explanation of the reason for the flag).

3 Likes

I just got a badge notification for a broken link:

Thanks for the report! I triggered a rebuild of the post and the forum software was able to render the markup correctly now.

1 Like

again broken links / wrong rendering:

Thanks for the report! I triggered a rebuild of the posts and the forum software was able to render the markup correctly now.

Thank you.
I only recognize them when I get a badge notification. Is there any change to let that magic run on all posts with links?

I think it is possible by doing a "rebake" of all the posts that contain a pattern like [/url] that were created before the migration to Discourse in spring of 2021:

I'm a bit nervous about requesting something like that because it has the potential to affect a huge number of posts. This is why so far I took the approach of searching the forum for posts that contain incorrectly rendered BBCode url tags and rebuilding only those specific posts. I was hampered in my search because I found I had to sift through a large number of results that are caused by humans fumbling the markup in their posts, which would never have been rendered correctly even with the old SMF forum framework. Things like this:

[urlhttp://example.com[/url]

(note the missing closing bracket on the opening tag)

Since you are still finding more of these posts I guess I missed a significant number of posts during my search.

Maybe @dax1 has advice for us on the feasibility and advisability of a rebake operation?

1 Like

Found a few on my posts too but am manually re-building a lot of the posts to reflect changes.
Keep a spreadsheet for them so I can check quickly and not have to bother going through mods.

Post.where("raw LIKE '%urlhttp%'").count
=> 70

It seems that there are only 70 posts with the wrong syntax. I would rule out a complete rebake that would take weeks to complete. In the next few days I'll create a script to rebake only those 70 posts

I might appear selfish, but I'm more concerned regarding my posts with correct markup but incorrect rendering.

with .htm or with link on a folder, both variants are broken:

Thanks @dax1!

That is what we are all concerned with. I only mentioned the posts with the incorrect markup because they interfered with my attempt to search for the posts with incorrectly rendered correct markup to manually rebuild each individually.

Thanks for the report! I triggered a rebuild of the post and the forum software was able to render the markup correctly now.

I just see in my google dashboard invalid pages (404) in the index:

https://werner.rothschopf.net/202011_arduino_esp8266_ntp_en.htm[/url]
https://werner.rothschopf.net/201909_arduino_ht16k33.htm[/url]
https://werner.rothschopf.net/microcontroller/202112_noiasca_smartmeter.htm[/url]
https://werner.rothschopf.net/microcontroller/202112_arduino_esp_ntp_rtc_en.htm[/url]
https://werner.rothschopf.net/202006_lora_radio_node_v1.htm[/url]
https://werner.rothschopf.net/201809_arduino_esp8266_server_client_0.htm[/url]
https://werner.rothschopf.net/microcontroller/202109_millis_led_sequence_en.htm[/url]
https://werner.rothschopf.net/202005_arduino_neopixel_display_en.htm[/url]
https://werner.rothschopf.net/microcontroller/202112_arduino_modbus_server.htm[/url]
https://werner.rothschopf.net/202003_arduino_buzzer_fsm.htm[/url]
https://werner.rothschopf.net/201809_arduino_esp8266_server_client_2.htm[/url]

based on the trailing /url I suspect that these backlinks are coming from arduino.cc
Is there any chance that one can find the broken posts? Unfortunately I don't have access to my webserver error log to see the referring pages currently.

I was able to find quite a few posts by searching the forum for these URLs. I triggered a rebuild of each of those posts and the forum software was able to render the markup correctly now.

1 Like

I still come around of these posts with malformed URLs:

Thanks for the report! I triggered a rebuild of the post and the forum software was able to render the markup correctly now.

I still get notifications ("Earned 'Popular Links'") with wrong parsed URL...

today's example I would like to report, because I really think this should be solved for ALL links,

1 Like